trouble connecting to internet using GPRS modem with WVDIAL-- platform Ubuntu
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
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.
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 22.214.171.124 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 (http://sourceforge.net/projects/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!
I used Network Manager with Ubuntu, but on slackware i use wvdial.I've used both Huawei E160/E220 modems with vodafone and three.co.uk 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 three.co.uk.
|All times are GMT -5. The time now is 02:31 PM.|