Centos下PPtpD本地无法连接的解决方法

2014年08月29日

原创内容,转载请注明出处:https://www.myzhenai.com.cn/post/1854.html https://www.myzhenai.com/thread-16309-1-1.html
linux pptp客户端无法链接的解决方法: https://www.myzhenai.com.cn/post/891.html https://www.myzhenai.com/thread-15408-1-1.html
Centos6+GNOME+NetworkManager配置VPN客户端: https://www.myzhenai.com.cn/post/767.html https://www.myzhenai.com/thread-15104-1-3.html
Centos VPS安装Pptp和OpenVpn的方法与经验分享: https://www.myzhenai.com.cn/post/871.html https://www.myzhenai.com/thread-15394-1-1.html
本来配置得好好的pptpd突然出现无法连接的故障,我以为是服务端出现了问题,还因此重装了VPS服务器,重新安装配置了Pptpd.后来找了另外一台windwos7 的机子发现可以正常连接,就是Centos里使用NetworkManager无法连接,这个问题折腾了两天,也删除过pptpd的连接重新设置也不济事,最后还是重新创建pptpd的连接解决了问题.
在pptpd编辑那里取消 “对所有用户可用”\ 先不要填写pptpd的连接密码 \ 其他配置请参考 “linux pptp客户端无法链接的解决方法”
然后连接重新创建的pptpd连接,在弹出的 “认证VPN”窗口中输入pptpd连接密码,并勾选“在密钥环中保存密码”
这样就解决问题了.
本地/var/log/messages日志如下:

