September 20, 2009

Making BSNL EVDO work in Ubuntu

A friend of mine recently told me that she is not using Linux because she can't configure her BSNL EV-DO in her Linux Machine.

See how I resolved the issue (She is using an Ubuntu Machine, so it is obvious that this tutorial is indented for those users with Ubuntu 8.04 or more).

So how do we do it ?

Plug the EV-DO to your USB port and then open your terminal (for those who don't know who to open a terminal, press alt+f2 and type gnome-terminal and press enter).

Type this sudo tail -f /var/log/messages

and you will see something like this in the terminal, if the modem is properly detected.
Sep 20 19:28:14 xxxxxxxxxxx-1510 kernel: [ 2821.869615] option 3-2:1.0: GSM modem (1-port) converter detected
Sep 20 19:28:14 xxxxxxxxxxx-1510 kernel: [ 2821.870366] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
In this case the modem device is attached to ttyUSB0. Once you are done with it, you need to fill up the wvdial.conf file.

Spoiler Warning : sometimes you may not find wvdial.conf in your machine, don't worry you can install it using sudo apt-get install wvdialconf. Now you will be able to find the wvdial.conf in your /etc directory

Please save the below lines to your wvdial.conf file.

[Dialer Defaults]

Dial Command = ATDT
Dial Command = ATDT
Flow Control= Hardware (CRTSCTS)
Username =
Password =
Phone = #777
Stupid Mode = 1

Folks, if you don't know how to access the wvdial.conf, it is located in the /etc folder. You can open the terminal and type sudo gedit /etc/wvdial.conf and save the configurations in the file.

Now we are almost done with the configuration part.

To kick-start your Internet go to terminal and type sudo wvdial and stay connected always :)


shobana said...

Actually i expected this post(modem configuration) from you, but after a long time i am seeing this in your blog very nice most of the people(including me) don't know how to configure Tata Indicom Plug 2 Whiz in ubuntu, so please guide for that also.

NextDoorNerd said...


I dont have a tata indicom plug 2 experiment with.. But i'll certainly write an article as soon as i get one :)

Anonymous said...

hi NDN,
thanks for taking the trouble for writing the post. however i am unable to connect my BSNL EVDO to my ubuntu 9.10 machine. the command doesn't seem to be working...please advise.

Ravi Shakya said...

For getting BSNL EVDO to work in Ubuntu 9.10, plz install wvdial and dependent packages. Thanks

brijith said...

Are you sure it will work in ubuntu 9.10 by installing wvdial for ubuntu 9.10?

In my experience,I could connect EVDO with out typing a single command in console in ubuntu 9.04. I was really excited that time, because in 8.04 I had to configure wvdial as u mentioned above. But When I tried EVDO in ubuntu 9.10 as I did in ubuntu 9.04,I plugged the device and tried to configure it through network manager, it failed. When I google the issue I found that there is a bug already posted regarding this. so I decided to wait for the bug to fix but unfortunate still the bug is not fixed. However I didn't tried the old wvdial method in ubuntu 9.10.

does any one have to tell a success story about connecting EVDO in ubuntu 9.10 ??

VineetD said...

I configured wvdial, and i think it dials + connects correctly. But am not able to browse internet. As in, nothing opens google etc .. though card is working f9, i can browse in windows

Please see the logs ..

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Apr 16 07:01:26 2010
--> Pid of pppd: 2131
--> Using interface ppp0
--> pppd: P[1d]� �!�
--> pppd: P[1d]� �!�
--> pppd: P[1d]� �!�
--> pppd: P[1d]� �!�
--> pppd: P[1d]� �!�
--> pppd: P[1d]� �!�
--> local IP address
--> pppd: P[1d]� �!�
--> remote IP address
--> pppd: P[1d]� �!�
--> primary DNS address
--> pppd: P[1d]� �!�
--> secondary DNS address
--> pppd: P[1d]� �!