7kbird / autoddvpn

Automatically exported from code.google.com/p/autoddvpn
0 stars 0 forks source link

pptp vpn总是会断开 #149

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1.貌似一连上了vpn就断开了,反正连上后ping 
8.8.8.8大概10秒左右后的都timeout了,有时会重连
2.重试过多次,每次都这样
3.

你期待是怎樣的結果,然而卻出現了什麼情形?

請提供以下資訊:

1. 您的路由器型號: Asus Rt n16
2. DD-WRT版本:DD-WRT v24-sp2 (04/07/12) mega
(SVN revision 18946M NEWD-2 K2.6 Eko)   
*自己修改过,只是修复了pptp配置文件错误和加入了那三个脚��
�,与此无关
3. 您的作業系統:win7 sp1
4. 您的瀏覽器版本:Chrome + IE +Firefox
5. autoddvpn的連線模式(pptp+wget, pptp+jffs, openvpn+jffs等):pptp+jffs
6. 
autoddvpn的運行模式,傳統模式(classicMode)還是優雅模式(graceMode
):
graceMode 
7. DD-WRT WAN口連線模式是 pptp or dhcp or static : static
8. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
36.96.0.0       192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
112.224.0.0     192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
122.64.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
110.192.0.0     192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
180.96.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
36.192.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 vlan2
111.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
223.64.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
36.128.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
117.128.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
59.192.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
183.192.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
183.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
39.128.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
120.192.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
116.128.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
112.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 vlan2
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.10.10.1      0.0.0.0         UG    0      0        0 ppp0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
(以上1-8點必填,否則可能沒辦法即時協助你解決問題)

