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..
Posted in Getting started | Tags: airtel on linux, wvdial