Aug 29 16:26:21 localhost pppd[10952]: Exit.
Aug 29 16:26:24 localhost pppd[11141]: Remote message: Authentication success,Welcome!
Aug 29 16:26:24 localhost pppd[11141]: PAP authentication succeeded
Aug 29 16:26:24 localhost pppd[11141]: peer from calling number 00:46:4B:AD:DA:B6 authorized
Aug 29 16:26:24 localhost pppd[11141]: local  IP address 112.66.13.245
Aug 29 16:26:24 localhost pppd[11141]: remote IP address 112.66.0.1
Aug 29 16:26:24 localhost pppd[11141]: primary   DNS address 202.100.199.8
Aug 29 16:26:24 localhost pppd[11141]: secondary DNS address 202.100.192.68
Aug 29 16:26:24 localhost NetworkManager[1703]:  PPP manager(IP Config Get) reply received.
Aug 29 16:26:24 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Aug 29 16:26:24 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Aug 29 16:26:24 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Aug 29 16:26:24 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Aug 29 16:26:24 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Aug 29 16:26:25 localhost NetworkManager[1703]:  (eth1): device state change: 7 -> 8 (reason 0)
Aug 29 16:26:25 localhost NetworkManager[1703]:  Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:26:25 localhost NetworkManager[1703]:  Activation (eth1) successful, device activated.
Aug 29 16:26:25 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Aug 29 16:28:16 localhost NetworkManager[1703]:  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 11273
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN plugin state changed: 1
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN connection 'PPTP' (ConnectInteractive) reply received.
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN plugin state changed: 3
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN connection 'PPTP' (Connect) reply received.
Aug 29 16:28:16 localhost NetworkManager[1703]:  VPN connection 'PPTP' failed to connect: 'No VPN secrets!'.
Aug 29 16:28:16 localhost NetworkManager[1703]:  error disconnecting VPN: Could not process the request because no VPN connection was active.
Aug 29 16:28:16 localhost NetworkManager[1703]:  Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:33:47 localhost NetworkManager[1703]:  (eth1): device state change: 8 -> 3 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]:  (eth1): deactivating device (reason: 0).
Aug 29 16:33:47 localhost pppd[11141]: Terminating on signal 15
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) starting connection 'ADSL'
Aug 29 16:33:47 localhost NetworkManager[1703]:  (eth1): device state change: 3 -> 4 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Aug 29 16:33:47 localhost NetworkManager[1703]:  (eth1): device state change: 4 -> 5 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 2 of 5 (Device Configure) successful.
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
Aug 29 16:33:47 localhost NetworkManager[1703]:  (eth1): device state change: 5 -> 7 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]:  starting PPP connection
Aug 29 16:33:47 localhost pppd[11141]: Connect time 7.4 minutes.
Aug 29 16:33:47 localhost pppd[11141]: Sent 339332 bytes, received 1327949 bytes.
Aug 29 16:33:47 localhost NetworkManager[1703]:  pppd started with pid 11316
Aug 29 16:33:47 localhost NetworkManager[1703]:  Activation (eth1) Stage 3 of 5 (IP Configure Start) complete.
Aug 29 16:33:47 localhost dbus: [system] Rejected send message, 2 matched rules; type="error", sender=":1.1" (uid=0 pid=1703 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.231" (uid=0 pid=11141 comm="/usr/sbin/pppd))
Aug 29 16:33:47 localhost dbus: [system] Rejected send message, 2 matched rules; type="error", sender=":1.1" (uid=0 pid=1703 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.231" (uid=0 pid=11141 comm="/usr/sbin/pppd))
Aug 29 16:33:47 localhost pppd[11316]: Warning: can't open options file /root/.ppprc: Permission denied
Aug 29 16:33:47 localhost pppd[11316]: Plugin rp-pppoe.so loaded.
Aug 29 16:33:47 localhost pppd[11316]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Aug 29 16:33:47 localhost pppd[11316]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Aug 29 16:33:47 localhost pppd[11316]: pppd 2.4.5 started by root, uid 0
Aug 29 16:33:47 localhost dbus: [system] Rejected send message, 2 matched rules; type="error", sender=":1.1" (uid=0 pid=1703 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.231" (uid=0 pid=11141 comm="/usr/sbin/pppd))
Aug 29 16:33:47 localhost pppd[11141]: Connection terminated.
Aug 29 16:33:47 localhost dbus: [system] Rejected send message, 2 matched rules; type="error", sender=":1.1" (uid=0 pid=1703 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.231" (uid=0 pid=11141 comm="/usr/sbin/pppd))
Aug 29 16:33:47 localhost pppd[11316]: PPP session is 29380
Aug 29 16:33:47 localhost pppd[11316]: Connected to 00:46:4b:ad:da:b6 via interface eth1
Aug 29 16:33:47 localhost pppd[11316]: Using interface ppp0
Aug 29 16:33:47 localhost dbus: [system] Rejected send message, 2 matched rules; type="error", sender=":1.1" (uid=0 pid=1703 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.231" (uid=0 pid=11141 comm="/usr/sbin/pppd))
Aug 29 16:33:47 localhost pppd[11316]: Connect: ppp0 < --> eth1
Aug 29 16:33:47 localhost pppd[11141]: Exit.
Aug 29 16:33:50 localhost pppd[11316]: Remote message: Authentication success,Welcome!
Aug 29 16:33:50 localhost pppd[11316]: PAP authentication succeeded
Aug 29 16:33:50 localhost pppd[11316]: peer from calling number 00:46:4B:AD:DA:B6 authorized
Aug 29 16:33:50 localhost pppd[11316]: local  IP address 112.67.199.236
Aug 29 16:33:50 localhost pppd[11316]: remote IP address 112.67.192.1
Aug 29 16:33:50 localhost pppd[11316]: primary   DNS address 202.100.199.8
Aug 29 16:33:50 localhost pppd[11316]: secondary DNS address 202.100.192.68
Aug 29 16:33:50 localhost NetworkManager[1703]:  PPP manager(IP Config Get) reply received.
Aug 29 16:33:50 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Aug 29 16:33:50 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Aug 29 16:33:50 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Aug 29 16:33:50 localhost NetworkManager[1703]:  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Aug 29 16:33:50 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Aug 29 16:33:51 localhost NetworkManager[1703]:  (eth1): device state change: 7 -> 8 (reason 0)
Aug 29 16:33:51 localhost NetworkManager[1703]:  Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:33:51 localhost NetworkManager[1703]:  Activation (eth1) successful, device activated.
Aug 29 16:33:51 localhost NetworkManager[1703]:  Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Aug 29 16:33:56 localhost NetworkManager[1703]:  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 11443
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN connection 'PPTP' (ConnectInteractive) reply received.
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN plugin state changed: 3
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN connection 'PPTP' (Connect) reply received.
Aug 29 16:33:56 localhost NetworkManager[1703]:  VPN connection 'PPTP' failed to connect: 'No VPN secrets!'.
Aug 29 16:33:56 localhost NetworkManager[1703]:  error disconnecting VPN: Could not process the request because no VPN connection was active.
Aug 29 16:33:56 localhost NetworkManager[1703]:  Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.

 

Centos PPtpD 本地 连接 解决 方法

Centos下PPtpD本地无法连接的解决方法


Centos PPtpD 本地 无法 连接 解决 方法

Centos下PPtpD本地无法连接的解决方法


Centos PPtpD 本地 无法连接 解决 方法

Centos下PPtpD本地无法连接的解决方法


sicnature ---------------------------------------------------------------------
I P 地 址: 3.135.206.212
区 域 位 置: 美国
系 统 信 息: 美国
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source https://myzhenai.com.cn/post/1854.html

没有评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注