Дал примерный конфиг ppp.conf:
default:
set log Phase Chat LCP IPCP CCP tun command
pptp1:
set device "!/usr/local/sbin/pptp Адрес прова --nolaunchpppd"
set log Phase LCP IPCP CCP tun command
disable acfcomp protocomp
deny acfcomp
enable lqr
set lqrperiod 5
set cd 5
set redial 30
set timeout 0
set authname <username>
set authkey <userpass>
set dial
set login
add! default HISADDR
enable mssfixup
disable ipv6cp
accept chap
set mppe 128 stateless
При подключении появляется интерфейс tun0, но не работает...
в логах пишет:
Jul 5 23:28:48 ppp[24662]: tun0: Warning: Carrier settings ignored
Jul 5 23:28:48 pptp[19285]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Jul 5 23:28:48 pptp[30243]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Req
uest'
Jul 5 23:28:48 pptp[30243]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jul 5 23:28:48 pptp[30243]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jul 5 23:28:49 pptp[30243]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 5 23:28:50 pptp[30243]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jul 5 23:28:50 pptp[30243]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 52480
).
Jul 5 23:28:50 ppp[24662]: tun0: Warning: deflink: Failed to negotiate (required) MPPE
Jul 5 23:28:50 ppp[24662]: tun0: Warning: ff02:8::/32: Change route failed: errno: Network is unreachable
Jul 5 23:28:50 pptp[19285]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument
Jul 5 23:28:50 pptp[30243]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Jul 5 23:28:50 pptp[30243]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 5 23:28:50 pptp[30243]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jul 5 23:28:53 ppp[24662]: tun0: Warning: Carrier settings ignored
Jul 5 23:28:53 pptp[6635]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Jul 5 23:28:53 pptp[1915]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Requ
est'
Jul 5 23:28:53 pptp[1915]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jul 5 23:28:53 pptp[1915]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jul 5 23:28:54 pptp[1915]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 5 23:28:55 pptp[1915]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jul 5 23:28:55 pptp[1915]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 52736)
.
Jul 5 23:28:56 pptp[6635]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument
Jul 5 23:28:56 pptp[1915]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Jul 5 23:28:56 pptp[1915]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 5 23:28:56 pptp[1915]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jul 5 23:28:59 ppp[24662]: tun0: Warning: Carrier settings ignored
Jul 5 23:28:59 pptp[8120]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Jul 5 23:28:59 pptp[5532]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Requ
est'
Jul 5 23:28:59 pptp[5532]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jul 5 23:28:59 pptp[5532]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jul 5 23:29:00 pptp[5532]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 5 23:29:01 pptp[5532]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jul 5 23:29:01 pptp[5532]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 52992)
.
Jul 5 23:29:03 pptp[8120]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument
Jul 5 23:29:03 pptp[5532]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Jul 5 23:29:03 pptp[5532]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 5 23:29:03 pptp[5532]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jul 5 23:29:06 ppp[24662]: tun0: Warning: Carrier settings ignored
Jul 5 23:29:06 pptp[16544]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Jul 5 23:29:06 pptp[21035]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Req
uest'
Jul 5 23:29:06 pptp[21035]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jul 5 23:29:06 pptp[21035]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jul 5 23:29:07 pptp[21035]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 5 23:29:08 pptp[21035]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jul 5 23:29:08 pptp[21035]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 53504
).
Jul 5 23:29:13 pptp[16544]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument
Jul 5 23:29:13 pptp[21035]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Jul 5 23:29:13 pptp[21035]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 5 23:29:13 pptp[21035]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jul 5 23:29:16 ppp[24662]: tun0: Warning: Carrier settings ignored
Jul 5 23:29:16 pptp[24706]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Jul 5 23:29:16 pptp[13922]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Req
uest'
Что посоветуете? OpenBSD 4.0 pptp-1.7
ЗЫ Кирпичи в меня за глупый вопрос не кидать