GPRS Connection on Linux

Here is a tip to get GPRS Internet connection in linux using wvdial

Steps:

  1. Connect your mobile phone in to the usb port using the data cable provided.
  2. Open a terminal and type su ; then enter your root password.
  3. Type lsusb and check whether your mobile pone is detected.
  4. Type wvdialconf /etc/wvdial.conf ; this will configure your mobile phone and detect it as a modem and writes in to /etc/wvdial.conf.
  5. Note down the name of the mobile device shown by the above command; eg: /dev/ttyACM0.
  6. Edit your /etc/wvdial.conf using the command vi /etc/wvdial.conf.
  7. Enter your dialling no: in the line Phone :[number] and Modem=[device]; an example file:
  8. [Dialer Defaults]

    Modem = /dev/ttyACM0
    Baud = 230400
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    Modem Type = Analog Modem
    Phone = *99***1#
    Username = A
    Password = B
    Stupid Mode = 1

8. type wvdial to connect to internet; type ctrl+c to exit.

Advertisements

Leave a comment

Filed under Configuration, Linux, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s