Airtel GPRS on LINUX with Nokia Phone
December 20, 2007
If you have an Airtel connection and GPRS activated(mobile office) and you want to connect to the net just do these steps to connect to the net… (Thanks to max_knr for helping me with this)
1. Install wvdial.
2. Open terminal and type wvdialconf. This searches for the modem and writes a config file to the /etc/wvdial.conf.
3. fire up kate /etc/wvdial.conf and paste the following code replacing the orginal code.
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","airtelgprs.com","",0,0
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = a
Username = a
4. save and exit kate.
5. type wvdial on the terminal to connect to the net.(the following code is obtained)
cyriac@T3rminal0:~$ wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: AT+CGDCONT=1,"IP","airtelgprs.com","",0,0
WvDial Modem<*1>: AT+CGDCONT=1,"IP","airtelgprs.com","",0,0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT*99#
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT*99#
WvDial Modem<*1>: CONNECT
WvDial Modem<*1>: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
WvDial<*1>: Carrier detected. Starting PPP immediately.
WvDial<Notice>: Starting pppd at Wed Dec 19 22:18:53 2007
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 7870
WvDial<*1>: Using interface ppp0
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: local IP address 117.97.47.9
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: remote IP address 10.6.6.6
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: primary DNS address 202.56.250.5
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: secondary DNS address 202.56.250.6
WvDial<*1>: pppd: (�[06][08]��[06][08]
5. to disconnect press Ctrl+c
Caught signal 2: Attempting to exit gracefully...
WvDial<*1>: Terminating on signal 15
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: Connect time 632.4 minutes.
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: pppd: (�[06][08]��[06][08]
WvDial<*1>: Disconnecting at Thu Dec 20 08:51:18 2007
This method is found working on Nokia phones and motorola phones..
Entry Filed under: Getting started. Tags: airtel on linux, wvdial.
15 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed





1.
celpjefscycle | January 12, 2008 at 7:41 am
Thanks for information.
many interesting things
Celpjefscylc
2.
rohit rawal | March 4, 2008 at 11:54 am
Hi,
i am face below mention problem. please help me.
# wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Configuration does not specify a valid phone number.
–> Configuration does not specify a valid login name.
–> Configuration does not specify a valid password.
with regards
Rohit Rawal
3.
cyriacsmail | March 4, 2008 at 2:57 pm
what phone are you using?
4.
coolbuddy200187 | March 8, 2008 at 7:33 pm
remove semicolons
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
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
5.
sriram | June 11, 2008 at 6:27 am
HI,
This was very useful thanks. I was able to connect and get the wvdial working. But I am not able to browse even though the connection is active. Any suggestions?
6.
Sharath B Raju | October 28, 2008 at 4:50 pm
Thanks for the info! For people who still haven’t got it, you can check the ubuntu forums, for detailed information.
7.
Cyriac | November 29, 2008 at 10:25 am
Heard from one of my friends that ubuntu 8.10 detects GPRS phones and all without any of these steps. Yeah had heard that they re wrote the network manager and it is nice to hear that now ubuntu has a mobile suite.. i’m on an 8.04LTS and no GPRS now on phone.. so will put back in comments ones i get hands on 8.10
8.
selva | December 7, 2008 at 2:11 pm
Respected sir,
I am using Fedora 9 and Nokia N72.. i am very new to Linux.. So i cant able to understand many things in this.. I want to connect to the internet by using these devices(Airtel Gprs, Usb connection).. Could u kidly help me sir? (I am very new.. so pls guide me from initial stage) Thank you..My mail is **********@*****.***
9.
selva | December 8, 2008 at 5:09 am
Respected sir,
Install wvdial means what.. whether we have to do any additional task to install this?
And Whether we have to edit the username and password according to ours or not?
10.
Cyriac | December 8, 2008 at 12:13 pm
go to your package manager and look for wvdial.. since you are using fc8 it should be there in yum..
11.
selva | December 9, 2008 at 7:31 am
Hi friend,
Thank you for your kind reply.. I have made the connection successfully..
12.
Punit chowhan | March 26, 2009 at 12:18 pm
I m using nokia 5300, and want 2 use airtelgprs internet connection in linux 10.3. pls suggest.
13.
vivek | June 21, 2009 at 1:43 am
while m trying to connect internet on ubuntu 9.04 using nokia n70 i am getting error as
vivek@vivek-desktop:~$ wvdialconf create
The program ‘wvdialconf’ is currently not installed. You can install it by typing:
sudo apt-get install wvdial
bash: wvdialconf: command not found
vivek@vivek-desktop:~$ sudo apt-get install wvdial
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package wvdial is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package wvdial has no installation candidate
vivek@vivek-desktop:~$
Please help me out….
thanks
14.
Cyriac | June 22, 2009 at 2:16 am
you might need to enable the 3rd party repositories. Go to /etc/apt/sources.list and uncomment them. and try updating the sources and then installing wvdial.
15.
azam-personal | June 23, 2009 at 10:51 am
Regard
I say thank personalbisnis.com from that post in your blog to my information.
Good luck