Tuesday, November 03, 2009

Airtel GPRS with E-tel P7 in Fedora 11

Here's how I configured an E-tel P7 phone in Fedora 11 to connect to the internet via GPRS. I was successful with a Sony Ericsson W200i. All I have to do was to create a new mobile broadband connection. But when P7 was connected it was detected as a modem but I couldn't connect to the internet. So I tried with wvdial.

STEP 1:

First check whether wvdial is installed
$whereis wvdial

If it returns something like
wvdial: /usr/bin/wvdial /usr/share/man/man1/wvdial.1.gz

then you have wvdial installed. If not install wvdial
$yum install wvdial (need to be super user)

STEP 2:

Configure wvdial
$wvdialconf

After 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
$wvdial

Your 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