Страница 1 из 1

MPD problem (can't create tcpmss node at)

Добавлено: 2008-07-04 14:52:21
Pal.
Здравствуйте.
Проблема с mpd-5.1.
Подключение проходит нормально с отключённым tcpmss. Если же его включить, возникают проблемы:

Код: Выделить всё

Jul  4 15:24:04 static mpd: can't create tcpmss node at "[c5]:"->"inet": No such file or directory
Jul  4 15:24:04 static mpd: [B-1] IFACE: IfaceNgIpInit() error, closing IPCP
Jul  4 15:24:04 static mpd: [B-1] IPCP: parameter negotiation failed
Jul  4 15:24:04 static mpd: [B-1] IPCP: state change Opened --> Stopping
Jul  4 15:24:04 static mpd: [B-1] IPCP: SendTerminateReq #3
Jul  4 15:24:04 static mpd: [B-1] IPCP: LayerDown
Jul  4 15:24:04 static mpd: [B-1] IFACE: Removing IPv4 address from ng0 failed: Can't assign requested address
Jul  4 15:24:04 static mpd: [B-1] rec'd unexpected protocol IP
Jul  4 15:24:04 static mpd: [B-1] rec'd unexpected protocol IP
Jul  4 15:24:04 static mpd: [B-1] IPCP: rec'd Terminate Ack #3 (Stopping)
Jul  4 15:24:04 static mpd: [B-1] IPCP: state change Stopping --> Stopped
Jul  4 15:24:04 static mpd: [B-1] IPCP: LayerFinish
Jul  4 15:24:04 static mpd: [B-1] Bundle: No NCPs left. Closing links...
Jul  4 15:24:04 static mpd: [B-1] Bundle: closing link "L-1"...
Jul  4 15:24:04 static mpd: [L-1] Link: CLOSE event
Jul  4 15:24:04 static mpd: [L-1] LCP: Close event
Jul  4 15:24:04 static mpd: [L-1] LCP: state change Opened --> Closing
Jul  4 15:24:04 static mpd: [L-1] Link: Leave bundle "B-1"
Jul  4 15:24:04 static mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Jul  4 15:24:04 static mpd: [B-1] IPCP: Close event
Jul  4 15:24:04 static mpd: [B-1] IPCP: state change Stopped --> Closed
Jul  4 15:24:04 static mpd: [B-1] CCP: Close event
Jul  4 15:24:04 static mpd: [B-1] CCP: state change Opened --> Closing
Jul  4 15:24:04 static mpd: [B-1] CCP: SendTerminateReq #3
Jul  4 15:24:04 static mpd: [B-1] CCP: LayerDown
Jul  4 15:24:04 static mpd: [B-1] IPCP: Down event
Jul  4 15:24:04 static mpd: [B-1] IPCP: state change Closed --> Initial
Jul  4 15:24:04 static mpd: [B-1] CCP: Down event
Jul  4 15:24:04 static mpd: [B-1] CCP: LayerFinish
Jul  4 15:24:04 static mpd: [B-1] CCP: state change Closing --> Initial
Jul  4 15:24:04 static mpd: [B-1] Bundle: Shutdown
mpd.conf:

Код: Выделить всё

startup:
       set user vpngod 12345 admin
       set console self 127.0.0.1 5005
       set console open
       set web self 192.168.0.2 5006
       set web open
default:
        load vpn
vpn:
        set ippool add poolsat 192.168.1.100 192.168.1.254
        create bundle template B
        set iface enable proxy-arp
        set iface idle 1800
        set iface enable tcpmssfix
        set ipcp yes vjcomp
        set ipcp ranges 192.168.1.107/32 ippool poolsat
        set ipcp dns x.x.x.x
        set bundle enable compression
        set ccp yes mppc
        set mppc yes e40
        set mppc yes e128
        set mppc yes stateless
        create link template L pptp
        set link action bundle B
        set link enable multilink
        set link yes acfcomp protocomp
        set link mtu 1440
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set pptp self 192.168.12.112
        set link enable incoming
В ядро вкомпилил всё что нужно и не нужно:

Код: Выделить всё

options         LIBALIAS
# NETGRAPH
options         NETGRAPH
options         NETGRAPH_ASYNC
options         NETGRAPH_BPF
options         NETGRAPH_BRIDGE
options         NETGRAPH_CISCO
options         NETGRAPH_ECHO
options         NETGRAPH_ETHER
options         NETGRAPH_FRAME_RELAY
options         NETGRAPH_GIF
options         NETGRAPH_GIF_DEMUX
options         NETGRAPH_HOLE
options         NETGRAPH_IFACE
options         NETGRAPH_IP_INPUT
options         NETGRAPH_KSOCKET
options         NETGRAPH_L2TP
options         NETGRAPH_LMI
# MPPC
#options        NETGRAPH_MPPC_COMPRESSION
options         NETGRAPH_MPPC_ENCRYPTION
options         NETGRAPH_ONE2MANY
options         NETGRAPH_PPP
options         NETGRAPH_PPTPGRE
options         NETGRAPH_RFC1490
options         NETGRAPH_SOCKET
options         NETGRAPH_TEE
options         NETGRAPH_TTY
options         NETGRAPH_UI
options         NETGRAPH_VJC
Нуждаюсь в вашей помощи, спасибо.

Re: MPD problem (can't create tcpmss node at)

Добавлено: 2008-07-04 16:45:04
weec
может сразу к телепатам?

Re: MPD problem (can't create tcpmss node at)

Добавлено: 2008-07-04 17:15:33
Pal
всем спасибо, проблема решилась загрузкой модуля ng_tcpmss.ko