davideuler / autoddvpn

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

vpn无法连接上,ppp0始终无数据传输 #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請描述一下您進行怎樣的操作之後碰到了問題
1.发现配置的VPN无法连上去,无论怎么重启都不行,断电开机
也没用。

root@DD-WRT:~# ls -l /jffs/pptp/
-rwxr-xr-x    1 root     root         1263 May  1 01:58 run.sh
-rwxr-xr-x    1 root     root        32465 May  1 01:58 vpndown.sh
-rwxr-xr-x    1 root     root        45891 May  1 01:58 vpnup.sh

root@DD-WRT:~# ls -al /tmp/pptpd_client/
drwxr-xr-x    1 root     root            0 May  2 00:29 .
drwxrwxrwx    1 root     root            0 Jan  1  2000 ..
-rwxr-xr-x    1 root     root          991 May  2 00:29 ip-down
-rwxr-xr-x    1 root     root         1025 May  2 00:29 ip-up
-rwxr-xr-x    1 root     root          309 May  2 00:29 options.vpn
-rwxr-xr-x    1 root     root         2627 May  2 00:29 vpn

ifconfig: ppp0: error fetching interface information: Device not found
root@DD-WRT:~# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

2.
3.

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

請提供以下資訊:

1. Buffalo WHR-HP-G54  
2. DD-WRT v24-sp1 (07/27/08) min
3. windows7
4. firefox4
5. pptp+jffs
6. 傳統模式(classicMode)
7. DD-WRT WAN口連線模式是 static
8. 運行autoddvpn之後DD-WRT 的命令輸出 # route -n  | tail -n 20 :
(以上1-8點必填,否則可能沒辦法即時協助你解決問題)
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.10.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         192.168.1.1     0.0.0.0         UG    0      0        0 eth1

如果方便的話,請參考這裡的說明,貼上autoddvpn.log內容
(說明:http://code.google.com/p/autoddvpn/wiki/DEBUG)
[INFO#533] 02/May/2011:00:27:42 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:27:52 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:02 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:12 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:22 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:32 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:42 /tmp/pptpd_client/ip-up not exists, sleep 10sec.
[INFO#533] 02/May/2011:00:28:52 modifying /tmp/pptpd_client/ip-down
/tmp/pptpd_client/ip-down not exists
[INFO#533] 02/May/2011:00:28:52 ALL DONE. Let's wait for VPN being connected.

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

Original issue reported on code.google.com by lao...@gmail.com on 2 May 2011 at 4:37

GoogleCodeExporter commented 9 years ago
root@DD-WRT:/tmp/pptpd_client# Waiting.......
Already active!
Connection dropped...
Attempting connect...
Connection dropped...
Attempting connect...
Connection dropped...
Attempting connect...
貌似不断地断开连接,始终连不上,换过好几个vpn服务器,��
�一样

Original comment by lao...@gmail.com on 2 May 2011 at 4:58

GoogleCodeExporter commented 9 years ago
我也是这样的,不知如何解决。

Original comment by ghw....@gmail.com on 22 Jun 2014 at 3:27