CHAP and Worldnet

CHAP and Worldnet

Post by Mark Uhte » Mon, 17 Mar 1997 04:00:00



Hi,

Like alot of others, I'm having problems connecting to AT&T with Linux. All
software is from Slackware '96 (2.0.27 of the kernel, 2.2.0f of ppp). It
appears from the log that the CHAP negotiation fails (the LCP Config Rej
lines) but yet I can get an IP address. Executing 'netstat -rn' loks okay
and 'ifconfig' does too except it shows an error with one receive packet.
After about 10 seconds, the connection drops. The chap-secrets file was set
up as the example from WURD so I'm guessing one of the options is amiss.

Any help would be appreciated,
Mark

Mar 15 21:50:43 xps pppd[109]: pppd 2.2.0 started by root, uid 0
Mar 15 21:51:00 xps pppd[109]: Serial connection established.
Mar 15 21:51:01 xps pppd[109]: Using interface ppp0
Mar 15 21:51:01 xps pppd[109]: Connect: ppp0 <--> /dev/cua0
Mar 15 21:51:01 xps pppd[109]: sent [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0x0> <magic 0xfd7af8da> <accomp>]
Mar 15 21:51:02 xps pppd[109]: rcvd [LCP ConfReq id=0x20 <asyncmap 0x0>
<pcomp> <accomp> <auth chap md5>]
Mar 15 21:51:02 xps pppd[109]: sent [LCP ConfRej id=0x20 <pcomp> <auth chap
md5>]
Mar 15 21:51:02 xps pppd[109]: rcvd [LCP ConfRej id=0x1 <mru 1500> <magic
0xfd7af8da>]
Mar 15 21:51:02 xps pppd[109]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<accomp>]
Mar 15 21:51:02 xps pppd[109]: rcvd [LCP ConfReq id=0x22 <asyncmap 0x0>
<accomp>]
Mar 15 21:51:02 xps pppd[109]: sent [LCP ConfAck id=0x22 <asyncmap 0x0>
<accomp>]
Mar 15 21:51:02 xps pppd[109]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
<accomp>]
Mar 15 21:51:02 xps pppd[109]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
Mar 15 21:51:02 xps pppd[109]: rcvd [IPCP ConfNak id=0x1 <addr
207.147.176.38>]
Mar 15 21:51:02 xps pppd[109]: sent [IPCP ConfReq id=0x2 <addr
207.147.176.38>]
Mar 15 21:51:03 xps pppd[109]: rcvd [IPCP ConfAck id=0x2 <addr
207.147.176.38>]
Mar 15 21:51:03 xps pppd[109]: rcvd [IPCP ConfReq id=0x26 <addr
207.147.176.1> <compress VJ 0f 01>]
Mar 15 21:51:03 xps pppd[109]: sent [IPCP ConfRej id=0x26 <compress VJ 0f
01>]
Mar 15 21:51:03 xps pppd[109]: rcvd [IPCP ConfReq id=0x27 <addr
207.147.176.1>]
Mar 15 21:51:03 xps pppd[109]: sent [IPCP ConfAck id=0x27 <addr
207.147.176.1>]
Mar 15 21:51:03 xps pppd[109]: local  IP address 207.147.176.38
Mar 15 21:51:03 xps pppd[109]: remote IP address 207.147.176.1
Mar 15 21:51:56 xps pppd[109]: rcvd [LCP TermReq id=0x28]
Mar 15 21:51:56 xps pppd[109]: LCP terminated at peer's request
Mar 15 21:51:56 xps pppd[109]: sent [LCP TermAck id=0x28]
Mar 15 21:51:59 xps pppd[109]: Connection terminated.
Mar 15 21:51:59 xps pppd[109]: Exit.

 
 
 

CHAP and Worldnet

Post by Mark Sutto » Wed, 19 Mar 1997 04:00:00



>Hi,

>Like alot of others, I'm having problems connecting to AT&T with Linux. All
>software is from Slackware '96 (2.0.27 of the kernel, 2.2.0f of ppp). It
>appears from the log that the CHAP negotiation fails (the LCP Config Rej
>lines) but yet I can get an IP address. Executing 'netstat -rn' loks okay
>and 'ifconfig' does too except it shows an error with one receive packet.
>After about 10 seconds, the connection drops. The chap-secrets file was set
>up as the example from WURD so I'm guessing one of the options is amiss.

>Any help would be appreciated,
>Mark

[log snipped]

The log output you posted is consistent with your chap secret being
"wrong".

You need to put your chap secret in "double quotes" in your chap-secrets
file.  AT&T secrets tend to contain special characters like "*", which
will not be transmitted properly unless your secret is contained
in double quotes.

Hope this helps you.  Worldnet works fine from Linux for me.
--
------------------------------------------------------------------------

|  The Laitram Corporation     | http://www.gnofn.org/~marksu/         |
|  New Orleans, Louisiana      |                                       |
------------------------------------------------------------------------

 
 
 

CHAP and Worldnet

Post by B.A.McCau.. » Thu, 20 Mar 1997 04:00:00



Quote:>Like alot of others, I'm having problems connecting to AT&T with Linux. All
>software is from Slackware '96 (2.0.27 of the kernel, 2.2.0f of ppp). It
>appears from the log that the CHAP negotiation fails (the LCP Config Rej
>lines) but yet I can get an IP address. Executing 'netstat -rn' loks okay
>and 'ifconfig' does too except it shows an error with one receive packet.
>After about 10 seconds, the connection drops. The chap-secrets file was set
>up as the example from WURD so I'm guessing one of the options is amiss.

You are "guessing one of the options is amiss" and yet you want us to
guess which one without seeing them!?  Why!?

Looks to me like you've got "+chap" and maybe "+auth" in you
ppp-options.  If so remove them.  For details "man pppd".

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

1. pppd - PAP, CHAP, MS-CHAP, MS-CHAP-v2 protocol negotiation

Hi,

We have clients connecting to pppd 2.4.2b1.
Clients are able to connect using PAP, CHAP, MS-CHAP, MS-CHAP-v2 if
the pppd configuration is set up to require a specific protocol, eg:

If we change /etc/ppp/options to not request a specific protocol,
clients can only connect using PAP or MS-CHAP-V2. Client trying to
connect through CHAP or MS-CHAP fail and Pppd logs the error "peer
refused to authenticate: terminating link"

pppd configuration:

We'd like our clients to be able to connect using PAP, CHAP, MS-CHAP
or MS-CHAP-v2, the protocol being negotiated by server and client...

I suppose it's a pppd configuration issue; any help is highly
appreciated.
Thx.
dan

2. Samba build problems

3. CHAP for Worldnet

4. PPP and My USR Sportster 28.8

5. Setup PPP CHAP for use with AT&T Worldnet

6. compiler error

7. Linux CHAP ATT WorldNet ET All

8. Smail on Intermittent SLIP connection ?

9. CHAP, Worldnet, and Linux

10. PPP and ATT Worldnet CHAP

11. Trouble PPPing suse 5.3 worldnet chap

12. PPP CHAP Worldnet Authentication Problem

13. CHAP fails connect to worldnet.att.net