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

2014年08月29日

原创内容,转载请注明出处:http://www.myzhenai.com.cn/post/1854.html http://www.myzhenai.com/thread-16309-1-1.html
linux pptp客户端无法链接的解决方法: http://www.myzhenai.com.cn/post/891.html http://www.myzhenai.com/thread-15408-1-1.html
Centos6+GNOME+NetworkManager配置VPN客户端: http://www.myzhenai.com.cn/post/767.html http://www.myzhenai.com/thread-15104-1-3.html
Centos VPS安装Pptp和OpenVpn的方法与经验分享: http://www.myzhenai.com.cn/post/871.html http://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]: <info> PPP manager(IP Config Get) reply received.
Aug 29 16:26:24 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Aug 29 16:26:24 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Aug 29 16:26:24 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Aug 29 16:26:24 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Aug 29 16:26:24 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Aug 29 16:26:25 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 7 -> 8 (reason 0)
Aug 29 16:26:25 localhost NetworkManager[1703]: </info><info> Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:26:25 localhost NetworkManager[1703]: </info><info> Activation (eth1) successful, device activated.
Aug 29 16:26:25 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 11273
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN plugin state changed: 1
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN connection 'PPTP' (ConnectInteractive) reply received.
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN plugin state changed: 3
Aug 29 16:28:16 localhost NetworkManager[1703]: </info><info> VPN connection 'PPTP' (Connect) reply received.
Aug 29 16:28:16 localhost NetworkManager[1703]: <warn> VPN connection 'PPTP' failed to connect: 'No VPN secrets!'.
Aug 29 16:28:16 localhost NetworkManager[1703]: </warn><warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Aug 29 16:28:16 localhost NetworkManager[1703]: <info> Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 8 -> 3 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> (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]: </info><info> Activation (eth1) starting connection 'ADSL'
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 3 -> 4 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 4 -> 5 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 2 of 5 (Device Configure) successful.
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 5 -> 7 (reason 0)
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> 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]: </info><info> pppd started with pid 11316
Aug 29 16:33:47 localhost NetworkManager[1703]: </info><info> 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]: </info><info> PPP manager(IP Config Get) reply received.
Aug 29 16:33:50 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Aug 29 16:33:50 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Aug 29 16:33:50 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Aug 29 16:33:50 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Aug 29 16:33:50 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Aug 29 16:33:51 localhost NetworkManager[1703]: </info><info> (eth1): device state change: 7 -> 8 (reason 0)
Aug 29 16:33:51 localhost NetworkManager[1703]: </info><info> Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
Aug 29 16:33:51 localhost NetworkManager[1703]: </info><info> Activation (eth1) successful, device activated.
Aug 29 16:33:51 localhost NetworkManager[1703]: </info><info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 11443
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> VPN connection 'PPTP' (ConnectInteractive) reply received.
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> VPN plugin state changed: 3
Aug 29 16:33:56 localhost NetworkManager[1703]: </info><info> VPN connection 'PPTP' (Connect) reply received.
Aug 29 16:33:56 localhost NetworkManager[1703]: <warn> VPN connection 'PPTP' failed to connect: 'No VPN secrets!'.
Aug 29 16:33:56 localhost NetworkManager[1703]: </warn><warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Aug 29 16:33:56 localhost NetworkManager[1703]: <info> Policy set 'ADSL' (ppp0) as default for IPv4 routing and DNS.
</info></warn></info></warn></info>

Centos PPtpD 本地 连接 解决 方法

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


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

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


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

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


sicnature ---------------------------------------------------------------------
Your current IP address is: 54.144.73.205
Your IP address location: 美国
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 海南仙岛海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://www.myzhenai.com.cn/post/1854.html

没有评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注