Subject: bin/33988: ifconfig broken for pppoe
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <krille@users.sf.net>
List: netbsd-bugs
Date: 07/12/2006 20:15:00
>Number:         33988
>Category:       bin
>Synopsis:       ifconfig broken for pppoe
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 12 20:15:00 +0000 2006
>Originator:     Christian Hattemer
>Release:        3.99.21
>Organization:
>Environment:
NetBSD foo 3.99.21 NetBSD 3.99.21 (WRAP) #1: Wed Jul 12 13:27:45 CEST 2006
>Description:
pppoe interfaces don't show up in ifconfig -a and ifconfig pppoe0 does
nothing. After an "ifconfig pppoe0 0.0.0.0 0.0.0.1" ifconfig -a shows
"ifconfig: SIOCGIFFLAGS : Device not configured" in the place where the
configuration for pppoe0 would normally be listed.

You can go up and down with the interface and use pppoectl to configure
the DSL related stuff and look at the status. That seems to work normally,
but I didn't try for real.

Kernel and userland have been built and installed at the same time from yesterdays -current.
>How-To-Repeat:
; Create it
ifconfig pppoe0 create
; See that it's missing
ifconfig -a
; Nothing here
ifconfig pppoe0
; Add some IP
ifconfig pppoe0 0.0.0.0 0.0.0.1
; Still nothing
ifconfig pppoe0
; Here's the error
ifconfig -a
>Fix:
Unknown.