Using Mobile as USB Modem in Ubuntu
Now I am at Chittagong, enjoying my eid vacation here. Normally I use broadband at my home at Dhaka. But I am so much addicted in Internet that I can’t pass a single day without it and also I can pass all my time without eating or drinking if I get Internet. So, I faced a problem here that is my sister use GP Edge and I have to use this as alternate here. But I use Ubuntu Hardy 8.04 in my laptop and I don’t have any other OS. I never used any phone as modem in Ubuntu. I could have used my sister’s laptop but I didn’t feel comfortable as I will miss all my personal settings in which I am used to. So I started looking for how I can install the mobile set in my laptop. It’s a Nokia 6280 phone. I have searched over internet and finally by taking help from two site I have succeeded using it. The steps I have followed to install it are as follows:
1. Connected the phone using USB cable.
2. Open the terminal.
3. Check the USB detection:-
$ lsusb
Bus 003 Device 003: ID 0421:045a Nokia Mobile Phones
Bus 003 Device 002: ID 04f3:0210 Elan Microelectronics Corporation
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
4. Autodetect the modem using WVDial:-
$ sudo wvdialconf
Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
ttyACM1<Info>: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
5. sudo gedit /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”gpinternet”
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Username = gp
Password = gp
6. sudo ifdown eth0 [it will disable your LAN connection]
7. finally executed $ wvdial
Now I am connected to GP Internet.
Special thanks to Mr. Hasan for the step 6. Without this I tried again and again but couldn’t get connected.
5 Comments
Rummandinho on May 23rd, 2009
Saifur Bhaia,
Your website and blogsite has been an inspiration for me to help people. After getting internet with Ubuntu using GP and a cell. I started learning a few languages and now I completed PHP. I am only 15 and in the 9th grade. It’s really amazing how much you help people in your site. Especially Bangladeshi people.
You’re a legend.
A Fan of your ![]()
Rumman R.K
rajib on September 6th, 2009
atually i want to connect to internet through usb modem and my handset is nokia 3110classic and i use reliance smart for net in ubuntu 8.04…………..
can any one help me for this?????????
Internet Usb Phone on October 24th, 2009
I started learning a few languages and now I completed PHP. I am only 15 and in the 9th grade. It’s really amazing how much you help people in your site
computer repair bronxville ny on May 3rd, 2010
When the content of this blog delivers good tips, it’s the way to go.

I am a simple man working in IT field. I love Music, playing soccer, traveling new places. By profession I am a software engineer and enjoy my job. Currently I am doing my M Sc in Software Engineering in Blekinge Institute of Technology, Sweden. I love researching on new technologies such as programming languages, architectures, tools and techniques.
Good tutorial. Thanks.
I have a similar post, on how to connect using the Phone as the modem. Here:
http://shubuntu.blogspot.com/2008/04/use-your-mobile-as-external-modem-in.html