LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-27-2010, 09:12 AM   #1
bmn
LQ Newbie
 
Registered: May 2009
Posts: 15

Rep: Reputation: 0
trouble with wvdial (umts)


Hi,

I am unable to connect to German Vodafone (D2) UMTS network using wvdial.
Connecting via Gnome nm-applet works flawlessly but I am trying to avoid Gnome stuff since I use Openbox with no full-featured desktop-environment and I want to be able to easily connect to the internet over the command-line with no GUI.

Searching the internet I found many threads about similar problems; mine remains unsolved...
10 years ago this was a common problem when trying to connect to DSL.

uname -r:
2.6.32-trunk-686

My /etc/wvdial.conf:
[Dialer Defaults]
New PPPD = yes
Dial Command = ATDT
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Init1 = ATZ
#
[Dialer d2]
Init3 = AT+CGDCONT=1,"IP","web.vodafone.de"
Phone = *99#
Username = whatever
Password = whatever
Modem Type = Analog Modem
Modem = /dev/ttyUSB2
Baud = 460800
Stupid Mode = 1
Carrier Check = no
Dial Attempts = 3
#Note: PIN disabled

wvdial d2 > wvdial_output 2>&1:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.vodafone.de"
AT+CGDCONT=1,"IP","web.vodafone.de"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Feb 27 14:07:12 2010
--> Pid of pppd: 2508
--> Using interface ppp0
--> Disconnecting at Sat Feb 27 14:07:42 2010
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.vodafone.de"
AT+CGDCONT=1,"IP","web.vodafone.de"
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.vodafone.de"
AT+CGDCONT=1,"IP","web.vodafone.de"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
^BOOT:31100489,0,0,0,73
ATDT*99#
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
--> No Carrier! Trying again.
--> Maximum Attempts Exceeded..Aborting!!
--> Disconnecting at Sat Feb 27 14:07:49 2010

my /var/log/syslog (/var/log/messages tells the same):
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.292042] usb 2-3: new high speed USB device using ehci_hcd and address 22
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.435292] usb 2-3: New USB device found, idVendor=12d1, idProduct=1001
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.435295] usb 2-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.435297] usb 2-3: Product: HUAWEI Mobile
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.435299] usb 2-3: Manufacturer: HUAWEI Technology
Feb 27 14:06:12 HOST-SYSTEM kernel: [ 9630.435958] usb 2-3: configuration #1 chosen from 1 choice
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.060696] option 2-3:1.0: GSM modem (1-port) converter detected
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.060784] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.060919] option 2-3:1.1: GSM modem (1-port) converter detected
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.060962] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.061080] option 2-3:1.2: GSM modem (1-port) converter detected
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.061122] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.061926] scsi64 : SCSI emulation for USB Mass Storage devices
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.062074] usb-storage: device found at 22
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.062076] usb-storage: waiting for device to settle before scanning
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.062803] scsi65 : SCSI emulation for USB Mass Storage devices
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.063833] usb-storage: device found at 22
Feb 27 14:06:16 HOST-SYSTEM kernel: [ 9635.063835] usb-storage: waiting for device to settle before scanning
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.061518] usb-storage: device scan complete
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.063687] scsi 64:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.064792] usb-storage: device scan complete
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.068156] scsi 65:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.084311] sr1: scsi-1 drive
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.084774] sr 64:0:0:0: Attached scsi CD-ROM sr1
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.085343] sr 64:0:0:0: Attached scsi generic sg2 type 5
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.086146] sd 65:0:0:0: Attached scsi generic sg3 type 0
Feb 27 14:06:21 HOST-SYSTEM kernel: [ 9640.094553] sd 65:0:0:0: [sdb] Attached SCSI removable disk
Feb 27 14:07:12 HOST-SYSTEM pppd[2508]: pppd 2.4.4 started by root, uid 0
Feb 27 14:07:12 HOST-SYSTEM pppd[2508]: Using interface ppp0
Feb 27 14:07:12 HOST-SYSTEM pppd[2508]: Connect: ppp0 <--> /dev/ttyUSB2
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: LCP: timeout sending Config-Requests
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: Connection terminated.
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: Receive serial link is not 8-bit clean:
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: Problem: all had bit 7 set to 0
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: Modem hangup
Feb 27 14:07:42 HOST-SYSTEM pppd[2508]: Exit.

Thanks for your support.
Greetings
 
Old 02-27-2010, 09:17 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 701

Rep: Reputation: 80
Hi
I just finished 5 minutes ago to write something about wvdial & UMTS: http://www.blah-blah.ch/Mra/HuaweiUmts
Not specific to your problem, but perhaps something in there might help you.
 
Old 03-02-2010, 09:25 AM   #3
bmn
LQ Newbie
 
Registered: May 2009
Posts: 15

Original Poster
Rep: Reputation: 0
wvdial - ppp - trouble

Quote:
Originally Posted by Pearlseattle View Post
Hi
I just finished 5 minutes ago to write something about wvdial & UMTS: http://www.blah-blah.ch/Mra/HuaweiUmts
Not specific to your problem, but perhaps something in there might help you.
Thanks for the suggestion but unfortunately this has nothing to do with my problem.

ppp seems to be the problem ...

Any help is appreciated.
 
  


Reply


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
A little trouble with wvdial in Fedora 12 ThinkFree Fedora 1 01-07-2010 07:00 PM
[SOLVED] Adding wvdial to start menu/desktop, running wvdial without shell. Mogget Linux - Desktop 1 08-07-2009 02:08 AM
UMTS Modem najjan83 Linux - Hardware 0 06-25-2009 01:15 PM
Pcmcia Umts m0rg Linux - Laptop and Netbook 4 04-26-2007 10:21 AM
UMTS - How to Fede.Lt Linux - Networking 7 01-12-2006 06:06 AM


All times are GMT -5. The time now is 05:08 AM.

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