LINUX.ORG.RU
ФорумAdmin

debian l2tp клиент не коннектится

 , ,


0

1

Доброго дня. Бьюсь с l2tp, перелопатил кучу гайдов и уперся в такую ошибку:

Oct 24 12:54:19  pppd[218903]: In file /etc/ppp/options.l2tpd.client: unrecognized option 'crtscts'
Oct 24 12:54:19 : child_handler : pppd exited for call 2092 with code 2
Oct 24 12:54:19 : call_close: Call 44789 to *** disconnected
Oct 24 12:54:19 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:19 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:19 : Terminating pppd: sending TERM signal to pid 218903
Oct 24 12:54:19 : Connection 2109 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:19 : check_control: Received out of order control packet on tunnel -1 (got 3, expected 0)
Oct 24 12:54:19 : handle_packet: bad control packet!
Oct 24 12:54:20 : check_control: Received out of order control packet on tunnel -1 (got 3, expected 0)
Oct 24 12:54:20 : handle_packet: bad control packet!
Oct 24 12:54:22 : check_control: Received out of order control packet on tunnel -1 (got 3, expected 0)
Oct 24 12:54:22 : handle_packet: bad control packet!
Oct 24 12:54:26 : check_control: Received out of order control packet on tunnel -1 (got 3, expected 0)
Oct 24 12:54:26 : handle_packet: bad control packet!
Oct 24 12:54:31 : Calling on tunnel 13998
Oct 24 12:54:31 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:31 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:31 : Connection -1 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:32 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:32 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:32 : Connection -1 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:34 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:34 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:34 : Connection -1 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:34 : check_control: Received out of order control packet on tunnel -1 (got 3, expected 0)
Oct 24 12:54:34 : handle_packet: bad control packet!
Oct 24 12:54:38 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:38 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:38 : Connection -1 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:39 : Session 'MY-L2TP' already active!
Oct 24 12:54:46 : result_code_avp: avp is incorrect size.  8 < 10
Oct 24 12:54:46 : handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet.
Oct 24 12:54:46 : Connection -1 closed to ***, port 1701 (Result Code: expected at least 10, got 8)
Oct 24 12:54:47  systemd[1]: Started Session 15381 of user root.

/etc/xl2tpd/xl2tpd.conf

[global]
access control = yes
port = 1701
auth file = /etc/ppp/chap-secrets
rand source = dev

[lac l2tp_client]
lns = ***
autodial = yes
redial = yes
redial timeout = 10
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd.client
length bit = yes

[lac MY-L2TP]
lns = ***
require chap = yes
refuse pap = yes
require authentication = yes
name = ***
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd.client
length bit = yes

/etc/ppp/options.l2tpd.client

ipcp-accept-local
ipcp-accept-remote
refuse-eap
require-chap
noccp
noauth
crtscts
idle 1800
mtu 1410
mru 1410
nodefaultroute
debug
lock
#proxyarp
connect-delay 5000
name ***
password ***
remotename MY-L2TP
ipparam MY-L2TP

На что обратить внимание? Спасибо


Посмотри на всякий случай на логин/пароль

enep ★★★★★
()

На что обратить внимание?

На первую строчку выложенного вами лога.

anc ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.