Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-11-2011, 01:50 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
trouble connecting to internet using GPRS modem with WVDIAL-- platform Ubuntu

Hello all,

I am trying to connect to the internet using wvdial but facing problems. the command runs fine until i get PID ppd

Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Oct 23 10:40:09 2010
--> Pid of pppd: 2520

nothing happens after this.. I checked the resolve.conf and it is empty. i put openDNS server addresses but still did not work.

I am new to linux and urgently need to get this thing working. Any help is appreciated. Thanks
Old 04-18-2011, 09:52 PM   #2
LQ Newbie
Registered: Aug 2008
Location: Melbourne, Australia
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Network Manager is a better way to use GPRS modems.

There should be an icon at the top right of the screen which tells you if you are on line or not - hold the mouse pointer over it.

Left click the icon and you should see an option to use your modem. (It may say "New boadband connection")

Click on it and you will be given a wizard that will ask some questions, then set up your connection and connect automatically.

Different releases of Ubuntu have different versions of Network Manager so I cannot say exactly what will happen until I know the versions.

Not all modems will work however. If you need more help, please supply the Ubuntu release (e.g. 9.11 - Karmic, 10.04 - Lucid etc), the model of the GPRS modem (e.g. Huawei E160) and the version of Network Manager.
Old 05-16-2011, 12:29 PM   #3
LQ Newbie
Registered: May 2011
Posts: 24

Rep: Reputation: 0
Huawei E160/E220 in Slackware 13.0 (solution)

To get your USB dongle (Huawei E160 or Huawei E220) to work: (Slackware Linux 13.0 - kernel but may work on other linux versions)

Step 1: Ensure PPP is compiled into your kernel

Step 2: Ensure that you kernel does not spew any errors or does not panic (see kernel compilation howto in /usr/doc/Linux-HOWTOs)

Step 3: Ensure that your kernel supports USB storage

Step 3a: Ensure that kernel supports USB-Serial (generic usb_serial driver should work)

Step 4: obtain software called comgt (

Step 5: Boot your computer (LOL!)

Step 6: At command prompt login (duh!)

Step 7: su as root user (login as regular user, issue command "su" and put root password - risky to login directly as root)

Step 8: Uncompress comgt.032.tgz (tar -xvzf comgt.032.tgz)

Step 9:build the comgt and install comgt

Step 10:insert Huawei modem

Step 11: Huawei modem shall be detected as CD-ROM drive (/dev/sr1 or /dev/sdb) instead of a 3g modem (check using "dmesg")

Step 12: To switch modes of modem from CD-ROM to a modem, you need to eject the Huawei CD-ROM device using the command (eject
/dev/sr1 or eject /dev/sdb or eject /dev/<whatever is in you dmesg>)

Step 13: To switch modes of huawei modem, use comgt
"comgt -x -d /dev/-usb device-" where -usb device- is ttyUSB0 or ttyUSB1 -- e.g. "comgt -x -d /dev/ttyUSB0"
Some message should display giving you the network provide name and the signal strength!

Step 14: point /dev/modem to your Huawei modem at e.g. /dev/ttyUSB0. If /dev/modem does not exist, then create it LOL! "ln -s /dev/ttyUSB0 /dev/modem"

Step 15: Exit as root user and login as regular user! (if using "su" simply type exit)

Step 16: Start your dialer program - wvdial or kppp

Step 17: konfigure your dialer and dial!

Step 18: A new device "ppp0" will be listed in list of networking hardware (check this using "ifconfig")

Step 19: make sure your put your DNS server addresses in "/etc/resolv.conf" in format "nameserver -DNS server-" where -DNS server- is ip address of DNS server of your ISP

Step 20: enjoy surfing!

Last edited by tix; 05-17-2011 at 12:48 PM. Reason: whoops...ttyUSB0 not USBtty0
Old 06-08-2011, 01:07 PM   #4
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Rep: Reputation: Disabled
I used Network Manager with Ubuntu, but on slackware i use wvdial.I've used both Huawei E160/E220 modems with vodafone and isp's.I ran wvdialconf and edited the file to suit each isp, although on slackware i had to symlink /etc/ppp/resolv.conf to /etc/resolv.conf to use my isp's dns servers.

My wvdial.conf files for vodafone and

Last edited by scam; 06-08-2011 at 01:13 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
serial GPRS modem + wvdial + fix APN + big headache galrub Linux - Networking 2 12-01-2009 04:35 AM
wvdial.conf - - Ubuntu 9.04 -- GPRS Motorola L9 -- Lenovo 3000 series G430 sanjayt70 Linux - Newbie 1 09-26-2009 02:35 PM
[Ubuntu] Having trouble connecting to the internet UbuntuIdiot Linux - Newbie 8 06-14-2009 12:44 AM
connecting to internet via gprs ssr_2k6 Fedora 1 12-11-2007 01:13 PM
Trouble connecting to internet using BSNL ADSL SmartAX MT841 (HUAWEI) modem. atriya Linux - Networking 5 11-21-2007 04:03 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration