從linux 下pptp 撥號到windows沒有成功過

火星人 @ 2014-03-04 , reply:0


從linux 下pptp 撥號到windows沒有成功過

對方伺服器是用windows 2003做的一個VPN server , 我用windows撥一點問題也沒有 圖片是連接上的屬性

我在linux下撥他windows 2003 會出現
Sep  1 07:49:19 netcpwgc1 pptp: anon log: Received Start Control Connection Reply
Sep  1 07:49:19 netcpwgc1 pptp: anon log: Client connection established.
Sep  1 07:49:20 netcpwgc1 pptp: anon log: Sent control packet type is 7 'Outgoing-Call-Request'
Sep  1 07:49:20 netcpwgc1 pptp: anon log: Received Outgoing Call Reply.
Sep  1 07:49:20 netcpwgc1 pptp: anon log: Outgoing call established (call ID 0, peer's call ID 317).
Sep  1 07:49:20 netcpwgc1 pppd: pppd 2.4.1 started by root, uid 0
Sep  1 07:49:20 netcpwgc1 pppd: Using interface ppp0
Sep  1 07:49:20 netcpwgc1 pppd: Connect: ppp0 <--> /dev/pts/3
Sep  1 07:49:20 netcpwgc1 /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  1 07:49:22 netcpwgc1 pppd: No CHAP secret found for authenticating us to C7206-ADSL
Sep  1 07:49:22 netcpwgc1 pppd: Remote message: Authentication failed
Sep  1 07:49:22 netcpwgc1 pppd: CHAP authentication failed
Sep  1 07:49:22 netcpwgc1 pppd: Connection terminated.
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Call disconnect notification received (call id 317)
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Received Stop Control Connection Request.
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Sent control packet type is 4 'Stop-Control-Connection-Reply'
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Closing connection (shutdown)
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Sent control packet type is 12 'Call-Clear-Request'
Sep  1 07:49:22 netcpwgc1 pptp: anon log: Closing connection (call state)
Sep  1 07:49:22 netcpwgc1 /etc/hotplug/net.agent: NET unregister event not supported
Sep  1 07:49:23 netcpwgc1 pppd: Exit.
Sep  1 07:49:23 netcpwgc1 pptp: anon warn: short read (-1): Input/output error
Sep  1 07:49:23 netcpwgc1 pptp: anon warn: pppd may have shutdown, see pppd log



我的/etc/ppp/chap-secrets
用戶名  lj  "密碼" *
lj 用戶名 "密碼" *


/etc/ppp/peers/lj
lock
debug
auth
+chap
#chapms-v2
#require-chapms-v2
#mppe-128
#mppe-stateless
name 用戶名
proxyarp
nodeflate
nobsdcomp
require-chap
《解決方案》

我都不知道錯在哪裡 請大家看看  萬分感謝
《解決方案》

把我的/etc/ppp/chap-secrets 一行注掉 出現下面錯誤  痛苦
用戶名  lj  "密碼" *
#lj 用戶名 "密碼" *

/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
《解決方案》

我把lj 換成伺服器的ip 也不行,弄了2天了  急啊
《解決方案》

解決了嗎?pptp的配置文檔有嗎?也在解決這個問題。
《解決方案》

我也是註釋了/etc/ppp/chap-secrets就出現了問題,後來我刪除那個註釋行就可以了,供參考!




[火星人 via ] 從linux 下pptp 撥號到windows沒有成功過已經有196次圍觀

http://www.coctec.com/docs/service/show-post-13493.html