Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这两天突然不能自动翻墙了 #9

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments
Closed

这两天突然不能自动翻墙了 #9

GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

請描述一下您進行怎樣的操作之後碰到了問題
1.不能自动翻墙
2.解析的IP也不正确
3.

你期待是怎樣的結果,然而卻出現了什麼情形?
没有改任何配置,从昨天或者前天开始就不能自动翻墙了,以前
是正常的,用电脑拨VPN没有问题
执行run.sh
root@DD-WRT:/tmp# /bin/sh run.sh 
sh: : unknown operand
sh: : unknown operand
sh: : unknown operand


請提供以下資訊:

1. 您的路由器型號:G300NH
2. DD-WRT版本:build 14206
3. 您的作業系統:ubuntu 10.04
4. 您的瀏覽器版本:firefox 

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

[INFO#1098] 29/Jun/2010:16:24:00 log starts
[DEBUG#1098] 29/Jun/2010:16:24:01 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:24:12 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:24:12 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:24:22 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:24:22 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:24:32 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:24:32 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:24:43 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:24:43 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:24:53 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:24:53 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:25:03 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:25:03 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:25:14 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:25:14 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:25:24 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:25:24 failed to get PPTPDEV, retry in 10 seconds
[INFO#1098] 29/Jun/2010:16:25:34 got concurrent 3 running clients, fixing it.
[DEBUG#1098] 29/Jun/2010:16:25:34 failed to get PPTPDEV, retry in 10 seconds




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

Original issue reported on code.google.com by masiqi on 29 Jun 2010 at 3:07

@GoogleCodeExporter
Copy link
Author

换了run-dev.sh应该是拨上了
hehe~
[INFO#1145] 29/Jun/2010:17:38:47 got PPTPDEV as ppp1, set into nvram
[INFO#1145] 29/Jun/2010:17:38:47 got PPTPGW as 192.168.0.1, set into nvram
[INFO#1145] 29/Jun/2010:17:38:47 VPN is UP, trying to modify the routing table
[INFO#1653] OLDGW is xx.21.0.1
[INFO#1653] delete default gw xx.21.0.1
[INFO#1653] add default gw 192.168.0.1
[INFO#1653] adding the static routes, this may take a while.
[INFO#1653] final check the default gw
[DEBUG#1653] my current gw is localhost
[INFO#1653] static routes added
[DEBUG#1145] 29/Jun/2010:17:38:52 return 0
[INFO#1145] 29/Jun/2010:17:38:52 preparing the exceptional routes
[INFO#1145] 29/Jun/2010:17:38:52 exceptional routes disabled.
[INFO#1145] 29/Jun/2010:17:38:52 exceptional routes features detail:  
http://goo.gl/fYfJ
[INFO#1145] 29/Jun/2010:17:38:52 preparing the self-fix script
[INFO#1145] 29/Jun/2010:17:38:53 preparing the cron_job
[DEBUG#1145] 29/Jun/2010:17:38:53 ALL DONE!


Original comment by masiqi on 29 Jun 2010 at 3:40

@GoogleCodeExporter
Copy link
Author

YES 可以的話請先用run-dev.sh 然後rc_firewall內容是這樣

r='run-dev.sh'; test -f /tmp/rc_fw_done || ( echo $$ >> /tmp/rc_fw_done; test 
$$ -eq $(head -n1 /tmp/rc_fw_done) && cd /tmp; sleep 30; wget 
http://autoddvpn.googlecode.com/svn/trunk/$r -O /tmp/$r && /bin/sh $r )

這個版本會有CRON自動修復機制,另外你可以參考這個這個新�
��能,讓Flickr或其他自定義網段直連

http://code.google.com/p/autoddvpn/issues/detail?id=7
http://code.google.com/p/autoddvpn/issues/detail?id=8


Original comment by pahud...@gmail.com on 29 Jun 2010 at 3:58

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

JFFS方式也獲得了解決
http://code.google.com/p/autoddvpn/wiki/jffs

Original comment by pahud...@gmail.com on 19 Jul 2010 at 9:24

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant