Subject: Re: can't connect to the Internet. 1st time pppoe.
To: None <netbsd-help@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 05/17/2006 23:35:20
On Mon, May 15, 2006 at 01:30:41PM +0900, Henry Nelson wrote:
> On Sun, May 14, 2006 at 08:14:01PM +0900, Henry Nelson wrote:
> > When I reboot with an automatic setup I repeatedly get the error
> > "pppoe0: received unexpected PADO".  The message is repeated in
> > rapid succession, so the console fills up in no time.
> 
> In more detail, the message is repeated 7 times in very rapid succession,
> followed by a very short pause and then seven times again.  Then there is
> a pause of a few seconds, after which the cycle repeats -- so essencially,
> 14 lines, pause, 14lines ...
> 
> > Having zero experience with pppoe, I really don't know where to
> > start.  It does seem strange to me that nowhere is there an IP
> > address associated with this connection, at least not one shown
> 
> This isn't quite right.  Looking more carefully, there is an IP address
> of sorts: "inet 0.0.0.0 -> 0.0.0.1 netmask 0xff000000".  This doesn't
> seem right, though.  Shouldn't those be "real" IP addresses, and with a
> netmask of 0xffffff00 or 0xffffffff?  Those 0.0.0.0 and 0.0.0.1 are
> the numbers I supply in the /etc/ifconfig.pppoe0 file.  Should I not
> supply them, and only declare the pppoe interface "up"?

No, this is correct. pppoe is supposed to change these when it has successully
established a session with the server.

Can you try to tcpdump the underlying interface (tcpdump -s 1500) to see
what is happening on wire ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--