Comments (13)
ALL DONE. Let's wait for VPN being connected.
看到這行的時候,請打 ifconfig ppp1 看看是不是有獲得VPN IP?
這行的意思是已經修改好了/tmp/pptpd_client/ip-up
等待PPTP播上之後就會觸發/tmp/pptpd_client/ip-up裡面定義的vpnup.sh
了。
Original comment by [email protected]
on 7 Feb 2011 at 12:23
from autoddvpn.
或者這樣測試吧,你把rc_startup先清空,讓DDWRT開機不要執行��
�何腳本,僅在web UI設置好PPTP VPN,
然後DDWRT開機之後你ssh進去之後
1. 反復打 ifconfig ppp1看看是否獲得VPN IP
2. ping你的VPN gw看看是否有回應,例如 ping 172.16.1.1
以上測試看看是否可以穩定持續一段時間,如果可以的話你��
�以手動加一個路由,例如
route add -host 8.8.8.8 gw 172.16.1.1
這樣是強迫到8.8.8.8走VPN gw, 接著你再ping
8.8.8.8看看是否有正常返回。
以上就可以逐步找出大概是哪一個環節出問題了。
Original comment by [email protected]
on 7 Feb 2011 at 12:30
from autoddvpn.
应该不是autoddvpn的问题了。(请问下面这个表中有ppp1可以说�
��vpn没有断线吗?)
root@dd:~# route | tail -n 10
117.128.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
59.192.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
183.192.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
183.0.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
113.64.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
116.128.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
120.192.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
112.0.0.0 183.10.44.1 255.192.0.0 UG 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.10.10.1 0.0.0.0 UG 0 0 0 ppp1
root@dd:~# ping 10.10.10.1
PING 10.10.10.1 (10.10.10.1): 56 data bytes
root@dd:~# (等了几分钟最后回到等待输入命令的界面)
发现ppp1确实存在。ifconfig ppp1也能得到vpn的gw信息。但是ping
10.10.10.1没有反馈,等了很长时间最后不了了之。
过大约20分钟(洗澡……)的时间,自己好了,能ping通vpn的��
�关了。
顺便说一下,有时候vpn出现问题可以这样重启vpn:
cd /tmp/pptpd_client
./vpn stop
./vpn start
现在我的问题可以描述为,突然之前无法ping通vpn的网关,必�
��重启vpn服务或重启路由解决。
不知道到底是vpn没断线但是无法ping通网关,还是vpn断了没有�
��动重连。
这次测试的是路由h618b,刷Firmware: DD-WRT v24-sp2 (08/07/10)
mini,是DIR-320的版本。
Original comment by [email protected]
on 7 Feb 2011 at 2:40
Attachments:
from autoddvpn.
OK正常情況下,ppp1獲得之後應該能馬上ping到VPN
GW的,你有其他VPN帳號可以試試看嗎?或者其他DDWRT可以交差�
��試看找看看問題在哪?
Original comment by [email protected]
on 7 Feb 2011 at 2:48
from autoddvpn.
刚连上vpn的时候确实能ping通vpn
gw,中间在ppp1没有消失的情况下出现vpn gw无法平通。
就在刚刚,又出现了,我马上telnet上去看了,发现有两个默��
�网关!您看一下截图,两个default!
Original comment by [email protected]
on 7 Feb 2011 at 3:25
Attachments:
from autoddvpn.
你的情況可能需要交叉測試一下了,我現在人不在國內手邊��
�沒有DDWRT沒辦法幫你測試,否則我就跟你借VPN帳戶來試試看��
�。我還是建議你試試看其他VPN帳號,如果有的話。
Original comment by [email protected]
on 7 Feb 2011 at 4:02
from autoddvpn.
换了一个VPN服务器,用来一天终于还是出现了,不过比之前��
�晚上断几次算是好了很多。
之前的网关是10.10.10.1,换了这个网关是172.16.1.1 。
症状看起来差不多。也许是我的路由稳定性不好吧,只能这��
�了。准备写个脚本可以最快速度重启vpn。
/tmp/pptpd_client/vpn stop
sleep 10
/tmp/pptpd_client/vpn start
下次有来**的话,希望能麻烦您帮我测试一下。
Original comment by [email protected]
on 8 Feb 2011 at 12:20
Attachments:
from autoddvpn.
在网上一些论坛看了一下,普遍反映tomato比dd-wrt要稳定。希��
�能考虑一下把autoddvpn移植到tomato。
Original comment by [email protected]
on 9 Feb 2011 at 9:12
from autoddvpn.
HI
目前已經有很多人享受ddwrt+autoddvpn帶來的便利了,而我已經��
�受了將近一年autoddvpn帶來的好處,不過畢竟不是靠這個獲利�
��,個人空閒時間也有限,所以很期待藉此拋磚引玉希望更多
的開發者可以參與開發,不管是tomato or
openwrt都樂觀其成,這也是autoddvpn一直開放源代碼的目的。
所以麻煩你幫忙宣傳一下autoddvpn,
讓更多人幫忙porting到tomato或其他平台,感謝!
Original comment by [email protected]
on 9 Feb 2011 at 9:19
from autoddvpn.
另外PPTP
VPN有時候會存在一些不穩定的問題,目前我是使用OpenVPN over
TCP:443 with
graceMode,如果你的情況允許的話建議往這個方向去設置。
Original comment by [email protected]
on 9 Feb 2011 at 9:27
from autoddvpn.
大致了解一下. 你那边vpn常掉线有可能是以下几个原因:
1.你的路由装的DD-WRT不稳定..
建议换个版本,看看有没有jffs+vpn的版本..我当时就碰到过无法
使用jffs的情况.
2.VPN
Server不稳定..建议可以换别的vpn试试.或不使用autoddvpn,直接拨v
pn看看能稳定工作多长时间 ..
我现在使用的是openvpn 用了2个月的还行,基本上都不掉线
vpn: https://puffstore.com/
openvpn: https://yegle.net/
..建议你购买一个月的openvpn测试看.
3.
路由器对DD-WRT支持不完美....这个就比较杯具了..去dd-wrt的论��
�看看吧.
GOOD LUCK~!
Original comment by [email protected]
on 9 Feb 2011 at 2:20
from autoddvpn.
autoopenvpn@tomato
https://www.cmaster.org/zhongguotese/2011/autoopenvpn.html
经测试,可用。
wrt54gs, tomatousb, tomato-ND-1.28.8754-vpn3.6.rar
Original comment by [email protected]
on 15 Feb 2011 at 2:29
from autoddvpn.
你的脚本怎么都执行不了啊,提示:
root@s:~/tomato/grace# python makeIP.py
Traceback (most recent call last):
File "makeIP.py", line 10, in <module>
from ipaddr import *
ImportError: No module named ipaddr
Original comment by [email protected]
on 20 Oct 2012 at 9:16
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.