wvdial & ppp

Mark Street jet at sonic.net
Mon Jan 21 08:35:58 PST 2002


What does /etc/pap-secrets and chap-secrets look like.  Replace login and
passwd if needed.

How about your /etc/ppp/options file?

You might want to check with the ISP and see if they use PAP or CHAP for
authentitication and see if there is a particular format for the login
sequence.

Mark

On Mon, 21 Jan 2002, Mike Rice wrote:

> Help! I fell down with wvdial and ppp, and I can't get up!
>
> I'm trying to use dialup to connect to the local Big Brother ISP, I
> have
> /etc/wvdial.conf set correctly after using wvdialconf, then editing to
> set phone number, username and password as gleaned from the Windows
> Dialup Thing.
>
> Dialup goes okay, I connect, handshake is apparently okay, then pppd
> dies and wvdial dutifuly tries again.
>
> errors found are as follows:
> from /var/log/ppp.log:
> Nov 21 19:27:15 mnementh pppd[176]: pppd 2.3.5 started by mike, uid
> 1000
> Nov 21 19:27:15 mnementh pppd[176]: Using interface ppp0
> Nov 21 19:27:15 mnementh pppd[176]: Connect: ppp0 <--> /dev/ttyS1
> Nov 21 19:27:19 mnementh pppd[176]: peer refused to authenticate
> Nov 21 19:27:19 mnementh pppd[176]: Connection terminated.
> Nov 21 19:27:20 mnementh pppd[176]: Exit.
>
> This is reflected in /var/log/messages:
> Nov 21 19:27:15 mnementh kernel: CSLIP: code copyright 1989 Regents of
> the University of California
> Nov 21 19:27:15 mnementh kernel: PPP: version 2.2.0 (dynamic channel
> allocation)
> Nov 21 19:27:15 mnementh kernel: PPP Dynamic channel allocation code
> copyright 1995 Caldera, Inc.
> Nov 21 19:27:15 mnementh kernel: PPP line discipline registered.
> Nov 21 19:27:15 mnementh kernel: registered device ppp0
> Nov 21 19:27:15 mnementh pppd[176]: pppd 2.3.5 started by mike, uid
> 1000
> Nov 21 19:27:15 mnementh pppd[176]: Using interface ppp0
> Nov 21 19:27:15 mnementh pppd[176]: Connect: ppp0 <--> /dev/ttyS1
> Nov 21 19:27:19 mnementh pppd[176]: peer refused to authenticate
> Nov 21 19:27:19 mnementh pppd[176]: Connection terminated.
> Nov 21 19:27:20 mnementh pppd[176]: Exit.
>
> As soon as it tries again, I normally disconnect. Even letting wvdial
> try to connect twice as is mentioned in the troubleshooting guide (faq)
> didn't work.
>
> ATZ
> OK
> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
> ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
> OK
> --> Modem initialized.
> --> Sending: ATDT {isp-dialup-number}
> --> Waiting for carrier.
> ATDT {isp-dialup-number}
> CONNECT 31200 V42bis
> --> Carrier detected.  Waiting for prompt.
> Level 3 Comm nas14.den1 UQKT2
> login:/Login:
> --> Looks like a login prompt.
> --> Sending: {username}
> --> Don't know what to do!  Starting pppd and hoping for the best.
> --> 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.
> --> Starting pppd at Wed Nov 21 18:50:54 2001
> --> PPP daemon has died! (exit code = 1)
> --> Disconnecting at Wed Nov 21 18:50:58 2001
> --> Auto Reconnect will be attempted in 10 seconds
>
> {username} and {isp-dialup-number} replace real info.
> Here's the box: laptop using Debian with 2.0.38 kernel,
> pcmcia modem (Hayes Accura v.90) and nothing can be updated.
> When I use the ethernet card to connect on a LAN, all works ok.
> /etc/ppp/pap-secrets and chap-secrets are -rw------- root.dialout,
> /etc/resolv.conf only refers to eth0, my machine name, no other text.
>
> Thanks in advance!
>
> Mike
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>



More information about the talk mailing list