Subject: PPPD config problems:
To: None <current-users@netbsd.org>
From: Segmentation Violation. Core dumped. <greywolf@starwolf.com>
List: current-users
Date: 01/09/1999 20:22:07
Hi, all, me the grey-pawed pppd problem child of the century.

I'm getting messages like these at connect time [and no, having my IP
on display here doesn't scare me yet].

[I'm NetBSD connecting to a FreeBSD pppd.]

There's three sections here:
	* What pppd thinks is going on [/^pppd:]
	* What the kernel thinks is going on [/^kernel:]
	* My configuration file [/^options:]

[Don't let the kernel: messages fool you -- I've patched my syslogd.]

pppd:
Jan  9 19:39:39 starwolf pppd[23154]: pppd 2.3.5 started by root, uid 0
Jan  9 19:39:39 starwolf pppd[23154]: Using interface ppp0
Jan  9 19:39:39 starwolf pppd[23154]: local  IP address 209.157.73.91
Jan  9 19:39:39 starwolf pppd[23154]: remote IP address 209.157.64.97
Jan  9 20:00:02 starwolf pppd[23154]: Starting link
Jan  9 20:00:23 starwolf pppd[23154]: Serial connection established.
Jan  9 20:00:24 starwolf pppd[23154]: Connect: ppp0 <--> /dev/ttya

Jan 9 20:00:24 starwolf pppd[23154]: sent [LCP ConfReq id=0x1 <mru 296>\
	<magic 0xb1d87ba0> <pcomp> <accomp>]

Jan 9 20:00:24 starwolf pppd[23154]: rcvd [LCP ConfAck id=0x1 <mru 296>\
	<magic 0xb1d87ba0> <pcomp> <accomp>]

Jan 9 20:00:26 starwolf pppd[23154]: rcvd [LCP ConfReq id=0x2 <asyncmap \
			0x0> <magic 0x8a4cce8b> <pcomp> <accomp>]

Jan 9 20:00:26 starwolf pppd[23154]: sent [LCP ConfAck id=0x2 <asyncmap \
	0x0> <magic 0x8a4cce8b> <pcomp> <accomp>]

Jan 9 20:00:26 starwolf pppd[23154]: sent [IPCP ConfReq id=0x1 <addr \
	209.157.73.91> <compress VJ 0f 01>]

Jan 9 20:00:27 starwolf pppd[23154]: rcvd [CCP ConfReq id=0x1 < 11 05 00 \
	01 03>]

Jan  9 20:00:27 starwolf pppd[23154]: sent [CCP ConfReq id=0x1]

Jan 9 20:00:27 starwolf pppd[23154]: sent [CCP ConfRej id=0x1 < 11 05 00 \
	01 03>] 

Jan 9 20:00:27 starwolf pppd[23154]: rcvd [IPCP ConfAck id=0x1 <addr \
	209.157.73.91> <compress VJ 0f 01>]

Jan 9 20:00:27 starwolf pppd[23154]: rcvd [IPCP ConfReq id=0x1 <compress \
	VJ 0f 00> <addr 209.157.64.97>]

Jan 9 20:00:27 starwolf pppd[23154]: sent [IPCP ConfAck id=0x1 <compress \
	VJ 0f 00> <addr 209.157.64.97>]

Jan 9 20:00:27 starwolf pppd[23154]: sent [proto=0x21] 45 00 00 3c de fe \
    00 00 40 06 a2 12 d1 9d 49 5b 8c ae 52 04 fe 7e 00 19 52 d3 ec 0b 00 00 \
    00 00 a0 02 40 00 93 95 00 00 02 04 05 b4 01 03 03 00 01 01 08 0a 00 03 \
    40 4d 00 00 00 00

Jan 9 20:00:27 starwolf pppd[23154]: rcvd [CCP ConfNak id=0x1 < 11 05 00 \
	01 03>]

Jan 9 20:00:27 starwolf pppd[23154]: Received bad configure-nak/rej:  11 \
	05 00 01 03

Jan  9 20:00:30 starwolf pppd[23154]: sent [CCP ConfReq id=0x1]

Jan 9 20:00:30 starwolf pppd[23154]: rcvd [CCP ConfNak id=0x1 < 11 05 00 \
	01 03>]

[repeats 8 more times, then]

Jan 9 20:00:54 starwolf pppd[23154]: Received bad configure-nak/rej:  11 \
	05 00 01 03

Jan 9 20:00:54 starwolf pppd[23154]: rcvd [CCP ConfReq id=0x1 < 11 05 00 \
	01 03>]

Jan 9 20:00:54 starwolf pppd[23154]: sent [CCP ConfRej id=0x1 < 11 05 00 \
	01 03>]

Jan  9 20:00:57 starwolf pppd[23154]: CCP: timeout sending Config-Requests

kernel:

Jan  9 20:00:26 starwolf kernel: ppp0: no compressor for [15 3 29], 3
Jan  9 20:00:26 starwolf kernel: ppp0: no compressor for [1a 4 8], 4
Jan  9 20:00:27 starwolf kernel: ppp0: no compressor for [18 4 8], 4
Jan  9 20:00:27 starwolf kernel: ppp0: no compressor for [15 3 29], 3
Jan  9 20:00:27 starwolf kernel: ppp0: no compressor for [1a 4 8], 4
Jan  9 20:00:27 starwolf kernel: ppp0: no compressor for [18 4 8], 4

My /etc/ppp/config looks like this:

209.157.73.91:209.157.64.97
/dev/ttya
38400
bsdcomp 15
connect /etc/ppp/connect
crtscts
debug
kdebug 1
defaultroute
deflate 15
demand
persist
disconnect /etc/ppp/disconnect
holdoff 2
idle 450
lock
modem
mru 296
mtu 296
netmask 255.255.255.255
# Debugging...
noipdefault



				--*greywolf;
--
Support Open Operating Systems -- subvert the Microsoft paradigm.