Jun 07
2008
2008
GPRS over linux

This is how I configured my laptop to connect to the internet over GPRS. I own a nokia E51 and I used the supplied USB cable to connect it to my laptop.
- On connecting my phone to the laptop via the USB cable, the phone prompts for mode. Pick PC Suite
- Run dmesg | tail to see if your phone has been detected.
pravin@pravin-pc:~$ dmesg |tail [ 7295.313526] usb 1-1: new full speed USB device using uhci_hcd and address 3 [ 7295.539647] usb 1-1: configuration #1 chosen from 1 choice [ 7295.552653] cdc_acm 1-1:1.10: ttyACM0: USB ACM device
- Run wvdialconf as root
- Modify
/etc/wvdial.conf. For MTNL Mumbai GPRS service, mywvdial.conflooks like,wvdial.conf[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB Modem ISDN = 0 Modem = /dev/ttyACM0 Baud = 460800 Phone = *99# Username = mtnl Password = mtnl123
- To connect to GPRS via the phone,
pravin@pravin-pc:~$ sudo wvdial --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT*99# --> Waiting for carrier. ATDT*99# CONNECT ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ --> Carrier detected. Waiting for prompt. ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ --> PPP negotiation detected. --> Starting pppd at Sat Jun 7 11:03:33 2008 --> Pid of pppd: 3000 --> Using interface ppp0 --> pppd: `?[06][08]0?[06][08] --> pppd: `?[06][08]0?[06][08] --> pppd: `?[06][08]0?[06][08] --> pppd: `?[06][08]0?[06][08] --> pppd: `?[06][08]0?[06][08] --> local IP address 202.159.246.204 --> pppd: `?[06][08]0?[06][08] --> remote IP address 10.6.6.6 --> pppd: `?[06][08]0?[06][08] --> primary DNS address 203.94.227.70 --> pppd: `?[06][08]0?[06][08] --> secondary DNS address 203.94.243.70 --> pppd: `?[06][08]0?[06][08]


