Здравствуйте
есть FreeBSD 4.10, mpd-3.18, Фри собрана с модулями netgraph (mppc,
mppe).
В логе mpd.log пишет
Feb 7 18:51:46 gamma mpd: mpd: pid 416, version 3.18 (root@gohan38.freebsd.org 04:43 4-Jan-2005)
Feb 7 18:51:46 gamma mpd: [pptp0] ppp node is "mpd416-pptp0"
Feb 7 18:51:46 gamma mpd: [pptp0] using interface ng0
Feb 7 18:51:46 gamma mpd: mpd: local IP address for PPTP is
192.168.9.249
Feb 7 18:52:42 gamma mpd: mpd: PPTP connection from 192.168.9.4:1063
Feb 7 18:52:42 gamma mpd: pptp0: attached to connection with
192.168.9.4:1063
Feb 7 18:52:42 gamma mpd: [pptp0] IFACE: Open event
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: Open event
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: state change Initial --> Starting
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: LayerStart
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: Open event
Feb 7 18:52:42 gamma mpd: [pptp0] bundle: OPEN event in state CLOSED
Feb 7 18:52:42 gamma mpd: [pptp0] opening link "pptp0"...
Feb 7 18:52:42 gamma mpd: [pptp0] link: OPEN event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: Open event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: state change Initial --> Starting
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: LayerStart
Feb 7 18:52:42 gamma mpd: [pptp0] device: OPEN event in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] attaching to peer's outgoing call
Feb 7 18:52:42 gamma mpd: [pptp0] can't config pptpgre node: Invalid argument
Feb 7 18:52:42 gamma mpd: pptp0-0: killing channel
Feb 7 18:52:42 gamma mpd: [pptp0] PPTP call cancelled in state CONNECTING
Feb 7 18:52:42 gamma mpd: pptp0: closing connection with 192.168.9.4:1063
Feb 7 18:52:42 gamma mpd: [pptp0] IFACE: Close event
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: Close event
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: state change Starting --> Initial
Feb 7 18:52:42 gamma mpd: [pptp0] IPCP: LayerFinish
Feb 7 18:52:42 gamma mpd: [pptp0] device is now in state OPENING
Feb 7 18:52:42 gamma mpd: [pptp0] bundle: CLOSE event in state OPENED
Feb 7 18:52:42 gamma mpd: [pptp0] closing link "pptp0"...
Feb 7 18:52:42 gamma mpd: [pptp0] device: DOWN event in state OPENING
Feb 7 18:52:42 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] link: CLOSE event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: Close event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: state change Starting --> Initial
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: LayerFinish
Feb 7 18:52:42 gamma mpd: [pptp0] device: DOWN event in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:42 gamma mpd: pptp0: got StopCtrlConnRequest: reason=local shutdown
Feb 7 18:52:42 gamma mpd: pptp0: killing connection with 192.168.9.4:1063
Feb 7 18:52:42 gamma mpd: [pptp0] link: DOWN event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: Down event
Feb 7 18:52:42 gamma mpd: [pptp0] device: CLOSE event in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] link: DOWN event
Feb 7 18:52:42 gamma mpd: [pptp0] LCP: Down event
Feb 7 18:52:42 gamma mpd: [pptp0] device: OPEN event in state DOWN
Feb 7 18:52:42 gamma mpd: [pptp0] pausing 7 seconds before open
Feb 7 18:52:42 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:49 gamma mpd: [pptp0] device: OPEN event in state DOWN
Feb 7 18:52:49 gamma mpd: [pptp0] pausing 1 seconds before open
Feb 7 18:52:49 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:50 gamma mpd: [pptp0] device: OPEN event in state DOWN
Feb 7 18:52:50 gamma mpd: [pptp0] pptp originate option is not enabled
Feb 7 18:52:50 gamma mpd: [pptp0] device is now in state OPENING
Feb 7 18:52:50 gamma mpd: [pptp0] device: DOWN event in state OPENING
Feb 7 18:52:50 gamma mpd: [pptp0] device is now in state DOWN
Feb 7 18:52:50 gamma mpd: [pptp0] link: DOWN event
Feb 7 18:52:50 gamma mpd: [pptp0] LCP: Down event
конфиги mpd.conf
default:
load pptp0
pptp0:
new -i ng0 pptp0 pptp0
set ipcp ranges 192.168.10.1/24 192.168.10.2/24
load pptp_standart
#
pptp_standart:
set iface disable on-demand
set bundle disable multilink
set link yes acfcomp protocomp
set link disable pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
set iface enable proxy-arp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
set pptp self 192.168.9.249
set pptp enable incoming
set pptp disable originate
set iface mtu 1490
set link mtu 1490
Конфиг mpd.links
pptp0:
set link type pptp
Что ему нужно?
Библиотека netgraph_pptpgre есть (собрана)
Выслушаю любые Ваши рекомендации.