My space in the world

Code is poetry

Posted by Sayak
October - 20 - 2008

1) Plug in the phone to the Laptop via the USB datacable and then identify the vendor ID and product ID of the phone. Run


to get an output similar to the following

Bus 001 Device 004: ID 0421:0443 Nokia Mobile Phones
Here 0421 is the vendor ID and 0443 is the product ID of the Nokia phone. Your values could be different based on the phone you are connecting. But more often than not the descriptions should help you find the right line corresponding to your code. You will have other lines of output corresponding to other USB devices

2) Now run the command

sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0443
Make sure you replace 0421 and 0443 with whatever values you had identified as the vendor ID and the product ID of your phone.

3) Create your wvdial.conf by running the following
sudo wvdialconf /etc/wvdial.conf

4) Edit your /etc/wvdial.conf to look similar to the following. You will most probably have to edit only the Phone, Password and Username lines
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP",""
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Password = airtel
Username = airtel
Stupid Mode = 1

5) Run wvdial and you should be online immediately. You can also configure two shortcuts on the panel to point to wvdial and poff.wvdial to turn on and turn off the connection without opening a terminal window at all.

Configuring GPRS internet access using any other phone other than Nokia or any other service provider other than Airtel should follow a similar process (unless of course you run into problems). If you run into problems and you are located near our offices you can drop by and try to get the problem rectified by our experts.


Leave a Reply

About Me

A son, brother and friend. Enjoys scripting and making small bits of apps here and there. Wants to conquer the world (well, who doesnt). A geek who has an obsession for ponies. Loves acoustic and wants to play guitar sitting on the Hollywood hill one day!

A Word About KDE

KDE is a versatile software compilation for all platforms. It is an intuitive and powerful desktop environment that focuses on finding innovative solutions to old and new problems, and creating a vibrant, open atmosphere for experimentation.