Find the answer to your Linux question:
Results 1 to 5 of 5
After managing to make my winmodem work, I can dial my ISP but I cannot establish connection using wvdial. Here's the output of wvdial: --> WvDial: Internet dialer version 1.54.0 ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    2

    Dial Up problem in Ubuntu,dialing but not connecting...

    After managing to make my winmodem work, I can dial my ISP but I cannot establish connection using wvdial.
    Here's the output of wvdial:

    --> WvDial: Internet dialer version 1.54.0
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
    ATQ0 V1 E1 S0=0 &C1 &D2
    OK
    --> Sending: ATX3
    ATX3
    OK
    --> Modem initialized.
    --> Idle Seconds = 300, disabling automatic reconnect.
    --> Sending: ATDTwhatever
    --> Waiting for carrier.
    ATDTwhatever
    CONNECT 49333 NoEC
    --> Carrier detected. Waiting for prompt.
    --> Don't know what to do! Starting pppd and hoping for the best.
    --> Starting pppd at Sun Nov 20 15:44:22 2005
    --> pid of pppd: 22512
    --> Using interface ppp0
    --> Using interface ppp0
    --> Disconnecting at Sun Nov 20 15:44:52 2005
    --> The PPP daemon has died: PPP negotiation failed (exit code = 10)
    --> man pppd explains pppd error codes in more detail.
    --> I guess that's it for now, exiting
    --> The PPP daemon has died. (exit code = 10)

    The exit code 10 according to man pages means:
    PPP daemon:
    10 The PPP negotiation failed, that is, it didn't reach the point
    where at least one network protocol (e.g. IP) was running.

    However using dmesg I can see that all the required services run when the PC is booted:

    # dmesg|grep IP
    [4294671.581000] IP: routing cache hash table of 8192 buckets, 64Kbytes
    [4294713.038000] IPv6 over IPv4 tunneling driver
    [4294723.588000] eth0: no IPv6 routers present
    [4296254.249000] CSLIP: code copyright 1989 Regents of the University of California

    # dmesg|grep TCP
    [4294671.581000] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
    [4294671.582000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    [4294671.582000] TCP: Hash tables configured (established 262144 bind 65536)

    # dmesg|grep PPP
    [4296254.251000] PPP generic driver version 2.4.2

    The modem is detected during startup:
    # dmesg|grep tty
    ...
    [4294700.981000] ttyLTM0 at I/O 0xbc00 (irq = 10) is a Lucent/Agere Modem

    I've also tried pppconfig, but when executing pon nothing happens! I've set correctly the modem setting...

    I've read many posts,manuals,books, I have googled it but still can't solve the problem of connecting to the Internet. Does anyone have any ideas what might be wrong?

    Thank you for your attention,
    Libb

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    a guess, nothing more. You need to supply userid (usually in the form of "myname@myisp.com") and password to the /etc/ppp/chap-secrets and /etc/ppp/pap-secrets .

    good luck

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    2
    Unfortunately, this was not the case as chap-secrets and pap-secrets already contained my information in the form username * password.
    I even installed SuSE Linux 9.3 and there I have a similar problem.
    The difference is that I get as exit code 15 instead of 10.
    I tried to connect via KPPP and here's what the error log contains after trying to connect to the Internet:

    Nov 22 22:36:36 linux pppd[10701]: Plugin passwordfd.so loaded.
    Nov 22 22:36:36 linux pppd[10701]: pppd 2.4.3 started by root, uid 0
    Nov 22 22:36:36 linux pppd[10701]: using channel 4
    Nov 22 22:36:36 linux pppd[10701]: Using interface ppp0
    Nov 22 22:36:36 linux pppd[10701]: Connect: ppp0 <--> /dev/ttyLT0
    Nov 22 22:36:36 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:38 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:40 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:42 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:44 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:46 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:48 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:50 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:52 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:54 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:56 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:36:58 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:37:00 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:37:02 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:37:04 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
    Nov 22 22:37:06 linux pppd[10701]: Terminating on signal 15
    Nov 22 22:37:06 linux pppd[10701]: sent [LCP TermReq id=0x2 "User request"]
    Nov 22 22:37:08 linux pppd[10701]: sent [LCP TermReq id=0x3 "User request"]
    Nov 22 22:37:10 linux pppd[10701]: Connection terminated.
    Nov 22 22:37:10 linux pppd[10701]: Modem hangup
    Nov 22 22:37:10 linux pppd[10701]: Exit.

    I think it looks like a driver problem, but the strange thing is that the same modem in another computer which has installed SuSE Linux 9.1 and the same driver works fine.
    I might have missed to take care of some settings but I've done whatever I've read in manuals,forums and linux books and still doesn't work. Very strange,isn't it?
    Any ideas?

  4. #4
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    yes, possibly is a driver issue. You can see from the log output that your TCP/IP software (ppp) is sending the startup packets out (the LCP stuff), but doesn't seem to be getting anything back. It could be that the driver is giving TCP/IP and PPP every indication that there is a valid connection, but this isn't really the case.

    sorry I couldn't help.

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  5. #5
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    Actually, it looks like you have it setup correctly, except you have to setup the configuration file /etc/wvdial.conf

    As root, run
    Code:
    wvdialconf /etc/wvdial.conf
    and enter your modem and ISP information. Then run wvdial, and you should get connected then. You can also run pull the man pages for wvdial.conf and wvdialconf for more information on getting wvdial to run correctly. I use it, and the only problem I have is that if I get disconnected, wvdial picks up the dial tone, but I can get the phone to hangup so I can redial.[/code]

Posting Permissions

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