Wednesday 28 October 2009

How to make tata indicom plug to surf run on Ubuntu 9.04

1.First just plug your Tata indicom USB to your Laptop system

2.Then go to Root terminal

You can access it from Applications->System Tools->Root Terminal

3.In the terminal simply enter wvdial

4. If wvdial is not installed please get it installed with dependencies (see my other post related to this)

5.if your modem has been detected you would get a error message like this

Modem intialized

Invalid Phone number

Invalid username

Invaild password

if you get a error message like this then you need to configure wvdial

5.For that go to root terminal and type

sudo gedit /etc/wvdial.conf

wvdial.conf is generally stored in etc folder

Now the file would be opened in geditor

Just cut and copy the below code

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0
ISDN = 0
Modem Type = USB Modem
Phone = #777
Username = internet
Password = internet
stupid mode = 1



and then save it




After saving it go to root terminal and type wvdial

now the modem would connect itself to internet after a series of messages on your root terminal

You would generally get these messages Primary DNS address ,ip,Secondary DNS Address..

There you are.........online.....from linux..........wireless...........priceless too.. :)

How to install missing wvdial in ubuntu 9.04

Wvdial is the most used utility used from linux to configure wireless modems. Unfortunatly it doesnt come preloaded on Ubuntu 9.04.

This note refers to Ubuntu 9.04 running on a PC that has no access to the internet via LAN or WiFi and the modem we have is not recognized by the system (like many 3G CDMA or HSPA modems).
So this is a strange and difficult case!

At first I downloaded the following packages (from a pc connected to the internet, any O.S.):

1. http://packages.ubuntu.com/jaunty/i386/libxplc0.3.13/download
2. http://packages.ubuntu.com/jaunty/i386/libwvstreams4.4-base/download
3. http://packages.ubuntu.com/jaunty/i386/libwvstreams4.4-extras/download
4. http://packages.ubuntu.com/jaunty/i386/libuniconf4.4/download
5. http://packages.ubuntu.com/jaunty/wvdial/download


Note that above are all for an i386 pc.

I down loaded all on my xp OS, and then paste them to the ubuntu 9.04 after mounting my xp drive into /var/cache/apt/archives/ directory using sudo nautilus from terminal. Then I installed all packages by double clicking each icon (of .deb package) in above order (1,2,3,4 and finally 5). I ignored all informative messages. Finally I had to run wvdialconf, edit the /etc/wvdial.conf file and be connected with sudo wvdial.

To see what all entries i gave on wvdialconf to get it configured for tata indicom plug to surf...see my other post.