Login Script to automatically connect to your Asianet Dataline Internet connection
BY webmaster
9 years ago
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.


- 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



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. As with any systems that are flexible the template system is reasonably complicated. To be more precise it is complicated for the uninitiated. But don't worry we will explain in detail how to add the social bookmarking links to your blog. Log in to your Blogger Account and go to your Blogger Dashboard. Then click on the Manage: Layout link. This will take you to the template management page. Click on the edit HTML Link. This will open the your template for editing. Before you start editing, download a copy of your template by clicking on the 'Download full template' link in the page. Once that is done, click on the Expand Widget Templates checkbox on top of the edit text box. This will expand all the widget sections in the template. Now you are ready for editing. Search for <b:include data='post' name='postQuickEdit'/> in the text area. Just below this there is a closing </span> tag. Add the following lines of code after this tage and before the next closing </p> tag; <!-- Add to favorites section --> <br/> <span class='post-icons'> Bookmark: <a expr:href='"http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Google Bookmarks'><img alt='Add To Google Bookmarks' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/google.gif'/></a><a expr:href='"http://myweb2.search.yahoo.com/myresults/bookmarklet?u=" + data:post.url + "&t=" + data:post.title' target='_blank' title='Add To Yahoo MyWeb'><img alt='Add To Yahoo MyWeb' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/yahoo.gif'/></a><a expr:href='"https://favorites.live.com/quickadd.aspx?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Windows Live'><img alt='Add To Windows Live' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/live.gif'/></a><a expr:href='"http://slashdot.org/bookmark.pl?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Slashdot'><img alt='Add To Slashdot' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/slashdot.gif'/></a><a expr:href='"http://www.stumbleupon.com/refer.php?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Stumble This'><img alt='Stumble This' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/stumble.gif'/></a><a expr:href='"http://www.technorati.com/faves?add=" + data:post.url' target='_blank' title='Fav This With Technorati'><img alt='Fav This With Technorati' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/technorati.gif'/></a><a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Del.icio.us'><img alt='Add To Del.icio.us' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/delicious.gif'/></a><a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Digg This'><img alt='Digg This' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/digg.gif'/></a><a expr:href='"http://www.bloglines.com/sub/" + data:post.url' target='_blank' title='Add To Bloglines'><img alt='Add To Bloglines' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/bloglines.gif'/></a><a expr:href='"http://mystuff.ask.com/mysearch/QuickWebSave?v=1.2&t=webpages&url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Ask'><img alt='Add To Ask' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/ask.gif'/></a><a expr:href='"http://furl.net/storeIt.jsp?u=" + data:post.url + "&t=" + data:post.title' target='_blank' title='Add To Furl'><img alt='Add To Furl' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/furl.gif'/></a><a expr:href='"http://reddit.com/submit?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Reddit'><img alt='Add To Reddit' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/reddit.gif'/></a><a expr:href='"http://www.newsvine.com/_wine/save?u=" + data:post.url + "&h=" + data:post.title' target='_blank' title='Add To Newsvine'><img alt='Add To Newsvine' border='0' class='icon-action' src='http://www.zyxware.com/images/icons/newsvine.gif'/></a></span> This will add bookmarking links for Google Reader, Yahoo Bookmarks, Live Bookmarks, Slashdot, Stumbleupon, Technorati, Delicious, Digg, Bloglines, Ask, Furl, Reddit and Newsvine. You can also decide to select a few of the above and remove the others in which case you have to delete the corresponding anchor and image tags from the above code. Please note that there are no spaces between the icons and hence the code is a very long line. Once this is done you can save your template and this process will check for any xml formatting errors you could possibly have created. Blogger template should be valid xml and if you have made any mistakes it will let you know. If you did make any mistake it would be easier to restore your saved backup and then redo the editing. Once you have successfully saved the template your blog will have social bookmarking links below every post. You can check out this blog to see how this would look on your blog. If you have any questions do post us a comment and we can try to help you out with your issue. 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 27 May 2019 - 12:19 In actual fact very good site...successes are in advancement Miller (not verified) access_time 27 May 2019 - 12:19 The above article is very interesting and nice.Thanks to this site. =================== Miller Social Bookmarking Asker Akbar (not verified) access_time 27 May 2019 - 12:19 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 27 May 2019 - 12:19 Your are Great. And so is your site! Awesome content. Good job guys! Interesting article, adding it to my favourites! webmaster access_time 27 May 2019 - 12:19 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

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. 1) Plug in the phone to the Laptop via the USB datacable and then identify the vendor ID and product ID of the phone. Run lsusb to get an output similar to the following Bus 001 Device 004: ID 0421:0443 Nokia Mobile Phones Here 0421 is the vendor ID and 0443 is the product ID of the Nokia phone. Your values could be different based on the phone you are connecting. But more often than not the descriptions should help you find the right line corresponding to your code. You will have other lines of output corresponding to other USB devices 2) Now run the command sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0443 Make sure you replace 0421 and 0443 with whatever values you had identified as the vendor ID and the product ID of your phone. 3) Create your wvdial.conf by running the following sudo wvdialconf /etc/wvdial.conf 4) Edit your /etc/wvdial.conf to look similar to the following. You will most probably have to edit only the Phone, Password and Username lines [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 5) Run wvdial and you should be online immediately. You can also configure two shortcuts on the panel to point to wvdial and poff.wvdial to turn on and turn off the connection without opening a terminal window at all. Configuring GPRS internet access using any other phone other than Nokia or any other service provider other than Airtel should follow a similar process (unless of course you run into problems). If you run into problems and you are located near our offices you can drop by and try to get the problem rectified by our experts or if not you can use the comments form below to ask us your questions and we will try to help you in whatever way we can. Reference: http://ubuntuforums.org/archive/index.php/t-257127.html Ubuntu Internet Leave a reply Your email address will not be published. Required fields are marker * RAMNATH BAITHA (not verified) access_time 27 May 2019 - 12:19 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 27 May 2019 - 12:19 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 27 May 2019 - 12:19 Hello, Thank you. It worked without any trouble. Thanks, Sateesh jonlinej (not verified) access_time 27 May 2019 - 12:19 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 27 May 2019 - 12:19 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

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. Afternic.com provides an interesting and very useful service for domain name speculators. If you can think up a good domain name that is not yet registered you can buy the domain name and offer it for sale on Afternic. Although this might lead to what is sometimes known as domain squatting, it is a pretty interesting way to make money for those who have a creative tinge. You can make use of the cheap domain registration rates at Zyxware Domains to buy domains in bulk and offer the domains for sale on Afternic. Afternic charges you 20$ as annual fees for listing your domains. So you will have to have a reasonable number of domains to be able to make efficient use of the overhead. There are three issues that you have to keep in mind when you register domains. The first is about the definition of what is a good domain name that you can sell and get a good profit. The answer to this question is not simple. Some of the key aspects of good domain names are - short, easy to remember, rhyming, combination of short words etc. The best way to get an idea is to go browse through the list of domains that have been sold on Afternic and then figure it out yourself. Browsing through names also will give you new ideas about new domain names that you could possibly register. The second issue that you have to keep in mind is related to the legal and ethical aspects of buying a domain name. Buying a domain name that is a registered trademark of another company with a malicious intent to sell it to the trademark owner is called cyber-squatting or domain-squatting. This is illegal and you can be legally forced to either not be able to do anything with the domain name or give up the domain name to the rightful owner. Even if it was legal we feel that this borders on the definition of unethical business behaviors. The third issue is with the risks associated with such a venture. As with any speculative business there is a definite risk in domain name business also. Given below this article are some of the recent domains that were sold on Afternic. Given that an average domain name costs only around 10 Dollars you can see the percentage of profit that you can make through domain sales. But don't be deceived just by these amounts. You will probably have to invest in a few domain names before you can start selling and even then not all your domain names would be sell-worthy or not all would fetch you similar prices. Doing a little homework can mitigate a lot of risks. Additionally afternic provides you some premium services like affiliate marketing and expanded promotion schemes that can help you highlight your domain name to potential buyers. Yes, these services come at their prices. As a company we condemn cyber-squatting and will not recommend it as a fair way of making money. However you can make money legally and ethically on Afternic by investing in domain names that do not infringe on Trademarks. You can coin your own words, or use word combinations, or use letter combinations to create domain names that could possibly sell for hundreds, thousands or even millions of dollars. Tips to create a good domain name Selling domains is a mature business and there are already around 2 million domain names available for sale on Afternic. http://en.wikipedia.org/wiki/Domain_name has some tips on how to coin good domain names. Listed below you can find some of our recommendations on how to create a good domain name. Most of the words in the dictionary has already been registered. However you could try your hand in registering english-ised words from your local language to register domains that you can sell to your own countrymen. For example the corresponding word for greetings in Malayalam is 'Namaskaram'. The .com domain has already been registered but this should give you an idea. You don't have to restrict yourselves to just the .com, .net or .org TLDs (Top Level Domain names). It is true that these are the domain names that sell like hotcakes but you can also go after third level domain names like .co.in, .co.org etc or after country code extensions like .us, .cc etc. There are also some expensive domain name extensions like .tv and .cc which would have more options available specifically because of their expensive nature. You can also try to create domain names that makes sense only when added to the extension. When you are trying to do this you also have an option of using something other than the typical www as the third level name. One of the more popular examples is del.icio.us. Here the domain name is icio.us and they have added a subdomain del to make a meaningful word delicious. Some of the recent sales on Afternic Given below are some of the recent sales on Afternic at the time of writing this article. You can find more atthe list of recent sales at Afternic.com. The prices, both here as well as on Afternic, are given in US Dollars. julk.com 1099 islamicbanking.net 1088 zult.com 1000 millionairesclub.org 700 greenlightsolutions.com 1450 compease.com 1300 DimmerShop.com 1250 kexu.com 1100 apparelsaver.com 688 funcalendar.com 688 Empleamos.com 600 HotAndCold.com 988 trivid.com 988 snackwizards.com 880 freshcatch.net 788 baconbits.com 3200 lafo.com 2000 frischknecht.com 1500 GoFar.com 13000 USHEALTHCARE.com 3500 gotcredit.com 4800 rolk.com 1500 windpark.com 5000 infinitereturns.com 1300 mddx.com 850 iWidgets.com 25000 DNFM.com 700 eggsoftware.com 5000 actualpolitics.com 500 5Gig.com 500 jetting.com 16500 educationalerts.com 2000 ARTCREATIONS.com 1000 spanish-estates.com 500 SMSBUSTER.com 1000 VO1.com 699 TuitionSolution.com 1250 ChartLyrics.com 900 PhiladelphiaGym.com 2400 sungem.com 950 TopForeclosures.com 765 samsun.net 1000 truthfactory.com 500 sawomenshealth.com 505 soulvault.com 700 DRIRWIN.com 795 isf.info 1260 clonescripts.com 660 CYBER-MONDAY.us 505 COOKABLE.com 1300 DEBTFEES.com 1000 iStore.biz 500 Diif.com 500 BestOfOklahomaCity.com 500 CAVIAREXPRESS.com 1500 nomorecandy.com 500 THEPET.net 750 DRMCCOY.com 795 bldz.com 800 nationalapparel.com 999 CAMPINGCOMPANY.com 560 forex.nr 2000 AFNA.com 750 Newsmaster.net 700 PAPERDIVA.COM 1350 Entrepreneurship Internet Domain Registration Leave a reply Your email address will not be published. Required fields are marker * mohammed ramzan (not verified) access_time 27 May 2019 - 12:19 i need yours easy money making information webmaster access_time 27 May 2019 - 12:19 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 27 May 2019 - 12:19 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 27 May 2019 - 12:19 Good article. Pagination Current page 1 Page 2 Page 3 Next page Next › Last page Last » 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.


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'`

JITHIN (not verified)
access_time 27 May 2019 - 12:19

In reply to by webmaster

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.

Jimmy (not verified)
access_time 27 May 2019 - 12:19

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.



Anonymous (not verified)
access_time 27 May 2019 - 12:19

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