harleylg / autoddvpn

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

全新路由器運行gracemode的問題 #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1. 
路由器重新刷新FW,並且遵循wiki中的gracemode來安裝autodd到jffs
2. 重啟路由器,讓autoddvpn啟動(pptp等都已配置好)
3. telnet至路由器,用route、ifconfig檢查vpn是否已經撥號成功

你期待是怎樣的結果,然而卻出現了什麼情形?

使用route發現vpn已經連接,但是autoddvpn並沒有自動添加route,�
��log看一直停留在
[INFO#285] 27/Oct/2010:00:06:07 ALL DONE. Let's wait for VPN being connected.
然後使用nvram指令添加exroute_enable=0以及exroute_list="xxxx"(因為�
��用exroute,所以隨便寫)之後,重啟路由器,autoddvpn便可以��
�續往下運行,log顯示
[INFO#6773] 27/Oct/2010:09:41:45 ALL DONE. Let's wait for VPN being connected.
[INFO#6998] 27/Oct/2010:09:42:02 vpnup.sh started
[INFO#6998] 27/Oct/2010:09:42:02 router type: DD-WRT
[INFO#6998] 27/Oct/2010:09:42:03 adding the static routes, this may take a 
while.
之後便正常工作

請提供以下資訊:

1. 您的路由器型號:
Belkin 7231-4P

2. DD-WRT版本:
V24 SP1和V24 pre-SP2都試過,mini generic版本

3. 您的作業系統:
windows7 ultimate
4. 您的瀏覽器版本:
IE9 Beta
5. autoddvpn的運行模式(pptp+wget, pptp+jffs, openvpn+jffs等):
pptp+jffs+gracemode
6. DD-WRT WAN口連線模式是 pptp or dhcp or static :
adsl pppoe, adsl撥號是ppp0,vpn是ppp1

7. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
這是已經正常工作的route:
85.17.172.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
216.18.228.0    172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
74.86.123.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
84.20.192.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
70.42.129.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
92.123.154.0    172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
85.237.86.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
74.206.187.0    172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
61.63.34.0      172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
172.23.1.0      0.0.0.0         255.255.255.0   U     0      0        0 ppp1
74.125.19.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
63.251.171.0    172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
69.175.106.0    172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
64.237.33.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
64.237.47.0     172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
61.63.52.0      172.23.1.1      255.255.255.0   UG    0      0        0 ppp1
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         114.250.72.1    0.0.0.0         UG    0      0        0 ppp0

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

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

Original issue reported on code.google.com by eison....@gmail.com on 27 Oct 2010 at 1:48

GoogleCodeExporter commented 9 years ago
收到了,稍後我確認一下。

Original comment by pahud...@gmail.com on 27 Oct 2010 at 1:53

GoogleCodeExporter commented 9 years ago
[INFO#285] 27/Oct/2010:00:06:07 ALL DONE. Let's wait for VPN being connected.
看到這個訊息的話表示pptp對應的ip-up ip-down 
files已經被run.sh修改過了,等pptp播上,ppp1起來之後便會執行i
p-up以及裡面的vpnup.sh,  而只要vpnup.sh一被執行就馬上可以看到

vpnup.sh started

這樣的訊息,到這裡應該完全跟exroute無關才對。

能否再試一次,把變數unset掉

nvram unset exroute_enable
nvram unset exroute_list

然後再重開機一次,看看問題是否依舊,如果依然是的話,��
�查一下ifconfig 
ppp1看看是否pptp已經播上取得IP,然後手動執行一次

/jffs/pptp/vpnup.sh pptp

看看手動執行是否成功。

Original comment by pahud...@gmail.com on 27 Oct 2010 at 2:45

GoogleCodeExporter commented 9 years ago
unset之后也没问题了……奇怪 
难道和美西的链路不稳定有关系……?

Original comment by eison....@gmail.com on 27 Oct 2010 at 4:12

GoogleCodeExporter commented 9 years ago
好的沒問題,我close這個issue了,請繼續一起測試graceMode吧!

Original comment by pahud...@gmail.com on 27 Oct 2010 at 4:36