davideuler / autoddvpn

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

ddwrt開機之後會同時有兩個pptp client撥號導致連接太慢的問題 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
這個可能是ddwrt的bug,需要做個work 
around來解決,不然一開機會一直連不上。

Original issue reported on code.google.com by pahud...@gmail.com on 24 Jun 2010 at 3:19

GoogleCodeExporter commented 9 years ago
算是修正了這個問題,現在一開機播上去PPTP應該更快了

LOG

root@DD-WRT:/tmp# tail -f autoddvpn.log 
[INFO#312] 01/Jan/1970:00:00:47 log starts
[DEBUG#312] 01/Jan/1970:00:00:48 failed to get PPTPDEV, retry in 10 seconds
[DEBUG#312] 01/Jan/1970:00:00:58 failed to get PPTPDEV, retry in 10 seconds
[INFO#312] 25/Jun/2010:00:39:33 got concurrent 2 running client, fixing it.  
//這邊修正這個狀況
[DEBUG#312] 25/Jun/2010:00:39:33 failed to get PPTPDEV, retry in 10 seconds
[INFO#312] 25/Jun/2010:00:39:43 got PPTPDEV as ppp1, set into nvram
[INFO#312] 25/Jun/2010:00:39:43 got PPTPGW as 192.168.199.1, set into nvram
[INFO#312] 25/Jun/2010:00:39:43 VPN is UP, trying to modify the routing table
[INFO#933] OLDGW is 218.1.60.198
[INFO#933] delete default gw 218.1.60.198
[INFO#933] add default gw 192.168.199.1
[INFO#933] adding the static routes, this may take a while.

Original comment by pahud...@gmail.com on 24 Jun 2010 at 3:40

GoogleCodeExporter commented 9 years ago
see the diff

http://code.google.com/p/autoddvpn/source/detail?r=104
http://code.google.com/p/autoddvpn/source/detail?r=105

Original comment by pahud...@gmail.com on 24 Jun 2010 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by pahud...@gmail.com on 24 Jun 2010 at 3:43