Announcement

Collapse
No announcement yet.

56k dialup disconnection\fail to connect problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    56k dialup disconnection\fail to connect problem

    I'm trying to get a dialup modem working in Ubuntu. I've tried posting on the Ubuntu forums but nobody said a thing. I've previously had more luck on this forum, so I'm really hoping someone here can help with this issue.

    Currently trying in 10.10 but have tried in 11.04 as well, and the problem is the same.

    I am using a Dynalink V1456VQE attached to serial port.


    I installed gnome-ppp and added myself to the dip and dialout groups.

    gnome-ppp detects the modem on /dev/ttyS0.


    When I tell it to connect, it dials in, waits a few seconds, then disconnects. The logfile is as follows:

    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot set 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
    --> Modem initialized.
    --> Sending: ATM1L3DT087303030
    --> Waiting for carrier.
    ATM1L3DT087303030
    CONNECT 46667
    --> Carrier detected. Waiting for prompt.
     
    login: 
    --> Looks like a login prompt.
    --> Sending: *User*
    *User*
    Password: 
    --> Looks like a password prompt.
    --> Sending: (password)
    Login/Network User: 
    --> Looks like a login prompt.
    --> Sending: *User*
    *User*
    CLI - Invalid Argument: *User*
    This field is a KEYWORD. The possible values are:
    LOGIN            NETWORK           PPP
    Login/Network User: 
    --> Looks like a login prompt.
    --> Sending: *User*
    *User*
    CLI - Invalid Argument: *User*
    This field is a KEYWORD. The possible values are:
    LOGIN            NETWORK           PPP
    Login/Network User: 
    --> Looks like a login prompt.
    --> Sending: *User*
    *User*
    CLI - Invalid Argument: *User*
    This field is a KEYWORD. The possible values are:
    LOGIN            NETWORK           PPP
    Login/Network User: 
    --> Don't know what to do! Starting pppd and hoping for the best.
    --> Starting pppd at Sun Sep 11 16:49:08 2011
    --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
    --> --> PAP (Password Authentication Protocol) may be flaky.
    --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
    --> --> CHAP (Challenge Handshake) may be flaky.
    --> Pid of pppd: 2351
    --> Using interface ppp0
    --> Disconnecting at Sun Sep 11 16:49:38 2011
    --> 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.
    (*User* is where my username resides, removed for privacy)


    What have I done wrong here?? (I'm pretty sure it's going to be my fault!)

    #2
    Re: 56k dialup disconnection\fail to connect problem

    Hi...

    First, could you post the contents of your wvdial.conf file, replacing the user name and password with asterisks?

    Regards...
    Our Lord and Savior Jesus Christ loves and cares about you most of all! http://peacewithgod.jesus.net/
    How do I know this personally? Please read here: https://www.linuxquestions.org/quest...hn-8-12-36442/
    PLEASE LISTEN TO THIS PODCAST! You don't have to end up here: https://soulchoiceministries.org/pod...i-see-in-hell/

    Comment


      #3
      Re: 56k dialup disconnection\fail to connect problem

      Hi, thanks for the quick reply!

      The /etc/wvdial.conf is actually pretty much empty:

      Code:
      [Dialer Defaults]
      Phone = 
      Username = 
      Password = 
      New PPPD = yes
      But the username and configuration etc is saved in gnome-ppp so it seems to keep it somewhere else, which would be /home/agent24/.wvdial.conf instead:

      Code:
      [Dialer Defaults]
      Modem = /dev/ttyS0
      ISDN = off
      Modem Type = Analog Modem
      Baud = 115200
      Init = ATZ
      Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      Init3 = 
      Init4 = 
      Init5 = 
      Init6 = 
      Init7 = 
      Init8 = 
      Init9 = 
      Phone = 087303030
      Phone1 = 
      Phone2 = 
      Phone3 = 
      Phone4 = 
      Dial Prefix = 
      Dial Attempts = 1
      Dial Command = ATM1L3DT
      Ask Password = off
      Password = *removed*
      Username = *removed*
      Auto Reconnect = off
      Abort on Busy = off
      Carrier Check = on
      Check Def Route = on
      Abort on No Dialtone = on
      Stupid Mode = off
      Idle Seconds = 0
      Auto DNS = on
      ;Minimize = off
      ;Dock = off
      # Do NOT edit this file by hand!

      Comment


        #4
        Re: 56k dialup disconnection\fail to connect problem

        Originally posted by Agent24
        The /etc/wvdial.conf is actually pretty much empty
        Hi...

        I'm wondering if that's the problem. Try running the wvdial configuration utility mentioned in my previous link. You will probably need to enter in your phone number, username and password manually after running the utility.

        Other help pages can be found here...

        https://help.ubuntu.com/community/Di...to/SetUpDialer (Make sure to take a look at the section entitled "For Ubuntu, alternative approach (using gnome-ppp)"

        http://support.real-time.com/linux/dialup/wvdial.html (From a ISP in Minnesota, ignore the phone number it says to enter.)

        Hope this helps...

        Regards...
        Our Lord and Savior Jesus Christ loves and cares about you most of all! http://peacewithgod.jesus.net/
        How do I know this personally? Please read here: https://www.linuxquestions.org/quest...hn-8-12-36442/
        PLEASE LISTEN TO THIS PODCAST! You don't have to end up here: https://soulchoiceministries.org/pod...i-see-in-hell/

        Comment


          #5
          Re: 56k dialup disconnection\fail to connect problem

          Thanks for the help!

          I re-read the information about gnome-ppp\wvdial and found that there were a couple of options that gnome-ppp doesn't seem to edit itself.

          After I changed "Stupid mode = on" in my config file, the connection worked just fine!

          I still got the errors here:

          Code:
          --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
          --> --> PAP (Password Authentication Protocol) may be flaky.
          --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
          --> --> CHAP (Challenge Handshake) may be flaky.
          But the connection allowed me to surf the Internet and didn't disconnect itself.

          If there are any more problems I guess I'll be coming back, but I think it's OK

          Comment


            #6
            Re: 56k dialup disconnection\fail to connect problem

            Hi....

            You're welcome, glad you got it working.

            Regards...
            Our Lord and Savior Jesus Christ loves and cares about you most of all! http://peacewithgod.jesus.net/
            How do I know this personally? Please read here: https://www.linuxquestions.org/quest...hn-8-12-36442/
            PLEASE LISTEN TO THIS PODCAST! You don't have to end up here: https://soulchoiceministries.org/pod...i-see-in-hell/

            Comment

            Working...
            X