помогите с запуском mpd5
выкачал образ, залил на VM Server
подредактировал rc.config. а именно на em0 поставил "DHCP", и поднял интерфейс vlan4.
поправил конфиг mpd.conf
startup:
set user admin somenotlamempdpppoepassword
set console self 127.0.0.1 5005
set console open
set web self 0.0.0.0 5006
set web open
default:
load pppoe_server
pppoe_server:
create bundle template B
set ipcp ranges 10.1.1.254/32 127.0.0.2/32
set ipcp dns 192.168.94.2
set ccp yes mppc
set mppc yes e40
set mppc yes e56
set mppc yes e128
set mppc yes stateless
set ecp disable dese-bis dese-old
create link template common pppoe
set link enable multilink
set link action bundle B
set link disable chap pap eap
set link enable pap
load radius
set pppoe service "*"
create link template em1 common
set link max-children 1000
set pppoe iface vlan4
set link enable incoming
radius:
set radius server localhost secretradiuspassword 1812 1813
set radius retries 3
set radius timeout 3
set radius me 127.0.0.1
set auth acct-update 45
set auth enable radius-auth
set auth enable radius-acct
set radius enable message-authentic
менял только выделеное.
после ребута pppoe сесия не поднимается( по логу mpd определить что за бок не могу
лог mpd
Jan 13 23:12:22 nodenydemo1 mpd: process 22902 started, version 5.5 (
root@nodenydemo1.localdomain 16:09 6-Mar-2010)
Jan 13 23:12:22 nodenydemo1 mpd: CONSOLE: listening on 127.0.0.1 5005
Jan 13 23:12:22 nodenydemo1 mpd: web: listening on 0.0.0.0 5006
Jan 13 23:12:22 nodenydemo1 mpd: PPPoE: waiting for connection on vlan4:, service "*"
Jan 13 23:16:41 nodenydemo1 mpd: caught fatal signal term
Jan 13 23:16:43 nodenydemo1 mpd:
Bundle: Shutdown
Jan 13 23:16:43 nodenydemo1 mpd: [common] Link: Shutdown
Jan 13 23:16:43 nodenydemo1 mpd: [em1] Link: Shutdown
Jan 13 23:16:43 nodenydemo1 mpd: PPPoE: stop waiting for connection on vlan4:, service "*"
Jan 13 23:16:43 nodenydemo1 mpd: process 22902 terminated
Jan 13 23:16:50 nodenydemo1 mpd: Multi-link PPP daemon for FreeBSD
Jan 13 23:16:50 nodenydemo1 mpd:
Jan 13 23:16:50 nodenydemo1 mpd: process 23012 started, version 5.5 (root@nodenydemo1.localdomain 16:09 6-Mar-2010)
Jan 13 23:16:50 nodenydemo1 mpd: CONSOLE: listening on 127.0.0.1 5005
Jan 13 23:16:50 nodenydemo1 mpd: web: listening on 0.0.0.0 5006
Jan 13 23:16:50 nodenydemo1 mpd: PPPoE: waiting for connection on em1:, service "*"
Jan 13 23:17:06 nodenydemo1 mpd: Incoming PPPoE connection request via em1: for service "" from 00:0e:a6:a6:45:00
Jan 13 23:17:06 nodenydemo1 mpd: [em1-2] Accepting PPPoE connection
Jan 13 23:17:06 nodenydemo1 mpd: [em1-2] Link: OPEN event
Jan 13 23:17:06 nodenydemo1 mpd: [em1-2] LCP: Open event
Jan 13 23:17:06 nodenydemo1 mpd: [em1-2] LCP: state change Initial --> Starting
Jan 13 23:17:06 nodenydemo1 mpd: [em1-2] LCP: LayerStart
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] PPPoE connection timeout after 9 seconds
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] Link: DOWN event
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] LCP: Close event
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] LCP: state change Starting --> Initial
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] LCP: LayerFinish
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] LCP: Down event
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] Link: SHUTDOWN event
Jan 13 23:17:15 nodenydemo1 mpd: [em1-2] Link: Shutdown
Jan 13 23:17:15 nodenydemo1 mpd: PPPoE: message 7 from unexisting link "2"
Jan 13 23:18:17 nodenydemo1 mpd: Incoming PPPoE connection request via em1: for service "slnet" from 00:17:9a:31:94:27
Jan 13 23:18:17 nodenydemo1 mpd: [em1-2] Accepting PPPoE connection
Jan 13 23:18:17 nodenydemo1 mpd: [em1-2] Link: OPEN event
Jan 13 23:18:17 nodenydemo1 mpd: [em1-2] LCP: Open event
Jan 13 23:18:17 nodenydemo1 mpd: [em1-2] LCP: state change Initial --> Starting
Jan 13 23:18:17 nodenydemo1 mpd: [em1-2] LCP: LayerStart
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] PPPoE connection timeout after 9 seconds
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] Link: DOWN event
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] LCP: Close event
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] LCP: state change Starting --> Initial
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] LCP: LayerFinish
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] LCP: Down event
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] Link: SHUTDOWN event
Jan 13 23:18:26 nodenydemo1 mpd: [em1-2] Link: Shutdown
Jan 13 23:18:26 nodenydemo1 mpd: PPPoE: message 7 from unexisting link "2"
Jan 13 23:18:51 nodenydemo1 mpd: Incoming PPPoE connection request via em1: for service "slnet" from 00:30:4f:5b:d2:80
Jan 13 23:18:51 nodenydemo1 mpd: [em1-2] Accepting PPPoE connection
Jan 13 23:18:51 nodenydemo1 mpd: [em1-2] Link: OPEN event
Jan 13 23:18:51 nodenydemo1 mpd: [em1-2] LCP: Open event
Jan 13 23:18:51 nodenydemo1 mpd: [em1-2] LCP: state change Initial --> Starting
Jan 13 23:18:51 nodenydemo1 mpd: [em1-2] LCP: LayerStart
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] PPPoE connection timeout after 9 seconds
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] Link: DOWN event
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] LCP: Close event
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] LCP: state change Starting --> Initial
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] LCP: LayerFinish
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] LCP: Down event
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] Link: SHUTDOWN event
Jan 13 23:19:00 nodenydemo1 mpd: [em1-2] Link: Shutdown
Jan 13 23:19:00 nodenydemo1 mpd: PPPoE: message 7 from unexisting link "2"