STEP 1:
First check whether wvdial is installed
$whereis wvdialIf it returns something like
wvdial: /usr/bin/wvdial /usr/share/man/man1/wvdial.1.gzthen you have wvdial installed. If not install wvdial
$yum install wvdial (need to be super user)
STEP 2:
Configure wvdial
$wvdialconfAfter the configuration /etc/wvdial.conf will be created. Then open this file a text editor and replace the whole text with
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","airtellive","",0,0
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = yes
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = a
Username = a
[Modem0]
Init3 = ATM0
SetVolume = 0
Modem = /dev/ttyACM0
Dial Command = ATDT
Baud = 460800
FlowControl = NOFLOW
Init1 = ATZ
Try replacing the text in Init 1 as follows for the following service providers
Dialog Postpaid: AT+CGDCONT=1,"IP","www.dialogsl.com",,0,0
Dialog Prepaid: AT+CGDCONT=1,"IP","ppinternet",,0,0
Mobitel: AT+ CGDCONT=1,”IP”,”mobitel3g”
STEP 3:
Open /etc/resolve.conf from a text editor and append the following line
nameserver 4.2.2.2
STEP 4:
As super user issue
$wvdialYour done !
Fireup firefox and start surfing, don't forget to clear the tick on "work offline" in ff ;-)
STEP 5:
yeah termination. Press Ctrl+c in the terminal where you issued wvdial
Sources:
http://www.brantel.lk/
http://tuxomaniac.wordpress.com/2007/12/20/airtel-gprs-on-linux-with-nokia-phone/
0 comments:
Post a Comment