mpd 4.0b5 does not want to work

a at zeos.net a at zeos.net
Fri Nov 10 17:34:57 UTC 2006


I have compiled and installed mpd 4.0b5
on my PC with FreeBSD 6.1-RELEASE.

Then I created the next files:

# mpd.conf

default:
	new ukrtelecom dsl
	set auth authname "kv_babenko at dsl.ukrtel.net"
	set iface route default
	open iface


# mpd.links

dsl:
	set link type pppoe
	set pppoe iface rl0
	set pppoe enable originate


# mpd.secret

kv_babenko at dsl.ukrtel.net       password


in /usr/local/etc/mpd4.
This files I use successfully with MPD 4.0b2.

Then I typed
mpd4 and get the following:

# mpd4
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 1006, version 4.0b5 (root at localhost 22:32  1-Nov-2006)
Label 'startup' not found
[ukrtelecom] ppp node is "mpd1006-ukrtelecom"
tcpmss node is "mpd1006-mss"
[ukrtelecom] using interface ng0
[ukrtelecom] IFACE: Open event

MPD does not respond any command (keys are echoed on console).

It loads many kernel modules:

$ kldstat 
Id Refs Address    Size     Name
 1   12 0xc0400000 38b600   kernel
 2    1 0xc078c000 58554    acpi.ko
 3    1 0xc4609000 4000     ng_socket.ko
 4    8 0xc460d000 a000     netgraph.ko
 5    1 0xc461f000 3000     ng_iface.ko
 6    1 0xc4622000 6000     ng_ppp.ko
 7    1 0xc4632000 4000     ng_bpf.ko
 8    1 0xc4636000 2000     ng_tcpmss.ko
 9    1 0xc4639000 4000     ng_vjc.ko
10    1 0xc4641000 3000     ng_ether.ko
11    1 0xc4644000 5000     ng_pppoe.ko

But no link is up:

$ ifconfig 
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=8<VLAN_MTU>
	inet6 fe80::202:44ff:fe92:1875%rl0 prefixlen 64 scopeid 0x1 
	inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
	ether 00:02:44:92:18:75
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet 127.0.0.1 netmask 0xff000000 
ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500

MPD respondes only to ^C and reads:

^Cmpd: caught fatal signal int
[ukrtelecom] IPCP: Down event
[ukrtelecom] IPV6CP: Down event
[ukrtelecom] IFACE: Close event
[ukrtelecom] bundle: CLOSE event in state CLOSED
[ukrtelecom] IPCP: Down event
[ukrtelecom] IPV6CP: Down event
[ukrtelecom] IFACE: Close event
mpd: process 1006 terminated
#

What is a problem?

Elisej Babenko


More information about the freebsd-questions mailing list