Date: Tue, 24 Jan 2006 16:14:42 GMT From: Florian Klemenz <fok@gmx.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/92270: ppp does not work on renamed network interfaces Message-ID: <200601241614.k0OGEg27042993@www.freebsd.org> Resent-Message-ID: <200601241620.k0OGK4YX082036@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92270 >Category: misc >Synopsis: ppp does not work on renamed network interfaces >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 24 16:20:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Florian Klemenz >Release: 6.0 >Organization: >Environment: FreeBSD revenant.fok 6.0-RELEASE-p3-fok1 FreeBSD 6.0-RELEASE-p3-fok1 #1: Mon Jan 23 12:27:53 CET 2006 fok@revenant.fok:/usr/obj/usr/src/sys/REVENANT i386 >Description: ppp fails establishing a PPPoE connection when using a renamed network interface. Could be a bug in ppp or netgraph. >How-To-Repeat: /etc.rc.conf: [..] ifconfig_sis1_name="dsl0" ifconfig_dsl0="up" [..] /etc/ppp/ppp.conf: default: set device PPPoE:dsl0 [..] ppp command line: /usr/sbin/ppp -quiet -ddial -nat default /var/log/ppp.log: [..] Jan 24 16:00:14 revenant ppp[223]: Warning: dsl0: Cannot send a netgraph message: No such file or directory Jan 24 16:01:14 revenant ppp[223]: Warning: deflink: PPPoE: unknown host Jan 24 16:02:14 revenant ppp[223]: Warning: deflink: PPPoE: unknown host Jan 24 16:02:14 revenant ppp[223]: Warning: deflink: Device (PPPoE:dsl0) must begin with a '/', a '!' or contain at least one ':' Jan 24 16:02:14 revenant ppp[223]: Chat: Failed to open device [..] However, changing /etc/ppp/ppp.conf to use the original interface name ("set device PPPoE:sis1")establishes a connection, but there are still some issues since sis1 should really be addressed as dsl0: /var/log/ppp.log: Jan 24 16:13:11 revenant ppp[692]: Error: iface_ChangeFlags: ioctl(SIOCGIFFLAGS): Device not configured Jan 24 16:13:11 revenant ppp[692]: Warning: deflink: Failed to set the IFF_UP flag on sis1 >Fix: Workaround: Don't rename the interface which is used by ppp and everything works just fine. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601241614.k0OGEg27042993>