Приветствую всех.
Возникла следующая проблема, mpd после разрыва сессии не подключается заново. Причем проблема носит случайный характер, бывает подключается, а бывает нет.
mpd.conf:default:
load std_pppoe
std_pppoe:
#
# PPPoE client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
#
create bundle static B1
set iface up-script /etc/firewall/std_up.rules
set iface down-script /etc/firewall/std_down.rules
set iface route default
set iface enable tcpmssfix
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set ipcp disable vjcomp
create link static L1 pppoe
set link action bundle B1
set auth authname x
set auth password x
set link max-redial 0
set link mtu 1492
set link mru 1492
set link disable protocomp
set link keep-alive 10 40
set link redial-delay 10
set link enable passive
set pppoe iface fxp1
set pppoe service ""
open
mpd.log в момент неудачной попытки:
Jun 10 14:48:19 mpd: [B1] IFACE: Up event
Jun 10 18:10:04 mpd: [L1] LCP: rec'd Terminate Request #2 (Opened)
Jun 10 18:10:04 mpd: [L1] LCP: state change Opened --> Stopping
Jun 10 18:10:04 mpd: [L1] Link: Leave bundle "B1"
Jun 10 18:10:04 mpd: [B1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Jun 10 18:10:04 mpd: [B1] IPCP: Close event
Jun 10 18:10:04 mpd: [B1] IPCP: state change Opened --> Closing
Jun 10 18:10:04 mpd: [B1] IPCP: SendTerminateReq #3
Jun 10 18:10:04 mpd: [B1] IPCP: LayerDown
Jun 10 18:10:04 mpd: [B1] IFACE: Down event
Jun 10 18:10:04 mpd: [B1] IPCP: Down event
Jun 10 18:10:04 mpd: [B1] IPCP: LayerFinish
Jun 10 18:10:04 mpd: [B1] Bundle: No NCPs left. Closing links...
Jun 10 18:10:04 mpd: [B1] IPCP: state change Closing --> Initial
Jun 10 18:10:04 mpd: [L1] LCP: SendTerminateAck #2
Jun 10 18:10:04 mpd: [L1] LCP: LayerDown
Jun 10 18:10:07 mpd: [L1] LCP: state change Stopping --> Stopped
Jun 10 18:10:07 mpd: [L1] LCP: LayerFinish
Jun 10 18:10:07 mpd: [L1] PPPoE: connection closed
Jun 10 18:10:07 mpd: [L1] Link: DOWN event
Jun 10 18:10:07 mpd: [L1] LCP: Down event
Jun 10 18:10:07 mpd: [L1] LCP: state change Stopped --> Starting
Jun 10 18:10:07 mpd: [L1] LCP: LayerStart
Jun 10 18:10:07 mpd: [L1] Link: reconnection attempt 1 in 13 seconds
Jun 10 18:10:20 mpd: [L1] Link: reconnection attempt 1
Jun 10 18:10:20 mpd: [L1] PPPoE: Connecting to ''
Jun 10 18:10:20 mpd: PPPoE: rec'd ACNAME "deb210"
Jun 10 18:10:20 mpd: [L1] PPPoE: connection successful
Jun 10 18:10:20 mpd: [L1] Link: UP event
Jun 10 18:10:20 mpd: [L1] LCP: Up event
Jun 10 18:10:20 mpd: [L1] LCP: state change Starting --> Req-Sent
Jun 10 18:10:20 mpd: [L1] LCP: SendConfigReq #3
Jun 10 18:10:20 mpd: [L1] MRU 1492
Jun 10 18:10:20 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:22 mpd: [L1] LCP: SendConfigReq #4
Jun 10 18:10:22 mpd: [L1] MRU 1492
Jun 10 18:10:22 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:24 mpd: [L1] LCP: SendConfigReq #5
Jun 10 18:10:24 mpd: [L1] MRU 1492
Jun 10 18:10:24 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:26 mpd: [L1] LCP: SendConfigReq #6
Jun 10 18:10:26 mpd: [L1] MRU 1492
Jun 10 18:10:26 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:28 mpd: [L1] LCP: SendConfigReq #7
Jun 10 18:10:28 mpd: [L1] MRU 1492
Jun 10 18:10:28 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:30 mpd: [L1] LCP: SendConfigReq #8
Jun 10 18:10:30 mpd: [L1] MRU 1492
Jun 10 18:10:30 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:32 mpd: [L1] LCP: SendConfigReq #9
Jun 10 18:10:32 mpd: [L1] MRU 1492
Jun 10 18:10:32 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:34 mpd: [L1] LCP: SendConfigReq #10
Jun 10 18:10:34 mpd: [L1] MRU 1492
Jun 10 18:10:34 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:36 mpd: [L1] LCP: SendConfigReq #11
Jun 10 18:10:36 mpd: [L1] MRU 1492
Jun 10 18:10:36 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:38 mpd: [L1] LCP: SendConfigReq #12
Jun 10 18:10:38 mpd: [L1] MRU 1492
Jun 10 18:10:38 mpd: [L1] MAGICNUM 43ff9e37
Jun 10 18:10:40 mpd: [L1] LCP: parameter negotiation failed
Jun 10 18:10:40 mpd: [L1] LCP: state change Req-Sent --> Stopped
После этого mpd никаких действий не производит. Такая же проблема наблюдается и с штатным ppp из FreeBSD. Если mpd рестартануть, то соединение поднимается.