ARUN DAVID P

Archive for September, 2010|Monthly archive page

BSNL GPRS internet in any linux within command line

In Uncategorized on September 29, 2010 at 6:32 pm

In Ubuntu, they are providing a network connection button on gnome panel, through which we can make a mobile broadband connection based on the common gprs in mobiles ( bsnlnet, aircelgprs, airtelgprs.com ) etc. This post is for those who doesn’t have this graphical facility to start a gprs modem connection in linux.

I was using Nokia E63 with BSNL mobile gprs ( bsnlnet ), in ubuntu.
I have done this without using any grphical utility.

Steps:
Install wvdial. ( In ubuntu wvdial package and its dependencies are within the installation cd; check /pool/main/w/wvstreams and /pool/main/w/wvdial )
Now connect the phone to linux using datacable and select pc suite mode in phone.

Edit the /etc/wvdial.conf file.
$sudo gedit /etc/wvdial.conf
replace the content with
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”bsnlnet”,”",0,0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Password = 944*******
Username = 944*******
New PPPD = yes
Stupid Mode = yes
#Auto DNS = yes
give your username and password properly replacing the 944******* in the above text ( you can use your mobile number ) , for aircel, replace bsnlnet with aircelgprs and airtelgprs.com for airtel and save the file

Connect to net. Call the wvdial command
$sudo wvdial

This should connect you to internet, check firefox.

Have a nice time.

Follow

Get every new post delivered to your Inbox.