我正在尝试在 Ubuntu 10.10 计算机上连接 PPTP VPN,但似乎失败了。我曾尝试在 OS X 计算机上成功连接 VPN,并且成功了。
我使用 NetworkManager 小程序进行连接,VPN 似乎认为我已经连接了一段时间,然后它再次关闭并告诉我连接失败。
当我查看 /var/log/syslog 时,我发现:
Clio NetworkManager[1208]: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Clio NetworkManager[1208]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 3415
Clio NetworkManager[1208]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Clio NetworkManager[1208]: <info> VPN plugin state changed: 1
Clio NetworkManager[1208]: <info> VPN plugin state changed: 3
Clio NetworkManager[1208]: <info> VPN connection 'anonine' (Connect) reply received.
Clio pppd[3417]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Clio pppd[3417]: pppd 2.4.5 started by root, uid 0
Clio NetworkManager[1208]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Clio NetworkManager[1208]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Clio modem-manager: (net/ppp0): could not get port's parent device
Clio pppd[3417]: Using interface ppp0
Clio pppd[3417]: Connect: ppp0 <--> /dev/pts/2
Clio pptp[3420]: nm-pptp-service-3415 log[main:pptp.c:276]: The synchronous pptp option is NOT activated
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Clio pptp[3431]: nm-pptp-service-3415 log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 29301).
Clio pppd[3417]: CHAP authentication succeeded
Clio pppd[3417]: MPPE 128-bit stateless compression enabled
Clio pppd[3417]: Cannot determine ethernet address for proxy ARP
Clio pppd[3417]: local IP address [AN IP ADRESS]
Clio pppd[3417]: remote IP address [AN IP ADRESS]
Clio pppd[3417]: primary DNS address [AN IP ADRESS]
Clio pppd[3417]: secondary DNS address [AN IP ADRESS]
Clio NetworkManager[1208]: <info> VPN connection 'anonine' (IP Config Get) reply received.
Clio NetworkManager[1208]: <info> VPN Gateway: [AN IP ADRESS]
Clio NetworkManager[1208]: <info> Tunnel Device: ppp0
Clio NetworkManager[1208]: <info> Internal IP4 Address: [AN IP ADRESS]
Clio NetworkManager[1208]: <info> Internal IP4 Prefix: 32
Clio NetworkManager[1208]: <info> Internal IP4 Point-to-Point Address: [AN IP ADRESS]
Clio NetworkManager[1208]: <info> Maximum Segment Size (MSS): 0
Clio NetworkManager[1208]: <info> Internal IP4 DNS: [AN IP ADRESS]
Clio NetworkManager[1208]: <info> Internal IP4 DNS: [AN IP ADRESS]
Clio NetworkManager[1208]: <info> DNS Domain: '(none)'
Clio NetworkManager[1208]: <info> VPN connection 'anonine' (IP Config Get) complete.
Clio NetworkManager[1208]: <info> Policy set 'anonine' (ppp0) as default for IPv4 routing and DNS.
Clio NetworkManager[1208]: <info> VPN plugin state changed: 4
Clio nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
因此它似乎能够连接到 VPN,但在调用脚本时遇到一些问题:
Clio nm-dispatcher.action:脚本“/etc/NetworkManager/dispatcher.d/01ifupdown”因错误状态 1 退出。
有人知道如何解决这个问题吗?