Login Script to automatically connect to your Asianet Dataline Internet connection
https://www.zyxware.com/sites/default/files/styles/user_image/public/pictures/Z_ribbon.png?itok=va3zzVQA
BY webmaster
9 years ago
Internet
15
comments comment

Asianet Dataline is an ISP in Kerala and they use a web browser based authentication system to log the user onto their network. One of their most popular plans the - Homenet 475 offers free unlimited downloads from 2AM to 8AM. Now if there was a way to turn on your system at 2AM, automatically login to Asianet and turn your download manager on and then shutdown at 8AM it would have been perfect. The only problem is that the http based authentication system makes it a bit unwieldy to automate. Well not really :-). We have created a bash script to automate this login process.

Features

- Automatically connect to Asianet Dataline without having to sign in via the browser.
- In startup and free mode the script will keep the connection alive.
- The script will automatically reconnect if connection breaks because of a power failure or a line problem.
- In free mode the script will call any related startup and shutdown scripts placed inside the ~/.auto-login/startup and ~/.auto-login/shutdown folders.

Setup Instructions

a) Copy script to your favorite scripts folder.
b) Edit script to update username and password with your Asianet login information.
c) Add script to your startup process. See different ways of using the script below to know more.
d) If you want to start and stop other applications at the time of starting the script then create a folder ~/.auto-login and inside that create sub-folders startup and shutdown. Place other scripts that have to be called during startup and shutdown of this script into the respective folders. Make sure that these scripts have their executable bit set.

Different ways of using the script

1) Add a shortcut to your task bar to launch the script with the parameter "auto". Use this shortcut to start the connection with one click and stop the connection with one click. Remember that the connection will time out if there is no activity. But that should not be a problem because you can connect again with a single click.
2) Add the script to your startup process with parameter "startup". This will keep the script running in the background and the script will keep the connection alive with keep-alive requests.
3) Add the script to your startup process with parameter "free". This will keep the script running in the background and the script will connect only during the free download hours and then it will keep the connection alive with keep-alive requests until the free time ends. When free time ends it will disconnect the connection. In this mode the script will also run any related startup and shutdown scripts placed inside the ~/.auto-login/startup and ~/.auto-login/shutdown folders.

The script is available at http://www.zyxware.com/software/utilities/asianet-auto-login.v.1.0.tar…
The latest source can be downloaded from http://github.com/anoopjohn/Asianet-Auto-Login-Script

If there are issues with the script please use the github issue queue at http://github.com/anoopjohn/Asianet-Auto-Login-Script/issues


RELATED ARTICLE

close

on 24th December 2007 / by webmaster
Blogger/Blogspot allows its users to edit the complete layout of the blog page through its 'edit template' feature. This gives the blogger full control over the layout of their pages and gives the kind of flexibility that you can get from any custom systems. The default blogger templates do not give links for social bookmarking from the blog pages. In this article we explain how to add social bookmarking links and buttons in your blogspot/blogger blog. Web Development Internet Blogging Social Networking Leave a reply Your email address will not be published. Required fields are marker * Syncaccorne (not verified) access_time 17 Jul 2019 - 11:08 In actual fact very good site...successes are in advancement Miller (not verified) access_time 17 Jul 2019 - 11:08 The above article is very interesting and nice.Thanks to this site. =================== Miller Social Bookmarking Asker Akbar (not verified) access_time 17 Jul 2019 - 11:08 Everything completely worked. but i only like to show those icons on the full post page (like in bloggerBuster.com,Smashingmagazine.com etc) please help me i tried everything i know please .you need to help me if you help me now.i will give you something to you in future. please help me TauctDara (not verified) access_time 17 Jul 2019 - 11:08 Your are Great. And so is your site! Awesome content. Good job guys! Interesting article, adding it to my favourites! webmaster access_time 17 Jul 2019 - 11:08 In reply to TauctDara by TauctDara (not verified) Thank you for your kind words. If you find our site useful please do recommend it through your site or blog. Any suggestions are much appreciated. Cheers Team Zyxware Pagination Current page 1 Page 2 Page 3 Next page Next › Last page Last » Add new comment
more_horiz
close

