Имею подключение в квартире от Corbina.net , где пользуются VPN (pptp)
Установил pptpclient из портов FreeBSD 6.0. Соединится не получается!
Помогите разобраться в чём причина безобразия!#/usr/local/sbin/pptp vpn.corbina.net sim
---------- /etc/ppp/ppp.conf ---------------
default:
set log Phase Chat LCP IPCP CCP tun command
sim:
set authname yurok
set authkey donotsay
set timeout 0
--------------------------------------------
Никак не могу добиться установки связи. Из лога видно, что практически сразу после установки соединения и получения адресов происходит разрыв (поясните что это значит):
...
Apr 22 15:38:32 ppp[13896]: tun0: Phase: deflink: lcp -> open
Apr 22 15:38:32 ppp[13896]: tun0: Phase: bundle: Network
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: FSM: Using "deflink" as a transport
...
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: LayerUp.
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: myaddr 89.178.93.206 hisaddr = 195.14.40.8
Apr 22 15:38:33 ppp[13896]: tun0: Phase: Signal 15, terminate.
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: LayerDown: 89.178.93.206
--------------------------------------------------------------------------
Полный /var/log/ppp.log
Apr 22 15:38:30 ppp[13896]: Phase: Using interface: tun0
Apr 22 15:38:30 ppp[13896]: Phase: deflink: Created in closed state
Apr 22 15:38:30 ppp[13896]: Warning: The alias command is deprecated
Apr 22 15:38:30 ppp[13896]: tun0: Phase: PPP Started (direct mode).
Apr 22 15:38:30 ppp[13896]: tun0: Phase: bundle: Establish
Apr 22 15:38:30 ppp[13896]: tun0: Phase: deflink: closed -> opening
Apr 22 15:38:30 ppp[13896]: tun0: Phase: deflink: Connected!
Apr 22 15:38:30 ppp[13896]: tun0: Phase: deflink: opening -> carrier
Apr 22 15:38:31 ppp[13896]: tun0: Phase: deflink: carrier -> lcp
Apr 22 15:38:31 ppp[13896]: tun0: LCP: FSM: Using "deflink" as a transport
Apr 22 15:38:31 ppp[13896]: tun0: LCP: deflink: State change Initial --> Closed
Apr 22 15:38:31 ppp[13896]: tun0: LCP: deflink: State change Closed --> Stopped
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Apr 22 15:38:32 ppp[13896]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x80)
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MAGICNUM[6] 0xbfebd889
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Apr 22 15:38:32 ppp[13896]: tun0: LCP: ACFCOMP[2]
Apr 22 15:38:32 ppp[13896]: tun0: LCP: PROTOCOMP[2]
Apr 22 15:38:32 ppp[13896]: tun0: LCP: ACCMAP[6] 0x00000000
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MRU[4] 1500
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MAGICNUM[6] 0x63692d2a
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Apr 22 15:38:32 ppp[13896]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x80)
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MAGICNUM[6] 0xbfebd889
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: LayerStart
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: LCP: ACFCOMP[2]
Apr 22 15:38:32 ppp[13896]: tun0: LCP: PROTOCOMP[2]
Apr 22 15:38:32 ppp[13896]: tun0: LCP: ACCMAP[6] 0x00000000
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MRU[4] 1500
Apr 22 15:38:32 ppp[13896]: tun0: LCP: MAGICNUM[6] 0x63692d2a
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: LayerUp
Apr 22 15:38:32 ppp[13896]: tun0: Phase: bundle: Authenticate
Apr 22 15:38:32 ppp[13896]: tun0: Phase: deflink: his = CHAP 0x80, mine = none
Apr 22 15:38:32 ppp[13896]: tun0: Phase: Chap Input: CHALLENGE (8 bytes from vpn3 )
Apr 22 15:38:32 ppp[13896]: tun0: Phase: Chap Output: RESPONSE (yurok)
Apr 22 15:38:32 ppp[13896]: tun0: Phase: Chap Input: SUCCESS
Apr 22 15:38:32 ppp[13896]: tun0: CCP: FSM: Using "deflink" as a transport
Apr 22 15:38:32 ppp[13896]: tun0: CCP: deflink: State change Initial --> Closed
Apr 22 15:38:32 ppp[13896]: tun0: CCP: deflink: LayerStart.
Apr 22 15:38:32 ppp[13896]: tun0: CCP: MPPE: Not usable without CHAP81
Apr 22 15:38:32 ppp[13896]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Apr 22 15:38:32 ppp[13896]: tun0: CCP: DEFLATE[4] win 15
Apr 22 15:38:32 ppp[13896]: tun0: CCP: PRED1[2]
Apr 22 15:38:32 ppp[13896]: tun0: CCP: deflink: State change Closed --> Req-Sent
Apr 22 15:38:32 ppp[13896]: tun0: Phase: deflink: lcp -> open
Apr 22 15:38:32 ppp[13896]: tun0: Phase: bundle: Network
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: FSM: Using "deflink" as a transport
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: State change Initial --> Closed
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: LayerStart.
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 127.0.0.1
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 195.14.40.8
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 195.14.40.8
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened
Apr 22 15:38:32 ppp[13896]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Apr 22 15:38:32 ppp[13896]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 127.0.0.1
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 89.178.93.206
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] changing address: 127.0.0.1 --> 89.178.93.206
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 89.178.93.206
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: IPADDR[6] 89.178.93.206
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: deflink: LayerUp.
Apr 22 15:38:32 ppp[13896]: tun0: IPCP: myaddr 89.178.93.206 hisaddr = 195.14.40.8
Apr 22 15:38:33 ppp[13896]: tun0: Phase: Signal 15, terminate.
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: LayerDown: 89.178.93.206
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: SendTerminateReq(4) state = Opened
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: State change Opened --> Closing
Apr 22 15:38:33 ppp[13896]: tun0: Phase: Signal 15, terminate.
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: read (0): Got zero bytes
Apr 22 15:38:33 ppp[13896]: tun0: CCP: deflink: State change Stopped --> Closed
Apr 22 15:38:33 ppp[13896]: tun0: CCP: deflink: State change Closed --> Initial
Apr 22 15:38:33 ppp[13896]: tun0: LCP: deflink: LayerDown
Apr 22 15:38:33 ppp[13896]: tun0: LCP: deflink: State change Opened --> Starting
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: open -> lcp
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: LayerFinish.
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: Connect time: 1 secs: 0 octets in, 824348 octets out
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: 0 packets in, 1316 packets out
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: total 824348 bytes/sec, peak 0 bytes/sec on Sat Apr 22 15:38:32 2006
Apr 22 15:38:33 ppp[13896]: tun0: IPCP: deflink: State change Closing --> Initial
Apr 22 15:38:33 ppp[13896]: tun0: Phase: bundle: Terminate
Apr 22 15:38:33 ppp[13896]: tun0: LCP: deflink: LayerFinish
Apr 22 15:38:33 ppp[13896]: tun0: LCP: deflink: State change Starting --> Initial
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: Disconnected!
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: Connect time: 3 secs: 280 octets in, 1169099 octets out
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: 8 packets in, 1325 packets out
Apr 22 15:38:33 ppp[13896]: tun0: Phase: total 389793 bytes/sec, peak 203 bytes/sec on Sat Apr 22 15:38:32 2006
Apr 22 15:38:33 ppp[13896]: tun0: Phase: deflink: lcp -> closed
Apr 22 15:38:33 ppp[13896]: tun0: Phase: bundle: Dead
Apr 22 15:38:33 ppp[13896]: tun0: Phase: PPP Terminated (normal).
Спасибо!