Comments (8)
你VPN主機是填寫hostname還是IP?
Original comment by [email protected]
on 24 Feb 2011 at 5:23
from autoddvpn.
ip
Original comment by [email protected]
on 24 Feb 2011 at 5:29
from autoddvpn.
暫時看不大出問題,不過我看到你的DDWRT版本是 SVN revision
16214
建議試試看15xxx版本 or 14xxx版本試試看
Original comment by [email protected]
on 24 Feb 2011 at 6:18
from autoddvpn.
我想知道autoddvpn是掉線重連,無限嘗試
還是嘗試n次後就不再重連了
今天的log
root@DD-WRT:~# tail -f /tmp/autoddvpn.log
[INFO#16857] 25/Feb/2011:15:52:45 make 74.82.1.20 gw 125.37.112.1
[INFO#16857] 25/Feb/2011:15:52:45 delete default gw 125.37.112.1
[INFO#16857] 25/Feb/2011:15:52:45 add default gw 172.23.1.1
[INFO#16857] 25/Feb/2011:15:52:45 adding the static routes, this may take a
while.
[INFO#16857] 25/Feb/2011:15:53:04 preparing the exceptional routes
[INFO#16857] 25/Feb/2011:15:53:04 exceptional routes disabled.
[INFO#16857] 25/Feb/2011:15:53:04 exceptional routes features detail:
http://goo.gl/fYfJ
[INFO#16857] 25/Feb/2011:15:53:04 vpnup.sh ended
[INFO#18415] 25/Feb/2011:16:26:12 vpndown.sh started
[INFO#18415] 25/Feb/2011:16:26:29 vpndown.sh ended
root@DD-WRT:~# route -n | tail -n 20
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
74.82.1.20 125.37.112.1 255.255.255.255 UGH 0 0 0 ppp0
125.37.112.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
125.37.112.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.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 125.37.112.1 0.0.0.0 UG 0 0 0 ppp0
[run /jffs/pptp/run.sh at route web interface ]
root@DD-WRT:~# tail -f /tmp/autoddvpn.log
[INFO#16857] 25/Feb/2011:15:53:04 vpnup.sh ended
[INFO#18415] 25/Feb/2011:16:26:12 vpndown.sh started
[INFO#18415] 25/Feb/2011:16:26:29 vpndown.sh ended
[INFO#19912] 25/Feb/2011:16:30:05 log starts
[INFO#19912] 25/Feb/2011:16:30:05 pptp+jffs mode
[INFO#19912] 25/Feb/2011:16:30:05 modifying /tmp/pptpd_client/ip-up
[INFO#19912] 25/Feb/2011:16:30:06 /tmp/pptpd_client/ip-up modified
[INFO#19912] 25/Feb/2011:16:30:06 modifying /tmp/pptpd_client/ip-down
[INFO#19912] 25/Feb/2011:16:30:06 /tmp/pptpd_client/ip-down modified
[INFO#19912] 25/Feb/2011:16:30:06 ALL DONE. Let's wait for VPN being connected.
root@DD-WRT:~# route -n | tail -n 20
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
74.82.1.20 125.37.112.1 255.255.255.255 UGH 0 0 0 ppp0
125.37.112.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
125.37.112.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.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 125.37.112.1 0.0.0.0 UG 0 0 0 ppp0
root@DD-WRT:~#
然後就卡在
[INFO#19912] 25/Feb/2011:16:30:06 ALL DONE. Let's wait for VPN being connected.
這句了
reboot route就又連上了
Original comment by [email protected]
on 25 Feb 2011 at 8:35
from autoddvpn.
DDWRT的PPTP client是自己會retry
connect的,但是PPTP這個協議在DDWRT裡面我觀察比較容易不穩。
當你看到
ALL DONE. Let's wait for VPN being connected.
表示autoddvpn已經准備就緒,一旦pptp連上,取得ppp1這個device的
IP的時候,就會自動觸發vpnup.sh
但一旦VPN斷線,例如網路不穩等情況發生時,ppp1失去了IP,
則就會觸發vpndown.sh
下次再自動播上,又會vpnup.sh ...
推究你的原因有可能是:
1. 你所在的網路環境跟PPTP VPN server之間網路不穩定
2. DDWRT自帶的PPTP client不穩定
3. DDWRT路由器不穩定
都有可能。
Original comment by [email protected]
on 25 Feb 2011 at 9:49
from autoddvpn.
issue #34 和 #50
都属于我在使用pptp+jffs时候出现的问题,换成openvpn就没有出�
��了。如果没有其它人回报这个问题,建议close
Original comment by [email protected]
on 20 Mar 2011 at 1:38
from autoddvpn.
/tmp$ cat autoddvpn.log
[INFO#1217] 01/Jan/1970:00:00:23 log starts
[INFO#1217] 01/Jan/1970:00:00:23 getting vpnup.sh
[INFO#1252] 01/Jan/1970:00:00:24 log starts
[INFO#1252] 01/Jan/1970:00:00:24 getting vpnup.sh
[INFO#1252] 01/Jan/1970:00:00:24 getting vpndown.sh
[INFO#1217] 01/Jan/1970:00:00:24 getting vpndown.sh
[INFO#1217] 01/Jan/1970:00:00:25 modifying /tmp/pptpd_client/ip-up
[INFO#1217] 01/Jan/1970:00:00:25 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1252] 01/Jan/1970:00:00:25 modifying /tmp/pptpd_client/ip-up
[INFO#1252] 01/Jan/1970:00:00:25 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1217] 01/Jan/1970:00:00:35 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1252] 01/Jan/1970:00:00:35 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1217] 01/Jan/1970:00:00:45 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1252] 01/Jan/1970:00:00:46 /tmp/pptpd_client/ip-up not exists, sleep
10sec.
[INFO#1217] 01/Jan/1970:00:00:55 /tmp/pptpd_client/ip-up modified
[INFO#1217] 01/Jan/1970:00:00:55 modifying /tmp/pptpd_client/ip-down
[INFO#1217] 01/Jan/1970:00:00:55 /tmp/pptpd_client/ip-down modified
[INFO#1217] 01/Jan/1970:00:00:55 ALL DONE. Let's wait for VPN being connected.
[INFO#1252] 01/Jan/1970:00:00:56 /tmp/pptpd_client/ip-up modified
[INFO#1252] 01/Jan/1970:00:00:56 modifying /tmp/pptpd_client/ip-down
[INFO#1252] 01/Jan/1970:00:00:56 /tmp/pptpd_client/ip-down modified
[INFO#1252] 01/Jan/1970:00:00:56 ALL DONE. Let's wait for VPN being connected.
[INFO#1552] 14/Jul/2012:18:55:11 log starts
[INFO#1552] 14/Jul/2012:18:55:11 getting vpnup.sh
[INFO#1552] 14/Jul/2012:18:55:11 getting vpndown.sh
[INFO#1552] 14/Jul/2012:18:55:11 modifying /tmp/pptpd_client/ip-up
[INFO#1552] 14/Jul/2012:18:55:11 /tmp/pptpd_client/ip-up modified
[INFO#1552] 14/Jul/2012:18:55:11 modifying /tmp/pptpd_client/ip-down
[INFO#1552] 14/Jul/2012:18:55:12 /tmp/pptpd_client/ip-down modified
[INFO#1552] 14/Jul/2012:18:55:12 ALL DONE. Let's wait for VPN being connected.
[INFO#1698] 14/Jul/2012:18:55:16 log starts
[INFO#1698] 14/Jul/2012:18:55:16 getting vpnup.sh
[INFO#1698] 14/Jul/2012:18:55:16 getting vpndown.sh
[INFO#1698] 14/Jul/2012:18:55:16 modifying /tmp/pptpd_client/ip-up
[INFO#1698] 14/Jul/2012:18:55:16 /tmp/pptpd_client/ip-up modified
[INFO#1698] 14/Jul/2012:18:55:16 modifying /tmp/pptpd_client/ip-down
[INFO#1698] 14/Jul/2012:18:55:16 /tmp/pptpd_client/ip-down modified
[INFO#1698] 14/Jul/2012:18:55:17 ALL DONE. Let's wait for VPN being connected.
我总是停在这里,不知道什么原因
Original comment by [email protected]
on 14 Jul 2012 at 11:00
from autoddvpn.
WAN口是动态IP
Original comment by [email protected]
on 14 Jul 2012 at 11:02
from autoddvpn.
Related Issues (20)
- 路由器按照grace模式翻墙后,动态域名(dyndns.org)注册的IP变成了国外的IP了,而不是路由器的外网地址了
- 建议修改路由策略使爬墙效率更高 HOT 3
- 運行autoddvpn 後,VPN連接正常,訪問國外網站正常,但無法訪問國內網站.
- OPENVPN配置报错 HOT 2
- youtube不能播放了
- youtube不能播放 HOT 1
- 設置都完成的,還是不能翻牆,查詢的IP地址也是不一樣的,就是不能翻牆。
- 設置jffs問題
- 也修改了个脚本,运行在/tmp目录
- 如何指定内网中的一个设备连接VPN HOT 2
- Patch for /trunk/grace.d/dnsmasq_options HOT 1
- 一切都按照教程设置了,就是无法翻墙 HOT 1
- autoddvpn(pptp+wget)的VPN一直停留在“Let's wait for VPN being connected”
- pptp 不能访问被“和谐”的网站,请各位帮忙看看,谢谢
- [deleted issue]
- 帮忙看下log异常情况
- 你好,我有个建议,
- IP列表好久没更新了,现在YOUTUBE不能访问 HOT 1
- yosemite系统, 用了这个以后, 访问本地网站明显变慢 ,比如百度 微博这些
- /tmp/pptpd_client/ip-up not exists also ip-down
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoddvpn.