Subject: pppd trouble (dialin server with XP client)
To: None <netbsd-help@netbsd.org>
From: Alexander Flott <aflott-netbsd@gmx.de>
List: netbsd-help
Date: 03/12/2005 14:53:48
Hi,
I'm trying to set up a dialin server using mgetty+pppd on NetBSD/i386 2.0.

Hardware is a serial ISDN modem (US Robotics ISDN Pro TA) plugged into tty03.
mgetty fires up pppd just fine and pppd accepts my username an password.
But when it comes to handling out the IP stuff, things get hosed :-( .

Okay, this my AutoPPP line in mgetty's login.conf

/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap debug

My /etc/ppp/options file looks like:

lock
nodetach
modem
require-pap
crtscts
asyncmap 0
# Disable the compession stuff
noccp
novj
novjccomp
nodeflate
nobsdcomp
#
proxyarp
debug
logfile /etc/ppp/pppd.log

On pap-secrets I have only:

alex  * <mypasswd> *

On the Win XP Home box I disabled LCP extensions and protocol compression 
options. Authentification protocol is set to PAP.

Now when I do a call I get a pppd.log like this:

sing interface ppp0
Connect: ppp0 <--> /dev/tty03
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xf72b95e5> <pcomp> 
<accomp>]
rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap> <magic 0xf72b95e5>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap> <magic 0xf72b95e5>]
rcvd [LCP ConfReq id=0x2 <magic 0x58e56ae1> <asyncmap 0x0>]
sent [LCP ConfAck id=0x2 <magic 0x58e56ae1> <asyncmap 0x0>]
rcvd [PAP AuthReq id=0x3 user="alex" password=<hidden>]
sent [PAP AuthAck id=0x3 "Login ok"]
sent [IPCP ConfReq id=0x1 <addr 192.168.0.7>]
rcvd [LCP ProtRej id=0x1e 00 00 02 20 00 05 00]
Protocol-Reject for unsupported protocol 0x0
sent [IPCP ConfReq id=0x1 <addr 192.168.0.7>]
rcvd [LCP ProtRej id=0x1e 00 00 02 21 00 05 00]
Protocol-Reject for unsupported protocol 0x0
sent [IPCP ConfReq id=0x1 <addr 192.168.0.7>]
rcvd [LCP ProtRej id=0x3 00 00 02 22 00 05 00]
Protocol-Reject for unsupported protocol 0x0
[ ...countinues...  ]
sent [IPCP ConfReq id=0x1 <addr 192.168.0.7>]
sent [IPCP ConfReq id=0x1 <addr 192.168.0.7>]
rcvd [LCP ProtRej id=0xb 00 00 02 27 00 05 00]
Protocol-Reject for unsupported protocol 0x0
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x3 "No network protocols running"]
rcvd [LCP TermAck id=0x3]
Connection terminated.
Connect time 0.6 minutes.
Sent 331 bytes, received 392 bytes.

Any suggestions?

Thanks

-Alex