Subject: misc/33898: "NetBSD Documentation: Steps to connect via PPPoE (DSL)" needs correction
To: None <,,>
From: henry nelson <>
List: netbsd-bugs
Date: 07/03/2006 08:35:00
>Number:         33898
>Category:       misc
>Synopsis:       "NetBSD Documentation: Steps to connect via PPPoE (DSL)" has incorrect information
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 08:35:00 +0000 2006
>Originator:     henry nelson
>Release:        NetBSD 3.0.0_STABLE
System: NetBSD hows 3.0.0_STABLE NetBSD 3.0.0_STABLE (XXXXX) #1: Wed Jun 7 06:41:01 JST 2006 xxxxx@xxxxx:/usr/src/sys/arch/i386/compile/XXXXX i386
Architecture: i386
Machine: i386
	The instuctions to create "/etc/ifconfig.pppoe0" show as the last
	line " up", but this does not work.  Changing the
	last line of "/etc/ifconfig.pppoe0" to:
	"! /sbin/ifconfig pppoe0 inet netmask 0xffffffff up"
	got PPPoE working for me.
	If "/etc/ifconfig.pppoe0" has " up" as its last line,
	pppoe0 is always "inet -> netmask 0xff000000"
	and never gets a real ip address.
	The following patch works for me, but someone who understands PPPoE
	and ifconfig should check it.
--- pppoe.html.orig	2006-07-03 15:58:41.000000000 +0900
+++ pppoe.html	2006-07-03 15:59:33.000000000 +0900
@@ -223,7 +223,7 @@
 # Configure the PPPoE interface itself. These addresses are magic
 # meaning we don't care about either address and let the remote
 # ppp choose them.
- up
+! /sbin/ifconfig pppoe0 inet netmask 0xffffffff up
 Make sure this file is only readable by root.