Sunday, March 20, 2011

My first-break through with Linux - Installing Airtel 3G USB Stick

I recently started working on Linux. First step was easy - just bought Dell Vostro with pre-installed Ubuntu 8.04 and in 30 minutes I was using it for all activities like mail, facebook, blogging and google docs.

The real challenge came 2 days back when I bought AirTel 3G USB Stick for accessing Internet on the move. There was no ready-to-run package on the usb stick or any website or any single post/blog saying how to do it.

It took me six hours on sunday and it worked. So here is the details of the problems and the steps taken by me.

1. When I connect USB stick, ubuntu detects it and add two icons in 'computer' as removable hard disk (a 2 GB SD Memory card allow it to be used as pen drive) and CD ROM (which has programs for Windows and Mac to make it plug and play device).

2. Google search told me that 'lsusb' will tell me the usb device created by it. here is what 'lsusb' produced

Bus 002 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.



being a hardware guy I knew that this USB device has vendor id as 12d1 and product id as 1446.

3. Another google search said that  new generation of 3G sticks need a program called usb_modeswitch' to convert usb storgae device to modem.
used following link to download and install

http://blogs.fsfe.org/drdanz/?p=44

I also knew that we need provide target vendor id and product id. This was not in the installed usb_modeswitch. It had lot of different usb sticks but not the huawei E173 sold by AirTel, 

4. Search for E173 usb_modeswitch gave me following command line 

sudo usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x140c -m 0x01 -M "55534243123456780000000000000011060000000000000000000000000000"

trying this command and then modifying etc/usb_modeswitch.conf to include above parameters to make it simpl to type worked.

I tested it by typing wvdialconf 

5. Last step is to create a network connection. In ubuntu, this is done by

SYSTEMS | PREFERENCE | NETWORK CONNECTIONS | Mobile Broadband | Add 

and follow the instructions to create a network connection for AirTel (or any other service provider)

6. Even after you connect to AirTel network, I was not able to browse net as Automatic DNS servers for airtel were not working. Replaced them with OPEN DNS servers - Use 208.67.222.222 and 208.67.220.220

These can be changed using

SYSTEMS | PREFERENCE | NETWORK CONNECTIONS | Mobile Broadband | Select AirTel 3G | Edit 

 





6 comments:

khanabaaz said...

It’s really a nice and helpful piece of info. I’m glad that you just shared this helpful info with us. Please keep us informed like this. Thanks for sharing. ipad mockup

authur said...

After research a number of of the weblog posts on your web site now, and I really like your manner of blogging. I bookmarked it to my bookmark website record and will be checking back soon. Pls try my web site as effectively and let me know what you think. macbook mockup

Unknown said...

Thank you a lot for making this website . I m into gambling niche and have found this website using search on google . Will be sure to share . I am affiliate and have found your site very informational Many thanks , see ya. :S app store mock up

Hetuwa Duminda said...

When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise…. apple watch template

Hetuwa Duminda said...

Woh I love your posts , bookmarked ! My wife and i take issue along with your last point. front end developer

xayv0qz6rw said...

By doing so, you are be} guaranteed that you'll break break even and recoup all of your roulette losses as quickly as you win just one wager. What I am about to explain would possibly sound very boring to those who play roulette for the joys of it. Now it's time to see what you are be} imagined to do {once|as quickly as} your cash is on the table. Once you get extra confident and you have got} a confirmed document of positive results at roulette, this web site features nice excessive curler games that will provide you with|provides you with} the excitement you are be} after. 온라인카지노 The bonus is calculated on your deposits so you'll be able to|you presumably can} just add the money to your account and keep it protected there till the bonus lets you methods to|learn to} win extra typically.