Bug 62477 - mpd "can't connect bypass,link0"
Summary: mpd "can't connect bypass,link0"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Archie Cobbs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 13:40 UTC by Antoine VuNgoc
Modified: 2004-04-13 18:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine VuNgoc 2004-02-07 13:40:02 UTC
mpd starting log this:

Feb  7 11:56:28 cleopatre mpd: mpd: pid 284, version 3.16 (root@cleopatre 01:41  6-Feb-2004)
Feb  7 11:56:28 cleopatre mpd: [test] ppp node is "mpd284-test"
Feb  7 11:56:28 cleopatre mpd: [test] using interface ng0
Feb  7 11:56:28 cleopatre mpd: [test] IPCP: peer address cannot be zero
Feb  7 11:56:28 cleopatre mpd: [test] IFACE: Open event
Feb  7 11:56:28 cleopatre mpd: [test] IPCP: Open event
Feb  7 11:56:28 cleopatre mpd: [test] IPCP: state change Initial --> Starting
Feb  7 11:56:28 cleopatre mpd: [test] IPCP: LayerStart
Feb  7 11:56:28 cleopatre mpd: [test] bundle: OPEN event in state CLOSED
Feb  7 11:56:28 cleopatre mpd: [test] opening link "pppoe"...
Feb  7 11:56:28 cleopatre mpd: [pppoe] link: OPEN event
Feb  7 11:56:28 cleopatre mpd: [pppoe] LCP: Open event
Feb  7 11:56:28 cleopatre mpd: [pppoe] LCP: state change Initial --> Starting
Feb  7 11:56:28 cleopatre mpd: [pppoe] LCP: LayerStart
Feb  7 11:56:28 cleopatre mpd: [pppoe] device: OPEN event in state DOWN
Feb  7 11:56:28 cleopatre mpd: [test] can't connect bypass,link0 and dc0:orphans,mpd284-pppoe: No such file or directory
Feb  7 11:56:28 cleopatre mpd: [test] can't remove hook mpd284-pppoe from node "dc0:orphans": No such file or directory
Feb  7 11:56:28 cleopatre mpd: [pppoe] device is now in state OPENING
Feb  7 11:56:28 cleopatre mpd: [pppoe] device: DOWN event in state OPENING
Feb  7 11:56:28 cleopatre mpd: [pppoe] device is now in state DOWN
Feb  7 11:56:28 cleopatre mpd: [pppoe] link: DOWN event
Feb  7 11:56:28 cleopatre mpd: [pppoe] LCP: Down event
Feb  7 11:56:28 cleopatre mpd: [pppoe] device: OPEN event in state DOWN
Feb  7 11:56:28 cleopatre mpd: [pppoe] pausing 6 seconds before open
Feb  7 11:56:28 cleopatre mpd: [pppoe] device is now in state DOWN

Seems mpd is looking for hook named "orphans"
after this command: 
/usr/sbin/ngctl mkpeer dc0: pppoe orphans ethernet
mpd starts correctly.

Fix: 

workaround:
insert "ngctl mkeeper" command in the start-up script.

definitive: mpd should create "orphans" if it doesn't already exist.
How-To-Repeat: Start mpd after a fresh reboot or
stop mpd if already running.
/usr/sbin/ngctl rmhook your-interface: orphans
start mpd
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-07 16:05:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->archie

Over to maintainer.
Comment 2 Archie Cobbs freebsd_committer freebsd_triage 2004-04-13 18:42:28 UTC
State Changed
From-To: open->closed

Patch applied to port net/mpd.