FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Location
    /dev/null
    Age
    36
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wvdial under Fedora10_beta_x64

    Hello all over there,

    I have a Problem using pppd under Fedora_10_beta. System is up2date.
    The simcard is from Vodafone.

    My /etc/wvdial.conf, which has been working with Fedora 9:

    Code:
    [Dialer Defaults]
    Modem = /dev/ttyUSB0
    Baud = 460800
    #Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init1 = ATZe1
    Init2 = at+cgdcont=1,"IP","web.vodafone.de"
    #Init3 = at+cgqreq=1,2,4,3,9,31
    Area Code =
    Phone = *99***1#
    Username = VFD2
    Password = WAP
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Force Address =
    Idle Seconds = 3000
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1
    PIN is set trough an script. And has been working too..

    But now when I try to call "wvdial":

    Code:
    # setpin
    OK - PIN accepted
    # wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZe1
    ATZe1
    OK
    --> Sending: at+cgdcont=1,"IP","web.vodafone.de"
    at+cgdcont=1,"IP","web.vodafone.de"
    OK
    --> Modem initialized.
    --> Idle Seconds = 3000, disabling automatic reconnect.
    --> Sending: ATDT*99***1#
    --> Waiting for carrier.
    ATDT*99***1#
    CONNECT HSDPA 3.6
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Wed Nov  5 11:24:34 2008
    --> Pid of pppd: 19580
    --> Using interface ppp0
    --> pppd: 1
    --> pppd: 1
    --> pppd: 1
    --> pppd: 1
    --> pppd: 1
    --> pppd: 1
    --> Disconnecting at Wed Nov  5 11:24:35 2008
    --> 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.
    Code:
    # tail --lines 10 /var/log/messages
    Nov  5 11:24:34 freechip kernel: PPP generic driver version 2.4.2
    Nov  5 11:24:34 freechip pppd[19580]: pppd 2.4.4 started by root, uid 0
    Nov  5 11:24:35 freechip pppd[19580]: Using interface ppp0
    Nov  5 11:24:35 freechip pppd[19580]: Connect: ppp0 <--> /dev/ttyUSB0
    Nov  5 11:24:35 freechip pppd[19580]: CHAP authentication succeeded
    Nov  5 11:24:35 freechip pppd[19580]: CHAP authentication succeeded
    Nov  5 11:24:35 freechip kernel: PPP Deflate Compression module registered
    Nov  5 11:24:35 freechip pppd[19580]: Modem hangup
    Nov  5 11:24:35 freechip pppd[19580]: Connection terminated.
    Nov  5 11:24:35 freechip pppd[19580]: Exit.
    anyone an Idea?
    pmb µatthias
    Last edited by counterroot; 5th November 2008 at 11:45 AM.

  2. #2
    Join Date
    Aug 2007
    Location
    /dev/null
    Age
    36
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    I have the same Problem with an 32bit - x86 Version of Fedora 10

    I called a Bug-Report @ Redhat:
    https://bugzilla.redhat.com/show_bug.cgi?id=470745
    Last edited by counterroot; 10th November 2008 at 12:15 AM.

  3. #3
    Join Date
    Jun 2007
    Location
    Czech republic
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me it works fine ;-)

    I'm using 64bit F10:
    Code:
    [root@notas ~]# uname -a
    Linux notas 2.6.27.4-79.fc10.x86_64 #1 SMP Tue Nov 4 21:23:33 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
    wvdial configuration is:
    Code:
    [Dialer Defaults]
    Baud = 57600
    Modem = /dev/ttyS0
    Dial Command = ATD
    Carrier Check = no
    
    [Dialer Setup]
    Init = AT+CFUN=1
    
    [Dialer Status]
    Init1 = AT+COPS?;+CSQ
    
    [Dialer GPRS]
    #Init1 = ATZ
    #Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init = AT+CGDCONT=1,"IP","internet.t-mobile.cz"
    #Modem Type = Analog Modem
    #New PPPD = yes
    Phone = *99***1#
    Username = gprs
    Password = gprs
    #Stupid Mode = 1
    #Idle Seconds = 1
    And here are results:
    Code:
    [root@notas ~]# wvdial Setup
    --> WvDial: Internet dialer version 1.60
    --> Initializing modem.
    --> Sending: AT+CFUN=1
    AT+CFUN=1
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    Code:
    [root@notas ~]# wvdial Status
    --> WvDial: Internet dialer version 1.60
    --> Initializing modem.
    --> Sending: AT+COPS?;+CSQ
    AT+COPS?;+CSQ
    +COPS: 0,0,"T-Mobile CZ"
    +CSQ: 21,99
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    Code:
    [root@notas ~]# wvdial GPRS
    --> WvDial: Internet dialer version 1.60
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.t-mobile.cz"
    AT+CGDCONT=1,"IP","internet.t-mobile.cz"
    OK
    --> Modem initialized.
    --> Sending: ATD*99***1#
    --> Waiting for carrier.
    ATD*99***1#
    CONNECT
    ~[7f]}#@!}!t} }<}!}$}%\}"}&} } } } }#}$@#}%}&} }"NE}'}"}(}"T<~
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!t} }<}!}$}%\}"}&} } } } }#}$@#}%}&} }"NE}'}"}(}"T<~
    --> PPP negotiation detected.
    --> Starting pppd at Mon Nov 10 12:47:38 2008
    --> Pid of pppd: 11357
    --> Using interface ppp0
    --> local  IP address 172.24.243.179
    --> remote IP address 172.24.243.0
    --> primary   DNS address 62.141.0.2
    --> secondary DNS address 213.162.65.1

  4. #4
    Join Date
    Jun 2007
    Location
    Czech republic
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably it depends on what device are you using. I have Option GT Combo Edge.

  5. #5
    Join Date
    Aug 2007
    Location
    /dev/null
    Age
    36
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well..

    I tried it with my APN web.vodafone.de, but sadly not a quite good result. It wait's very long @ Carrier detected. Waiting for Prompt. But then there are again failures:

    my Hardware:
    Code:
    # lsusb | grep Mobile
    Bus 004 Device 002: ID 413c:8137 Dell Computer Corp. Wireless 5520 Voda L Mobile Broadband (3G HSDPA) Minicard Status Port
    Code:
    $ su
    Password: 
    [root@freechip counterroot]# vi /etc/wvdial.conf 
    [root@freechip counterroot]# setpin
    OK - PIN accepted
    [root@freechip counterroot]# wvdial Setup
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CFUN=1
    AT+CFUN=1
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    [root@freechip counterroot]# wvdial Status
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+COPS?;+CSQ
    AT+COPS?;+CSQ
    +COPS: 0,0,"Vodafone.de",2
    +CSQ: 19,99
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    [root@freechip counterroot]# wvdial GPRS
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","web.vodafone.de"
    AT+CGDCONT=1,"IP","web.vodafone.de"
    OK
    --> Modem initialized.
    --> Sending: ATD*99***1#
    --> Waiting for carrier.
    ATD*99***1#
    CONNECT HSDPA 3.6
    --> Carrier detected.  Waiting for prompt.
    --> Don't know what to do!  Starting pppd and hoping for the best.
    --> Starting pppd at Mon Nov 10 15:50:27 2008
    --> Pid of pppd: 4173
    --> Using interface ppp0
    --> pppd: p�[16]
    --> pppd: p�[16]
    --> pppd: p�[16]
    --> pppd: p�[16]
    --> pppd: p�[16]
    --> pppd: p�[16]
    --> Disconnecting at Mon Nov 10 15:50:28 2008
    --> 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: 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: AT+CGDCONT=1,"IP","web.vodafone.de"
    AT+CGDCONT=1,"IP","web.vodafone.de"
    OK
    --> Modem initialized.
    --> Sending: ATD*99***1#
    --> Waiting for carrier.
    ATD*99***1#
    CONNECT HSDPA 3.6
    --> Carrier detected.  Waiting for prompt.
    ^CCaught signal 2:  Attempting to exit gracefully...
    --> Disconnecting at Mon Nov 10 15:50:59 2008

  6. #6
    Join Date
    Jun 2007
    Location
    Czech republic
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now it writes to you:
    Code:
    Cannot get information for serial port.
    So you have probably specified a bad modem device name in wvdial.conf.
    Is it /dev/ttyUSB0?

  7. #7
    Join Date
    Aug 2007
    Location
    /dev/null
    Age
    36
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no it should be the right one.

    Code:
    $ dmesg | grep modem
    usbserial: USB Serial support registered for GSM modem (1-port)
    option 4-2:1.0: GSM modem (1-port) converter detected
    usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
    option 4-2:1.1: GSM modem (1-port) converter detected
    usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
    option: USB Driver for GSM modems: v0.7.2
    when I set ttyUSB1 I can't either set pin weather connect with wvdial:

    Code:
    $ su
    Password: 
    [root@freechip counterroot]# vi /bin/setpin
    [root@freechip counterroot]# setpin
    ^C
    [root@freechip counterroot]# vi /bin/setpin
    [root@freechip counterroot]# vi /etc/wvdial.conf 
    [root@freechip counterroot]# wvdial Setup
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CFUN=1
    --> Sending: ATQ0
    --> Re-Sending: AT+CFUN=1
    --> Modem not responding.

  8. #8
    Join Date
    Aug 2007
    Location
    /dev/null
    Age
    36
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello all over there...
    Simple Solution... The SIM-Card has been expired. -.-*
    Another SIM-Card works right now.
    goofy accident, that the card has expired when I changed to Fedora 10_64bit
    µatthias

Similar Threads

  1. No wvdial !
    By troyatlarge in forum Reviews, Rants & Things That Make You Scream
    Replies: 10
    Last Post: 5th April 2010, 03:22 PM
  2. wvdial sucks
    By distincthead in forum Using Fedora
    Replies: 11
    Last Post: 18th September 2008, 02:38 AM
  3. Wvdial DNS?
    By dragon2611 in forum Servers & Networking
    Replies: 0
    Last Post: 25th January 2008, 05:00 PM
  4. run wvdial by user
    By xlinx in forum Servers & Networking
    Replies: 0
    Last Post: 10th June 2007, 10:24 PM
  5. Wvdial-->pppd
    By etollerson in forum Using Fedora
    Replies: 2
    Last Post: 3rd July 2005, 02:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •