EDGE/GPRS in Linux

Today me (salahuddin66) and Lavluda successfully configured GPRS/EDGE in Linux.

Using wvdial

to check your mobile/modem as a modem
——————————-
#wvdialconf

it will generate /etc/wvdial.conf file for you.

Grameen Phone
For Grameen Phone your need to add

Init3 = AT+CGDCONT=1,”IP”,”gpinternet”

here is a sample of my /etc/wvdial.conf (Grameen Phone EDGE/GPRS)
————————————————————
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”gpinternet”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = xyz
Password = xyz
Baud = 115200
———————————————————–
wvdialconf will generate the modem speed/Baud and /dev/xyz path according to your mobile phone

Aktel, Teletalk
here is a sample of my /etc/wvdial.conf
————————————————————
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = xyz
Password = xyz
Baud = 115200
———————————————————–
wvdialconf will generate the modem speed/Baud and /dev/xyz path according to your mobile phone

Start
To start type wvdial in shell

Note:
If you have problem while generating wvdial.conf file in /etc/wvdial.conf then delete the old config file /etc/wvdial.conf and give wvdialconf to create a new configuraton file.

if you have any problem to find the /dev path for your mobile/modem, give

# tail -f /var/log/syslog

Then connect the phone/modem.
You can also use gnome-ppp or other ppp tools to connect.

Using gnome-ppp

Give phone number *99***1#

click on the detect. it will try to detect your phone/modem.
note: If it fails then give your /dev path manually. Search for you modem using #tail -f /var/log/syslog then connect the phone/modem.

it found my phone/modem in /dev/ttyUSB0

click Init Strings.
for Aktel, Teletalk and others (you do not need to change anything)

click Init Strings.
add Init3 only if you are using Grameen Phone EDGE/GPRS (only for GP)

after click connect

connected

details view

Note: If you face any problem using this as user. Run gnome-ppp as root
or check you are a member of dip group.

In Debian or Ubuntu based distro give #adduser your_user_name dip if your are not a member.

Leave a Reply

Your email address will not be published.