如果方便的話,請參考這裡的說明,貼上autoddvpn.log內容
[INFO#1833] 31/May/2012:14:09:06 log starts
[INFO#1833] 31/May/2012:14:09:06 CustomFirmware mode with PPTP
[INFO#1833] 31/May/2012:14:09:06 modifying /tmp/pptpd_client/ip-up
[INFO#1833] 31/May/2012:14:09:06 /tmp/pptpd_client/ip-up not exists, sleep 
10sec.
[INFO#1833] 31/May/2012:14:09:16 /tmp/pptpd_client/ip-up not exists, sleep 
10sec.
[INFO#1833] 31/May/2012:14:09:27 /tmp/pptpd_client/ip-up modified
[INFO#1833] 31/May/2012:14:09:27 modifying /tmp/pptpd_client/ip-down
[INFO#1833] 31/May/2012:14:09:27 /tmp/pptpd_client/ip-down modified
[INFO#1833] 31/May/2012:14:09:27 ALL DONE. Let's wait for VPN being connected.
[INFO#1895] 31/May/2012:14:09:38 vpnup.sh started
[INFO#1895] 31/May/2012:14:09:38 router type: DD-WRT
[INFO#1895] 31/May/2012:14:09:38 make 106.187.36.10 gw 192.168.1.1
[INFO#1895] 31/May/2012:14:09:38 delete default gw 192.168.1.1
[INFO#1895] 31/May/2012:14:09:38 add default gw 10.10.10.1
[INFO#1895] 31/May/2012:14:09:38 adding the static routes, this may take a 
while.
[INFO#4239] 31/May/2012:14:09:51 vpnup.sh started
[INFO#4239] 31/May/2012:14:09:51 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#1895] 31/May/2012:14:09:58 preparing the exceptional routes
[INFO#1895] 31/May/2012:14:09:58 exceptional routes disabled.
[INFO#1895] 31/May/2012:14:09:58 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#1895] 31/May/2012:14:09:58 vpnup.sh ended
[INFO#1895] 31/May/2012:14:09:58 restarting DNS
[INFO#4239] 31/May/2012:14:10:01 router type: DD-WRT
[INFO#4239] 31/May/2012:14:10:02 make 106.187.36.10 gw 192.168.1.1
[INFO#4239] 31/May/2012:14:10:02 delete default gw 192.168.1.1
[INFO#4239] 31/May/2012:14:10:02 add default gw 
[INFO#4239] 31/May/2012:14:10:02 adding the static routes, this may take a 
while.
[INFO#5644] 31/May/2012:14:10:03 vpnup.sh started
[INFO#5644] 31/May/2012:14:10:03 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#5644] 31/May/2012:14:10:13 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#7850] 31/May/2012:14:10:14 vpnup.sh started
[INFO#7850] 31/May/2012:14:10:14 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#4239] 31/May/2012:14:10:21 preparing the exceptional routes
[INFO#4239] 31/May/2012:14:10:21 exceptional routes disabled.
[INFO#4239] 31/May/2012:14:10:21 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#4239] 31/May/2012:14:10:21 vpnup.sh ended
[INFO#4239] 31/May/2012:14:10:21 restarting DNS
[INFO#5644] 31/May/2012:14:10:23 router type: DD-WRT
[INFO#5644] 31/May/2012:14:10:23 make 106.187.36.10 gw 192.168.1.1
[INFO#5644] 31/May/2012:14:10:23 delete default gw 192.168.1.1
[INFO#5644] 31/May/2012:14:10:23 add default gw 
[INFO#5644] 31/May/2012:14:10:23 adding the static routes, this may take a 
while.
[INFO#7850] 31/May/2012:14:10:25 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#9812] 31/May/2012:14:10:27 vpnup.sh started
[INFO#9812] 31/May/2012:14:10:27 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#7850] 31/May/2012:14:10:35 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#9812] 31/May/2012:14:10:37 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#5644] 31/May/2012:14:10:42 preparing the exceptional routes
[INFO#5644] 31/May/2012:14:10:42 exceptional routes disabled.
[INFO#5644] 31/May/2012:14:10:42 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#12601] 31/May/2012:14:10:42 vpnup.sh started
[INFO#12601] 31/May/2012:14:10:43 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#5644] 31/May/2012:14:10:43 vpnup.sh ended
[INFO#5644] 31/May/2012:14:10:43 restarting DNS
[INFO#7850] 31/May/2012:14:10:45 router type: DD-WRT
[INFO#7850] 31/May/2012:14:10:45 make 106.187.36.10 gw 192.168.1.1
[INFO#7850] 31/May/2012:14:10:45 delete default gw 192.168.1.1
[INFO#7850] 31/May/2012:14:10:45 add default gw 10.10.10.1
[INFO#7850] 31/May/2012:14:10:45 adding the static routes, this may take a 
while.
[INFO#9812] 31/May/2012:14:10:47 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#12601] 31/May/2012:14:10:53 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#14841] 31/May/2012:14:10:57 vpnup.sh started
[INFO#14841] 31/May/2012:14:10:57 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#9812] 31/May/2012:14:10:57 got /tmp/autoddvpn.lock , sleep 10 secs. #4/6
[INFO#12601] 31/May/2012:14:11:03 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#7850] 31/May/2012:14:11:04 preparing the exceptional routes
[INFO#7850] 31/May/2012:14:11:04 exceptional routes disabled.
[INFO#7850] 31/May/2012:14:11:04 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#7850] 31/May/2012:14:11:05 vpnup.sh ended
[INFO#7850] 31/May/2012:14:11:05 restarting DNS
[INFO#14841] 31/May/2012:14:11:07 router type: DD-WRT
[INFO#9812] 31/May/2012:14:11:08 got /tmp/autoddvpn.lock , sleep 10 secs. #5/6
[INFO#14841] 31/May/2012:14:11:08 make 106.187.36.10 gw 192.168.1.1
[INFO#14841] 31/May/2012:14:11:08 delete default gw 192.168.1.1
[INFO#14841] 31/May/2012:14:11:08 add default gw 
[INFO#14841] 31/May/2012:14:11:08 adding the static routes, this may take a 
while.
[INFO#16468] 31/May/2012:14:11:09 vpnup.sh started
[INFO#16468] 31/May/2012:14:11:09 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#12601] 31/May/2012:14:11:13 got /tmp/autoddvpn.lock , sleep 10 secs. #4/6
[INFO#9812] 31/May/2012:14:11:18 got /tmp/autoddvpn.lock , sleep 10 secs. #6/6
[INFO#16468] 31/May/2012:14:11:19 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#12601] 31/May/2012:14:11:23 got /tmp/autoddvpn.lock , sleep 10 secs. #5/6
[INFO#19043] 31/May/2012:14:11:23 vpnup.sh started
[INFO#19043] 31/May/2012:14:11:23 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#14841] 31/May/2012:14:11:27 preparing the exceptional routes
[INFO#14841] 31/May/2012:14:11:27 exceptional routes disabled.
[INFO#14841] 31/May/2012:14:11:27 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#14841] 31/May/2012:14:11:28 vpnup.sh ended
[INFO#14841] 31/May/2012:14:11:28 restarting DNS
[ERROR#9812] 31/May/2012:14:11:28 still got /tmp/autoddvpn.lock , I'm aborted. 
Fix me.
[INFO#16468] 31/May/2012:14:11:29 router type: DD-WRT
[INFO#16468] 31/May/2012:14:11:30 make 106.187.36.10 gw 192.168.1.1
[INFO#16468] 31/May/2012:14:11:30 delete default gw 192.168.1.1
[INFO#16468] 31/May/2012:14:11:30 add default gw 
[INFO#16468] 31/May/2012:14:11:30 adding the static routes, this may take a 
while.
[INFO#12601] 31/May/2012:14:11:33 got /tmp/autoddvpn.lock , sleep 10 secs. #6/6
[INFO#19043] 31/May/2012:14:11:33 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#21149] 31/May/2012:14:11:37 vpnup.sh started
[INFO#21149] 31/May/2012:14:11:37 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[ERROR#12601] 31/May/2012:14:11:43 still got /tmp/autoddvpn.lock , I'm aborted. 
Fix me.
[INFO#19043] 31/May/2012:14:11:43 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#21149] 31/May/2012:14:11:47 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#16468] 31/May/2012:14:11:49 preparing the exceptional routes
[INFO#16468] 31/May/2012:14:11:49 exceptional routes disabled.
[INFO#16468] 31/May/2012:14:11:49 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#16468] 31/May/2012:14:11:49 vpnup.sh ended
[INFO#16468] 31/May/2012:14:11:49 restarting DNS
[INFO#23328] 31/May/2012:14:11:51 vpnup.sh started
[INFO#23328] 31/May/2012:14:11:51 router type: DD-WRT
[INFO#23328] 31/May/2012:14:11:51 make 106.187.36.10 gw 192.168.1.1
[INFO#23328] 31/May/2012:14:11:51 delete default gw 192.168.1.1
[INFO#23328] 31/May/2012:14:11:51 add default gw 10.10.10.1
[INFO#23328] 31/May/2012:14:11:51 adding the static routes, this may take a 
while.
[INFO#19043] 31/May/2012:14:11:53 got /tmp/autoddvpn.lock , sleep 10 secs. #4/6
[INFO#21149] 31/May/2012:14:11:57 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#19043] 31/May/2012:14:12:03 got /tmp/autoddvpn.lock , sleep 10 secs. #5/6

(說明:http://code.google.com/p/autoddvpn/wiki/DEBUG)

最後如果可能的話,請附上截屏或任何可能有幫助的夾檔

Original issue reported on code.google.com by xtrame...@gmail.com on 31 May 2012 at 6:22