Monday, July 19, 2010

Internet through GPRS/EDGE enabled handset in Fedora 11/12



Now it's very easy to connect to Internet through your GPRS/EDGE enabled handset. You can use the package 'wvdial' to synchronize your mobile phone with Fedora Laptop/Desktop for the same. Here are the steps.

Firstly, your computer need to detect the modem on your mobile phone. For that, please connect your mobile phone to computer using data cable.

Now you need to enter the following command on a terminal window as root, which will give you some output similar to the one given below.

[root@fedora ~]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.

ttyS1<*1>: ATQ0 V1 E1 -- OK
ttyS1<*1>: ATQ0 V1 E1 Z -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS1<*1>: Modem Identifier: ATI -- 28800
ttyS1<*1>: Speed 2400: AT -- OK
ttyS1<*1>: Speed 4800: AT -- OK
ttyS1<*1>: Speed 9600: AT -- OK
ttyS1<*1>: Speed 19200: AT -- OK
ttyS1<*1>: Speed 38400: AT -- OK
ttyS1<*1>: Speed 57600: AT -- OK
ttyS1<*1>: Speed 115200: AT -- OK
ttyS1<*1>: Max speed is 115200; that should be safe.ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
Port Scan<*1>: S2 S3


Found a modem on /dev/ttyS1.There might be slight differences in the out put lines according to the handset models. However you will get a confirmation that a new modem is detected. Now you will be able to see some entries which are automatically written to the file 
/etc/wvdial.conf
You don't need to edit anything there. What you need to do is to click on the Network Icon on the top right corner of your Fedora Panel, which is near to the date and time.Now you can see the new 'Mobile Broadband Connection' available on the pop up menu. Click on the same. It will ask you to enter the GPRS/EDGE settings of your operator. Please fill in the same and click on Connect. Yes!!! Now you are connected to Internet through your GPRS/EDGE.

No comments:

Post a Comment