After Hotwire Internet, my ISP in Delhi, shifted to a new web based login and a good bandwidth management solution, their uptime dramatically improved.
After a while, the web login began to irritate me. I couldnt any more do the first thing I normally do in the morning - stretch my hands out underneath the rajai(warm blanket), grope for the power button, switch on the computer and squirm back into the cozy blanket waiting for the mails to get downloaded by the time I really get out of bed.
I needed an automated CLI login that doesnt require me to login to my account, fire a browser .. and only then login and download my mails. What a waste of quality early morning sleeping time in winter! ![]()
So here is an attempt to save myself from this misery. This is a small script that I wrote today afternoon which will, for now, login and logout from the Hotwire web based login system. I plan to also add functionality in the future to renew the account ( a monthly PITA) and to display a summary of my usage.
Update: I have added the summary feature too. The client now shows you your usage summary in a far more informative manner than hotwire itself! IOW, Usage durations are displayed, instead of just login and logout time.
SYSTEM REQUIREMENTS
Uses Python (standard libs) , works for me on Fedora Core 3, should probably work on other *nix with Python too.
LICENCE
INSTALLATION
- Download the program from the link below, make it executable and put it somewhere in your path e.g.
/usr/local/bin - Create a configuration file in
/etc/hotclient.conf(or~/.hotclientrcif you are going to run it using your id) with the following text:
[HOTWIRE]
server=210.x.xxx.xx
username=yourusername
password=your password
USAGE
- Run the program
hotclientwithout any arguments to see the syntax. - You should now be able to login by using the command
hotclient --loginor justhotclient -i. - You should be able to logout by using the command
hotclient --logoutor justhotclient -o.
DOWNLOAD
Download hotclient (Rev 7 - 2005-01-24 13:28:05 +0530)
Also, a sample configuration file, and a convenient initscript to login automatically on bootup
CONTACT
Please send feedback/brickbats/flowers/fecalgrams to (sandip AT lug - delhi DOT ORG)
Note
This page can also be accessed using the url http://tinyurl.com/6d6fh.







3 responses so far ↓
Akhilesh Singh // January 30, 2005 at 2:30 pm
Hi,
I too had something similer for my Windows based PC. I used a simple html page which would fire
automatically on startup. And would automatically post the form.
But it is hardly useful in my case, as most of the time it is always online as I do not logoff.
Akhilesh
Sandip // February 17, 2005 at 9:17 pm
Well, in my case, Hotwire tends to log me off after a while. And also after certain period of inactivity. I have rarely ever logged off manually. But from time to time I suddenly find the net speed has crawled to a stop. I check and find out that it has logged me off again.
Hitesh // September 9, 2005 at 10:22 pm
Can u please post a code that could be compiled on a windows pc or a executeable that can be used with windows.
HITESH