SuperSify: Alternative Sify Broadband Client

darksoul

Newbie
Messages
14
Location
NA
ISP
Reliance WiMax - pretty good actually!
@darksoul, I assumed 7 seconds should be more than enough for the keep alive test, but I admit I did not put too much thought into it. I can make this configurable, but any particular reason why you would want to increase this time, in your experience could it actually take more than 7 seconds to just establish the connection?


Yup, it has taken longer to establish connections - see, if you're running bandwidth hogging apps like a torrent client etc, sometimes SuperSify doesn't get a response in time because the pipe is choked :) Then reconnecting also could take a little longer because your torrent client or download manager is trying to open multiple connections.

For instance, on my "download mule" PC, it usually takes 2-3 attempts by SuperSify to log in everythime the connection dies. My batch shortcut connection string includes "-a 3600/180" - so the first attempt usually fails, then the second one usually connects after 3 minutes.

This is not a problem in any way, just a quirk that could be played around with when you release the next version with an .ini file etc

Keep up the good work! :thumbsup:
 

ups

Newbie
Messages
4
Location
NA
ISP
sify
Thank you Brian for the excellent work. Special thanks for adding the keepalive support - I just sat down to schedule a cron job to login at hourly intervals, but thought I'd check and found a new version! Have absolutely no idea what kind of morons are running Sify... having fun knocking off users at oddest of times.Just for record, I'm using it on Ubuntu Linux with GNU Java - no need for Sun's java, just have to provide the MAC with -m. It works just fine, only takes a few seconds to connect to the sify server. All good!Also, the account info display is a nice addition, iirc it was there with the old version which i used with wine almost a year back :)
 

darksoul

Newbie
Messages
14
Location
NA
ISP
Reliance WiMax - pretty good actually!
Hi everyone,Supersify's keep alive function seems to have stopped working for me! Let me explain: It used to connect and login, and then reconnect at least 5-6 times a day automatically and everything was working fine.But, three days ago, it stopped reconnecting. As in the "verbose" log would show no activity after it logged in for the first time. Predictably, my connection has been dying after 5-6 hours because of Sify. Am I the only person facing this problem? Is there a way I can debug/track logs/figure out what is happening?I'm back to my "scheduled task" running every 4 hours :(
 

infernalproteus

The Goan
Messages
312
Location
NA
ISP
BSNL 512
ups,Thanks, good to know it works with GNU J as well. I recommend Java 6 only for the mac address auto-detection, otherwise all versions 1.4 and up are just great. Yes, the account display was present in the older version, had forgotten to put it into this one.darksoul,I'll keep the load issues you mentioned in mind, I did not think about that aspect at all.Regarding your current problems, are you still using -a 3600/180? I can't figure out why it would work all this time and just stop, made any changes at all? Sanity check: is SS running at the time? Note that SS checks for ability to connect to google.co.in, can you check if you are able to ping that when you drop "offline"? (in case there is partial connectivity).Thanks!Brian.
 

teamare2006

Newbie
Messages
84
Location
NA
ISP
iTec
I had created the auto login Function On Which You Have To Just Press 1. For Login 2. For Logout
You Just Have To create A New Bat File on the desktop And copy The Following Code (Without The Line) and save it to bat file

--------------------------------------------------------------------------

@echo off
cls

:start
echo.
echo 1. Login :
echo 2. Logout :
set choice=
set /p choice=What To Do.
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto login
if '%choice%'=='2' goto logout
ECHO "%choice%" is not valid please try again
ECHO.
goto start

:login
cd c:\supersify0.9
ss -u ( USERNAME ) -p (PASSWORD)

:logout
cd c:\supersify0.9
ss -l


--------------------------------------------------------------------------
after copying it
you have to copy the supersify 0.9 to C:\ and rename the folder to supersify0.9

Just Replace ( USERNAME ) with Your Username
And (PASSWORD) With Your Password
after that double click the bat file on desktop and press the opton you want
 

darksoul

Newbie
Messages
14
Location
NA
ISP
Reliance WiMax - pretty good actually!
After I noticed that SuperSify wa not reconnecting, I changed the keepalive argument to "-a 300/60". That didn't seem to work either. It just connects once and logs me in, after which it seems to stay dormant.:) Yes, SS is running when the connection drops, and no, google.co.in can't be pinged at the time. Is there a way I can write SS activity to a log file to check what its doing? I mean is it trying to connect to google and somehow succeeding? Or is it not trying to connect at all?
 


mustalinux

Newbie
Messages
3
Location
NA
ISP
Sify
@infernalproteus
Great work! kudos to you for the nice work. Gives us folks a great alternative to the mindless piece of software provided by Sify.

ss is working fine on my Ubunutu 7.10 but I am encountering the following error on my windows laptop.
Code:
java.lang.NoSuchMethodError: org.w3c.dom.Element.getTextContent()Ljava/lang/String;	at com.thegoan.supersify.Util.getText(Util.java:222)	at com.thegoan.supersify.Util.getText(Util.java:215)	at com.thegoan.supersify.SuperSify.parseInitXML(SuperSify.java:260)	at com.thegoan.supersify.SuperSify.coreLogin(SuperSify.java:144)	at com.thegoan.supersify.SuperSify.login(SuperSify.java:198)	at com.thegoan.supersify.SuperSify.start(SuperSify.java:91)	at com.thegoan.supersify.Controller.main(Controller.java:29)Exception in thread "main"
I have Sun's Java version 1.4 on XP.

Working with Sify had been a pain right from the beginning. But after finding out about supersify and getting the wireless router setup, things have been smooth. I connect to sify from my ubuntu laptop via wireless without any problems. XP on the other hand is giving grief. I hope someone can lend a hand.

Thanks!!


Here is the verbose output:
Code:
ss -u xxxxxx -p xxxxxxx -m 00-0D-9D-8C-71-E7 -v 2 SuperSify version 0.9http://thegoan.com/[email protected]: XXXXXXXConnecting to Sify server...Sending>>srcip=192.168.1.1&version=3.22&os=xpReceived
 

infernalproteus

The Goan
Messages
312
Location
NA
ISP
BSNL 512
The quickest solution is to upgrade to Java 1.5 or 1.6 (where you don't need to specify the Mac address). SuperSify should also work on 1.4, but no sense in debugging this particular type of problem unless you cannot upgrade.Hope this helps.