Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 09:46:31 -0500
From:      Josh Tiefenbach <josh@zipperup.org>
To:        freebsd-net@freebsd.org
Subject:   PPPoE Redux.
Message-ID:  <19991118094631.A9305@snickers.org>

next in thread | raw e-mail | index | archive | help
I feel like I'm in some sort of Skinnerian cage with this whole thing. But
anyways..

Good news and bad news with my ongoing efforts to get PPPoE working with my
MiserableISPFromHell:

1. The PPPoE discovery phase (complete with Host-Uniq tags) seems to be
working:

21:06:02.737380 0:c0:f0:22:35:e1 Broadcast 8863 32: 
                         1109 0000 000c 0101 0000 0103 0004 c0f9
                         a0c0
21:06:02.928455 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8863 69: 
                         1107 0000 0031 0101 0000 0103 0004 c0f9
                         a0c0 0102 001d 3133 3034 3130 3439 3931
                         3833 3632 2d73 6d73 322d 746f 726f 6e74
                         6f36 3301 0100 00
21:06:02.928830 0:c0:f0:22:35:e1 0:10:67:0:3c:ee 8863 65: 
                         1119 0000 002d 0101 0000 0102 001d 3133
                         3034 3130 3439 3931 3833 3632 2d73 6d73
                         322d 746f 726f 6e74 6f36 3301 0300 04c0
                         f9a0 c0
21:06:03.958884 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8863 65: 
                         1165 04ad 002d 0101 0000 0103 0004 c0f9
                         a0c0 0102 001d 3133 3034 3130 3439 3931
                         3833 3632 2d73 6d73 322d 746f 726f 6e74
                         6f36 33

As you can see, the whole PADI/PADO/PADR/PADS/Pad Thai exchange seems to be
working. This is the good news.

2. As I've come to expect, once I clear one hurdle, another one smacks me in
the face :) In this case, it would appear that ppp(8) seems to think that once
we've negotiated the session ID (04ad in this case), that it can drop the
link. In /var/log/ppp.log, I see the phase going from connected ->
disconnected, and I see this on the wire:

21:06:03.971178 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8864 60: 
                         1100 04ad 0014 c021 0110 0012 0104 05d4
                         0304 c023 0506 00fd 386a 0000 cc65 fb54
                         ce6c 641d 066e 0714 001c 0000 0500
21:06:07.088464 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8864 60: 
                         1100 04ad 0014 c021 0110 0012 0104 05d4
                         0304 c023 0506 00fd 386a 00e0 292c 61df
                         0101 0000 0044 0043 0134 2213 0101
21:06:10.088100 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8864 60: 
                         1100 04ad 0014 c021 0110 0012 0104 05d4
                         0304 c023 0506 00fd 386a 0000 cc65 fb54
                         ce6c 641d 066e 0714 001c 0000 0500
21:06:13.088356 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8864 60: 
                         1100 04ad 0014 c021 0110 0012 0104 05d4
                         0304 c023 0506 00fd 386a 8206 0000 0000
                         8406 0000 0000 6174 6963 6f2e 6361
21:06:16.091095 0:10:67:0:3c:ee 0:c0:f0:22:35:e1 8864 60: 
                         1100 04ad 0014 c021 0110 0012 0104 05d4
                         0304 c023 0506 00fd 386a 0000 cc65 fb55
                         ce6c 641d 066e 0714 001c 0000 0500

[Lots more follows]

It certainly looks like that the SMS is sending some sort of PPP packet to me,
but ppp(8) has already given up on life, and isnt listening.

This would be the bad news.

I'm not entirely sure if this is a bogon on my part. My ppp.conf file looks
something like:

-----8<-----
default:
	set device PPPoE:de0
	set authname foo
	set authkey bar
	set timeout 120
	set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
	add default HISADDR
-----8<-----

I'm using files from /sys/netgraph/* , /sys/net/if_ethersubr.c, and
/usr/src/usr.sbin/ppp/* from about 4pm EDT yesterday.

As always, I'm open to suggestions.

josh

-- 
Malkovitch!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991118094631.A9305>