on 12th February 2008 / by webmaster
We had never had to configure an Airtel GPRS internet connection on a Laptop with Ubuntu before as we never had a customer who had one such connection. We however got an opportunity last day when we installed ubuntu on a compaq presario F733AU laptop. Setting up internet access on Ubuntu is easy in itself and setting up GPRS could not have been any easier. The customer had a Nokia 9300 communicator with a USB datacable. Ubuntu Internet Leave a reply Your email address will not be published. Required fields are marker * RAMNATH BAITHA (not verified) access_time 17 Jul 2019 - 11:08 dear all, we already configured according to given guidelines but when i dial wvdial an error comes again n again in ppp0 interface (error no.16) n connection terminated. [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+CGDCONT=1,"IP","airtelgprs.com" Modem Type = USB Modem Baud = 460800 New PPPD = yes Modem = /dev/ttyACM0 ISDN = 0 Phone = *99***1# Password = airtel Username = airtel Stupid Mode = 1 Anonymous (not verified) access_time 17 Jul 2019 - 11:08 Bus 002 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter Step 2. Load Bluetooth Drivers You'll need to install Bluetooth utilities for Ubuntu. To install the Bluetooth utilities, sudo apt-get install bluez-utils Step 3. Detect the phone Now, try to detect the phone from Ubuntu. First, turn on Bluetooth services on the cellphone. On a Nokia, follow the following sequence: Menu->Settings->Connectivity->Bluetooth. Turn on Bluetooth and make sure the the visibility is Shown to all. Then, run hcitool scan. Sample output is: Scanning ... 00:17:B0:B4:52:C8 Nokia6233 The six octet number (00:17:B0:B4:52:C8) is my cellphone's unique ID. Yours will be different. Step 4. Change hcid.conf security option You'll have to change the default Bluetooth configuration of Ubuntu, specifically the section pertaining to security. Ordinarily, you shouldn't need to go through this step if the security configuration was set properly. (I speak for the case of Edgy; this may change in future versions.) Edit /etc/bluetooth/hcid.conf (you will need to go sudo for this). Change the line: security user; to security auto; and restart Bluetooth services by running sudo /etc/init.d/bluetooth restart. By the way, hcid stands for Bluetooth Host Controller Interface demon. /etc/bluetooth/hcid.conf contains all the options needed by the daemon. It consists of sections and parameters for pairing, security, and others. Step 5. Pair the phone Finally, the pairing! Go back to the Bluetooth menu of your cellphone and activate the pairing. On the Nokia 6233, the sequence is Menu->Settings->Connectivity->Bluetooth->Paired Devices. Click on New. The phone will then search for Devices, after which the hostname of your Ubuntu machine should appear. Select Pair. You will be prompted for a passcode. The passcode number is as given in /etc/bluetooth/hcid.conf. The default is 1234. You will have the option to let the computer connect automatically to the phone. Choose "Yes" if this will a more or less permanent connection; choose "No" if this is only temporary or if you want the security of confirmation. And you're all set! Sateesh Potturu (not verified) access_time 17 Jul 2019 - 11:08 Hello, Thank you. It worked without any trouble. Thanks, Sateesh jonlinej (not verified) access_time 17 Jul 2019 - 11:08 I would like to say thank you to author of these articles on this site. I read all of these articles and i need to read some new articles. Vivek_ninjas (not verified) access_time 17 Jul 2019 - 11:08 hey when i type wvdial and press enter then it will -->Sending: ATDT*99***# -->Waiting for carrier. -->Timed out while dialing. Trying Again. can any one help me out of this... I am using Nokia E72 ... also the latest version of ubuntu (Ubuntu 11.04 [Natty Narwhal]) The verson of ubuntu has a Mobile Broadband connetion in networks... can any one help me to et the details for Airtel Mobile office in it.... Please Help me to connect to Internet via mobile broadband or wvdial... Pleaseee... Pagination Current page 1 Page 2 Page 3 Next page Next › Last page Last » Add new comment
close

on 13th February 2008 / by webmaster
What is the easiest way to convert ideas into money? Sure there is no short-cut way and you still have to put in a lot of effort but making money on Afternic is reasonably easy and straightforward. If you have a creative flair and have some money that you can safely spare then Afternic is for you. For those of you who have not heard of Afternic, it is the online system where you can sell your domain names for the highest bidder. Entrepreneurship Internet Domain Registration Leave a reply Your email address will not be published. Required fields are marker * mohammed ramzan (not verified) access_time 17 Jul 2019 - 06:06 i need yours easy money making information webmaster access_time 17 Jul 2019 - 06:06 In reply to i need business information by mohammed ramzan (not verified) Check out http://domains.zyxware.co.in and find domain-names that you think might be worth buying and then buy those domains and offer those for sale on Afternic :-) Pacman (not verified) access_time 17 Jul 2019 - 06:06 i have heard that the next big thing is gonna be the .ws domain extension (website) formerly western samoa. Do you know if there is any truth in that? InvestInIndia (not verified) access_time 17 Jul 2019 - 06:06 Good article. Add new comment
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image

Thank you very much for this. Works great.

Btw I had to add a --no-check-certificate option in the following line for it get the login URL. :)

asianet_conn_url=`wget --quiet --no-check-certificate -O - www.zyxware.com|grep 'action='|sed 's/\(.*action="\)\(.*\)">/\2/g'`



author-image
JITHIN (not verified)
access_time 17 Jul 2019 - 11:08

In reply to by webmaster

Sir,
Where is this "Favorite Scripts Folder"
How Can I Copy A Script ie In Text Form To A Folde?
Is Favorite Script Folder an attachment Of Internet Explorer Browser ?
Please Tell Me About "START UP PROCESS"
Can You Plese Explain What Should I Do Step By Step Considering Me As A Beginer.


author-image
Jimmy (not verified)
access_time 17 Jul 2019 - 11:08

Hi,
I see the script. Can I use this script in Windows? If yes, please tell me the complete procedure to use this script in windows using the browser IE.

Thanks

Jimmy


author-image
Anonymous (not verified)
access_time 17 Jul 2019 - 11:08

Thank you very much for this. Works great.
But I cant logout after use