Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

  1. #1
    Join Date
    Nov 2008
    Location
    Southwestern U.S.
    Posts
    45

    Default qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Over the last few months an intermittent problem with using qinternet to connect through dialup has turned into a consistent problem. Three attempts to connect through dialup have to be made in order to successfully connect to the ISP. The modem is an Actiontec external USB modem, and here's what's happening.

    1.) The problem occurs whether qinternet starts on bootup or it is started manually after logging in. qinternet is also set to dial manually.

    2.) At the first attempt to dial using qinternet for a connection, it will dial repeatedly without waiting for the ISP to pickup on its end. As soon as WvDial finishes dialing, it reports "NO CARRIER" and begins to dial again. This can go on indefinitely or freeze up after one or two attempts to dial. (See the log.) At this point I hang-up using qinternet. The following may be relevant: As soon as qinternet hangs-up, something is accessing the hard drive every half-second or less, which goes on indefinitely.

    Code:
    Status is: disconnected
    trying to connect to smpppd
    connect to smpppd
    Status is: disconnected
    Status is: connecting
    pppd[0]: Plugin passwordfd.so loaded.
    pppd[0]: --> WvDial: Internet dialer version 1.60
    pppd[0]: --> Initializing modem.
    pppd[0]: --> Sending: ATZ
    pppd[0]: --> Sending: ATQ0
    pppd[0]: Q0
    pppd[0]: OK
    pppd[0]: --> Re-Sending: ATZ
    pppd[0]: Z
    pppd[0]: OK
    pppd[0]: --> Sending: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: OK
    pppd[0]: --> Sending: ATM1
    pppd[0]: OK
    pppd[0]: --> Modem initialized.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NO CARRIER
    pppd[0]: --> No Carrier!  Trying again.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: NOARRIER
    Status is: disconnecting
    pppd[0]: Caught signal 15:  Attempting to exit gracefully...
    pppd[0]: Child process /usr/bin/wvdial --chat --no-syslog --config /var/run/smpppd/chat-modem0.conf smpppd (pid 3111) terminated with signal 15
    pppd[0]: Connect script failed
    Status is: disconnected
    pppd[0] died: Connect script failed (exit code 8)
    3.) After hanging up, I attempt to dial a second time with qinternet. This time the dialup connection is partially successful. The call to the ISP is completed and the handshake begun. The process stops at the point where the handshake goes silent to complete the connection. The lights on the modem indicate nothing is being transmitted or received. At this point, telling qinternet to hang-up is ineffective. (See the log.) To disengage, I quit qinternet and turn off the modem and, whatever is accessing the hard drive every half-second ceases.

    Code:
    Status is: disconnected
    trying to connect to smpppd
    connect to smpppd
    Status is: disconnected
    Status is: connecting
    pppd[0]: Plugin passwordfd.so loaded.
    pppd[0]: --> WvDial: Internet dialer version 1.60
    pppd[0]: --> Initializing modem.
    pppd[0]: --> Sending: ATZ
    pppd[0]: OK
    pppd[0]: --> Sending: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: OK
    pppd[0]: --> Sending: ATM1
    pppd[0]: OK
    pppd[0]: --> Modem initialized.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: CONNECT 52000 V44
    pppd[0]: --> Carrier detected.  Chatmode finished.
    pppd[0]: Script /usr/bin/wvdial --chat --no-syslog --config /var/run/smpppd/chat-modem0.conf smpppd finished (pid 3119), status = 0x0
    pppd[0]: Serial connection established.
    4.) As soon as qinternet and the modem have been turned off, I restart qinternet (within a second or two) and turn on the modem (within another second or two). It has to be in this order: first, qinternet; second, turn on the modem. Then qinternet can be used successfully to dial the ISP and connect to the Internet. (See the log.)

    Code:
    Status is: disconnected
    trying to connect to smpppd
    connect to smpppd
    Status is: disconnected
    Status is: connecting
    pppd[0]: Plugin passwordfd.so loaded.
    pppd[0]: --> WvDial: Internet dialer version 1.60
    pppd[0]: --> Initializing modem.
    pppd[0]: --> Sending: ATZ
    pppd[0]: ATZ
    pppd[0]: OK
    pppd[0]: --> Sending: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: AT &F E0 &C1 &D2 V1 S0=0V1
    pppd[0]: OK
    pppd[0]: --> Sending: ATM1
    pppd[0]: OK
    pppd[0]: --> Modem initialized.
    pppd[0]: --> Sending: ATDT2149775
    pppd[0]: --> Waiting for carrier.
    pppd[0]: CONNECT 52000 V44
    pppd[0]: --> Carrier detected.  Chatmode finished.
    pppd[0]: Script /usr/bin/wvdial --chat --no-syslog --config /var/run/smpppd/chat-modem0.conf smpppd finished (pid 3133), status = 0x0
    pppd[0]: Serial connection established.
    pppd[0]: Renamed interface ppp0 to modem0
    pppd[0]: Using interface modem0
    Status is: connecting
    pppd[0]: Connect: modem0 <--> /dev/ttyUSB0
    pppd[0]: PAP authentication succeeded
    pppd[0]: local  IP address 72.251.75.183
    pppd[0]: remote IP address 66.52.2.130
    pppd[0]: primary   DNS address 64.136.173.5
    pppd[0]: secondary DNS address 64.136.164.77
    pppd[0]: Script /etc/ppp/ip-up finished (pid 5300), status = 0x0
    Status is: connected
    What needs to be looked at to find out what's going on? And, of course, how is this fixed?

    TIA,
    Mark Z.
    _____________
    openSUSE 11.3 / KDE 4.4.4

  2. #2

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Have you tried using wvdial by itself instead of through qinternet?
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

  3. #3
    Join Date
    Nov 2008
    Location
    Southwestern U.S.
    Posts
    45

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Thanks for the idea. I tried WvDial as su with no success. The output says there is no /dev/modem. As expected, the config file lists the default modem as /dev/modem, and I've verified that /dev/modem doesn't exist.

    Here's the output from the terminal when wvdial is run as su:
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot open /dev/modem: No such file or directory
    --> Cannot open /dev/modem: No such file or directory
    --> Cannot open /dev/modem: No such file or directory
    Here's the content of wvdial.conf:
    Code:
    [Dialer Defaults]
    Modem = /dev/modem
    Baud = 57600
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
    Init3 =
    Area Code =
    Phone = 0
    Username =
    Password =
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Force Address =
    Idle Seconds = 300
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1
    Could the problem with using qinternet be related to the missing /dev/modem? If qinternet/smpppd is calling up WvDial, how can it connect without the missing /dev/modem?

    Any other ideas would be greatly appreciated.

    TIA,
    Mark Z.
    _____________
    openSUSE 11.3 / KDE 4.4.4

  4. #4

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    I'm running on wi-fi now, and not with a modem, so bear with me.
    My modem never registered as "dev/modem" so that may be a problem.
    What I did:
    Code:
    sudo wvdialconf
    sudo wvdial
    *But* before I did that I had to edit the wvdial.conf manually to add my phone number and my credentials; if you're ISP uses credentials you will have to do this also. A quick google on your ISP will provide you with the typical password and login ID. It is typically your 10 digit phone number @isp.net. But it varies from ISP to ISP. To determine my modem number I had to use Windows. The phone number, username, and password go in the appropriate fields.

    Sorry for the late reply.
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    On 2011-04-13 01:06, azmarkz wrote:
    > Thanks for the idea. I tried WvDial as su with no success. The output
    > says there is no /dev/modem. As expected, the config file lists the
    > default modem as /dev/modem, and I've verified that /dev/modem doesn't
    > exist.


    In /lib/udev/devices create a symlink from modem to the appropriate device.
    Or, edit the configuration file of wvdial so that it addresses the
    appropriate device

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6
    Join Date
    Nov 2008
    Location
    Southwestern U.S.
    Posts
    45

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Thanks for the suggestions. I modified wvdial.conf to point to the correct device, which I discovered is /dev/ttyUSB0, and added the appropriate info for my ISP and account. Unfortunately this didn't help. The problem remains unchanged.

    Any other ideas would be appreciated.

    Mark Z.
    _____________
    openSUSE 11.3 / KDE 4.4.4

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    On 2011-04-18 20:36, azmarkz wrote:
    >
    > Thanks for the suggestions. I modified wvdial.conf to point to the
    > correct device, which I discovered is /dev/ttyUSB0, and added the
    > appropriate info for my ISP and account. Unfortunately this didn't help.
    > The problem remains unchanged.


    Post output of test with wvdial.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  8. #8

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Leave the modified wvdial.conf alone, don't rerun wvdialconf.
    If possible, boot into another OS and connect to the carrier. I found the only way to get rid of my "No Carrier" was to plug into Windows and dial out. Then I could in Linux for some odd reason, not really sure why, I just lived with dialing out in Windows about once a week. Having the modem in the machine while it turned on also seemed to help/\.
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

  9. #9
    Join Date
    Nov 2008
    Location
    Southwestern U.S.
    Posts
    45

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    Hi Carlos,

    Please excuse me for forgetting to post the results of the wvdial test. Here they are:
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot set information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    O
    --> Sending: ATQ0
    ATQ0
    OK
    --> Re-Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
    A0 V1 E1 S0=0 &C1 &D2
    OK
    --> Modem initialized.
    --> Idle Seconds = 300, disabling automatic reconnect.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    ATDT2149775
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    DT2149775
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    75
    NO CARRIER--> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    DT2149775
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    49775
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    DT2149775
    NO CARRIER
    --> No Carrier!  Trying again.
    --> Sending: ATDT2149775
    --> Waiting for carrier.
    49775
    NO CARRIER
    There's a lot more of the same. It kept going until I turned the modem off. Towards the end you can see that the program is dialing while it's still waiting for the carrier.

    For bsilvereagle:
    I turn the modem on automatically when the machine is powered up regardless of whether I intend to go online. Just a force of habit. Also, using another OS won't work for me, but thanks for the suggestion.
    _____________
    openSUSE 11.3 / KDE 4.4.4

  10. #10

    Default Re: qinternet/smpppd/WvDial problem connecting to Internet in 11.3

    The line "ATDT2149775" has me curious because your modem is trying to connect to your ISP at the number 2149775 but I don't see it in your wvdial.conf. Is that the correct number?
    Here is an interesting article, Controlling your Modem with AT Commands
    You may want to try ATDP to pulse dial.
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

Page 1 of 5 123 ... LastLast

Posting Permissions

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