rss
logo

I provide consulting and custom development for Natural Language Processing, Information Extraction and Search solutions.Self Picture


 learn more   get in touch 

Logo - I Build Search
Jun 07
2008

GPRS over linux digg

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.

  1. On connecting my phone to the laptop via the USB cable, the phone prompts for mode. Pick PC Suite
  2. 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
  3. Run wvdialconf as root
  4. Modify /etc/wvdial.conf. For MTNL Mumbai GPRS service, my wvdial.conf looks 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
  5. 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]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Latest Articles

Feb
19

Join a list of integers in Python

How do you run a string join on a list of integers in Python? After googling for about 10 mins, I gave up and did this. I am sure there is a better way of doing it! [Read More]
Jan
21

Writing a spider in 10 mins using Scrapy

I came across Scrapy a few days back and have grown to really love it. This tutorial will illustrate how you can write a simple spider using Scrapy to scrape data off Paul Smith. All this in 10 minutes. [Read More]

Featured Projects

Document Tagger

Document Tagger

DocTagger lets you automatically classify text documents. Use this as a starting point to write apps that can sort through volumes of unorganized data.

[Read More]

Indic to English Transliterator

Indic to English Transliterator

Transliteration is the process of converting a word from one language to another while retaining its phonetic characteristics. This application lets you convert a word from any major Indian language (currently supports Hindi, Marathi, Sanskrit and Bengali) to English.

[Read More]

This page and its contents are copyright © 2010, Pravin Paratey.