Subject: Re: misc/33898: "NetBSD Documentation: Steps to connect via PPPoE (DSL)" needs correction
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Henry Nelson <netb@yuba.ne.jp>
List: netbsd-bugs
Date: 07/04/2006 21:45:02
The following reply was made to PR misc/33898; it has been noted by GNATS.

From: Henry Nelson <netb@yuba.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/33898: "NetBSD Documentation: Steps to connect via PPPoE (DSL)" needs correction
Date: Wed, 5 Jul 2006 06:43:08 +0900

 On Mon, Jul 03, 2006 at 09:55:02AM +0000, Martin Husemann wrote:
 > The following reply was made to PR misc/33898; it has been noted by GNATS.
 >  On Mon, Jul 03, 2006 at 08:35:00AM +0000, henry nelson wrote:
 >  > 	If "/etc/ifconfig.pppoe0" has "0.0.0.0 0.0.0.1 up" as its last line,
 >  > 	pppoe0 is always "inet 0.0.0.0 -> 0.0.0.1 netmask 0xff000000"
 >  > 	and never gets a real ip address.
 >  
 >  It works for me just fine with netmask 0xff000000 (and I don't see why
 >  netmask should make a difference here).
 
 I don't think netmask has anything to do with the problem.  My problem
 report is about the "! /sbin/ifconfig pppoe0 inet " which I needed to
 prefix to the "0.0.0.0 0.0.0.1 up" that is in the instructions.
 
 With only "0.0.0.0 0.0.0.1 up" in "/etc/ifconfig.pppoe0", it did not
 work.  As you know, I tried everything.  After I prefixed (only change)
 "! /sbin/ifconfig pppoe0 inet " to that, it started working immediately.
 
 If the "netmask 0xffffffff" that I added in my patch is incorrect,
 please remove it.  That is NOT the important part.  Prefixing the
 command is what is essential.  I will try it without the netmask as
 soon as possible, but now that the machine is in production it will
 be about 3 weeks before I can do shutdown maintenance.
 
 >  Could you try to boot single user, leave all other interfaces untouched,
 >  just configure pppoe0 manually, add the default route and then ping
 
 It always worked when manually configured (exactly as the instructions say).
 
 Thank you.
 
 (And thanks for all your help and encouragement when I was struggling
 to get it working.)
 
 -- 
 henry n.