davideuler / autoddvpn

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

VPNUP.SH 脚本在不断的被调用 VPN连接呈现极不稳定状态 网页都无法打开 #158

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1.根据LOG VPNUP.SH 脚本在不断的被调用
2.我通过IFCONFIG 发现VPN的IP一会拿到了一会没有拿到
3.这个VPN的账号通过电脑连接非常稳定

这是部分LOG
INFO#1745] 19/Jul/2012:22:38:38 preparing the exceptional routes
[INFO#1745] 19/Jul/2012:22:38:38 exceptional routes disabled.
[INFO#1745] 19/Jul/2012:22:38:38 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#1745] 19/Jul/2012:22:38:39 vpnup.sh ended
[INFO#1745] 19/Jul/2012:22:38:39 restarting DNS
[INFO#5311] 19/Jul/2012:22:38:44 router type: DD-WRT
[INFO#5311] 19/Jul/2012:22:38:44 make 74.117.62.43 gw 192.168.1.1
[INFO#5311] 19/Jul/2012:22:38:44 delete default gw 192.168.1.1
[INFO#5311] 19/Jul/2012:22:38:44 add default gw 
[INFO#5311] 19/Jul/2012:22:38:44 adding the static routes, this may take a 
while.
[INFO#8806] 19/Jul/2012:22:38:46 vpnup.sh started
[INFO#8806] 19/Jul/2012:22:38:46 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#8806] 19/Jul/2012:22:38:56 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#5311] 19/Jul/2012:22:39:00 preparing the exceptional routes
[INFO#5311] 19/Jul/2012:22:39:00 exceptional routes disabled.
[INFO#5311] 19/Jul/2012:22:39:00 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#5311] 19/Jul/2012:22:39:01 vpnup.sh ended
[INFO#5311] 19/Jul/2012:22:39:01 restarting DNS
[INFO#12065] 19/Jul/2012:22:39:02 vpnup.sh started
[INFO#12065] 19/Jul/2012:22:39:02 router type: DD-WRT
[INFO#12065] 19/Jul/2012:22:39:02 make 74.117.62.43 gw 192.168.1.1
[INFO#12065] 19/Jul/2012:22:39:02 delete default gw 192.168.1.1
[INFO#12065] 19/Jul/2012:22:39:02 add default gw 10.0.0.4
[INFO#12065] 19/Jul/2012:22:39:02 adding the static routes, this may take a 
while.
[INFO#8806] 19/Jul/2012:22:39:06 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#8806] 19/Jul/2012:22:39:16 got /tmp/autoddvpn.lock , sleep 10 secs. #4/6
[INFO#15586] 19/Jul/2012:22:39:19 vpnup.sh started
[INFO#15586] 19/Jul/2012:22:39:19 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#12065] 19/Jul/2012:22:39:19 preparing the exceptional routes
[INFO#12065] 19/Jul/2012:22:39:19 exceptional routes disabled.
[INFO#12065] 19/Jul/2012:22:39:19 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#12065] 19/Jul/2012:22:39:19 vpnup.sh ended
[INFO#12065] 19/Jul/2012:22:39:19 restarting DNS
[INFO#8806] 19/Jul/2012:22:39:26 router type: DD-WRT
[INFO#8806] 19/Jul/2012:22:39:26 make 74.117.62.43 gw 192.168.1.1
[INFO#8806] 19/Jul/2012:22:39:26 delete default gw 192.168.1.1
[INFO#8806] 19/Jul/2012:22:39:26 add default gw 10.0.0.4
[INFO#8806] 19/Jul/2012:22:39:26 adding the static routes, this may take a 
while.
[INFO#15586] 19/Jul/2012:22:39:29 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#15586] 19/Jul/2012:22:39:39 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#18710] 19/Jul/2012:22:39:40 vpnup.sh started
[INFO#18710] 19/Jul/2012:22:39:40 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#8806] 19/Jul/2012:22:39:42 preparing the exceptional routes
[INFO#8806] 19/Jul/2012:22:39:42 exceptional routes disabled.
[INFO#8806] 19/Jul/2012:22:39:42 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#8806] 19/Jul/2012:22:39:43 vpnup.sh ended
[INFO#8806] 19/Jul/2012:22:39:43 restarting DNS
[INFO#15586] 19/Jul/2012:22:39:49 router type: DD-WRT
[INFO#15586] 19/Jul/2012:22:39:49 make 74.117.62.43 gw 192.168.1.1
[INFO#15586] 19/Jul/2012:22:39:49 delete default gw 192.168.1.1
[INFO#15586] 19/Jul/2012:22:39:49 add default gw 10.0.0.4
[INFO#15586] 19/Jul/2012:22:39:49 adding the static routes, this may take a 
while.
[INFO#18710] 19/Jul/2012:22:39:50 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#18710] 19/Jul/2012:22:40:01 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6

請提供以下資訊:

1. 您的路由器型號:BUFFALO HPG300NH
2. DD-WRT版本:DD-WRT v24SP2-MULTI (04/12/11) std 
3. 您的作業系統:Mac OS 10.7.4
4. 您的瀏覽器版本:FF14
5. autoddvpn的連線模式(pptp+wget, pptp+jffs, openvpn+jffs等):pptp+jffs
6. autoddvpn的運行模式,傳統模式(classicMode)還是優雅模式(g
raceMode):classicMode
7. DD-WRT WAN口連線模式是 pptp or dhcp or static : dhcp
8. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
112.224.0.0     192.168.1.1     255.224.0.0     UG    0      0        0 eth1
122.64.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 eth1
110.192.0.0     192.168.1.1     255.224.0.0     UG    0      0        0 eth1
180.96.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 eth1
36.192.0.0      192.168.1.1     255.224.0.0     UG    0      0        0 eth1
111.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 eth1
223.64.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 eth1
36.128.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 eth1
117.128.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 eth1
59.192.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 eth1
183.192.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 eth1
183.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 eth1
39.128.0.0      192.168.1.1     255.192.0.0     UG    0      0        0 eth1
120.192.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 eth1
116.128.0.0     192.168.1.1     255.192.0.0     UG    0      0        0 eth1
112.0.0.0       192.168.1.1     255.192.0.0     UG    0      0        0 eth1
239.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 br0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.0.0.4        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

如果方便的話,請參考這裡的說明,貼上autoddvpn.log內容
(說明:http://code.google.com/p/autoddvpn/wiki/DEBUG)

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

Original issue reported on code.google.com by Zhuchao...@gmail.com on 19 Jul 2012 at 2:51

GoogleCodeExporter commented 9 years ago
今天联系了PPTP的服务提供者。通过服务器上的LOG证明 
这个VPN连接(路由器拨号)确实是在不断的断线,重连。 
但是我直接用OS拨号就不会有这个问题

Original comment by Zhuchao...@gmail.com on 20 Jul 2012 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
一般這樣都是DDWRT版本的問題,你看看能否換一個DDWRT版本.

Original comment by pahud...@gmail.com on 20 Jul 2012 at 4:00

GoogleCodeExporter commented 9 years ago
我刷的版本是BUFFALO 官方提供的版本。 我用的路由器是BUFFALO 
HPG300NH。 请问有什么版本可以推荐给我的呢? 非常感谢

Original comment by Zhuchao...@gmail.com on 20 Jul 2012 at 4:03

GoogleCodeExporter commented 9 years ago
Buffalo我沒有用過,但好像聽說官方版本不是很好用autoddvpn, 
就我知道DDWRT svn18xx or 
svn17xx都很穩定,但不確定你這台能不能刷就是了,最好還是�
��心一點,或者直接找一台能刷18xx or 17xx的DDWRT來玩比較好。

Original comment by pahud...@gmail.com on 20 Jul 2012 at 4:06

GoogleCodeExporter commented 9 years ago
好的 那我先去试试。 
非常感谢!有问题我再来请教。最后不管接管怎么样我都会��
�来update

Original comment by Zhuchao...@gmail.com on 20 Jul 2012 at 4:07

GoogleCodeExporter commented 9 years ago
好的感謝!

Original comment by pahud...@gmail.com on 20 Jul 2012 at 4:25

GoogleCodeExporter commented 9 years ago
兜了一圈 不知道该如何找到G300NH对应的 SVN 
18XX和SVN17XX的固件。 DD的那个FTP目录太复杂了

Original comment by Zhuchao...@gmail.com on 20 Jul 2012 at 5:00

GoogleCodeExporter commented 9 years ago
稍微来UPDATE一下STATUS。 通过自己搭建的PPTPSERVER 
发现整个PPTP的连接非常不稳定。基本上1分钟断线1次。我换��
�一个备用的TLWR841N 问题依旧。我打算另外开一歌ISSUE 来report 
VPN 稳定性的问题。如果最后问题全部解决了 再来这里UPDATE

Original comment by Zhuchao...@gmail.com on 21 Jul 2012 at 1:04

GoogleCodeExporter commented 9 years ago
不知道是什么原因,本人在深圳用過以下的組合,但都出現��
�穩定的情況,不定是斷線,有線十幾二十個小時,有時三五�
��鐘斷一次。更命的是VPN已經在連線的,但就不能翻墻,要重
啟路由或斷開VPN再來。

1.華為HG227 + JFFS
2.華碩N12B1 + JFFS
3.優科XXXX  + JFFS
4.網件614   + JFFS
5.華碩N10+  + WGET
6.華碩N13U  + WGET
7.TP841N    + WGET
8.DLing DIR600 + WGET
9.DLing DIR600 + 自制韌體

希望有能解決的大俠出現。
另有高人在TOMATO上也可以用上autoddvpn了,應該叫做autottvpn吧��
�但那些高人死活也不把教程分享一下,鄙視一下,但有一好�
��是事實就是tomato+autoddvpn會比dd+autoddvpn穩定。

Original comment by jacky19...@gmail.com on 28 Jul 2012 at 4:57