Open GoogleCodeExporter opened 8 years ago
/tmp/autoddvpn.lock 這個file是在執行vpnup.sh
或vpndown.sh的時候產生的,用來避免同時間有相同的腳本被執�
��,一旦執行完成之後會刪除掉這個lock file
正常情況下應該是不會看到這訊息才對。
我需要知道你是什麼運行模式(pptp or openvpn? wget or jffs? )
以及你的rc_startup rc_firewall的內容。
我猜你有地方設置錯誤了。
Original comment by pahud...@gmail.com
on 9 Nov 2010 at 5:50
pptp & jffs
rc_startup='/jffs/pptp/run.sh'
rc_firewall 没设置
Original comment by jno...@gmail.com
on 10 Nov 2010 at 1:06
從log看,有兩個process分別是17678 and 17760在搶著vpnup or vpndown,
正常情況這應該不會發生,除非一連上之後馬上就斷掉,這��
�vpnup還沒執行完vpndown就緊接著要執行了。
你ifconfig
-a觀察一下出現這個狀況的時候是不是pptp已經斷線了。
另外你pptp主機名稱設置是IP,不是FQDN對吧?
Original comment by pahud...@gmail.com
on 10 Nov 2010 at 1:34
pptp的主机是ip
下次出现这种情况我跟一下吧,现在没出现这种情况
Original comment by jno...@gmail.com
on 10 Nov 2010 at 1:42
root@DD-WRT:~# tail -f /tmp/autoddvpn.log
[INFO#26621] 11/Nov/2010:13:53:29 exceptional routes disabled.
[INFO#26621] 11/Nov/2010:13:53:29 exceptional routes features detail:
http://goo.gl/fYfJ
[INFO#27734] 11/Nov/2010:13:53:45 vpnup.sh started
[INFO#27734] 11/Nov/2010:13:53:45 got /tmp/autoddvpn.lock , sleep 10 secs. #1/6
[INFO#27734] 11/Nov/2010:13:53:55 got /tmp/autoddvpn.lock , sleep 10 secs. #2/6
[INFO#27734] 11/Nov/2010:13:54:05 got /tmp/autoddvpn.lock , sleep 10 secs. #3/6
[INFO#27734] 11/Nov/2010:13:54:15 got /tmp/autoddvpn.lock , sleep 10 secs. #4/6
[INFO#27734] 11/Nov/2010:13:54:26 got /tmp/autoddvpn.lock , sleep 10 secs. #5/6
[INFO#27734] 11/Nov/2010:13:54:36 got /tmp/autoddvpn.lock , sleep 10 secs. #6/6
[ERROR#27734] 11/Nov/2010:13:54:46 still got /tmp/autoddvpn.lock , I'm aborted.
Fix me.
root@DD-WRT:~# ifconfig -a
br0 Link encap:Ethernet HWaddr 00:1C:10:18:85:【隐去】
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:2513567 errors:0 dropped:0 overruns:0 frame:0
TX packets:2434219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1665664959 (1.5 GiB) TX bytes:1886117147 (1.7 GiB)
br0:0 Link encap:Ethernet HWaddr 00:1C:10:18:85:【隐去】
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:1C:10:18:85:【隐去】
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12566 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:3081602 (2.9 MiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:1C:10:18:85:【隐去】
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3024488 errors:0 dropped:0 overruns:0 frame:0
TX packets:2731168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2181220144 (2.0 GiB) TX bytes:1807503984 (1.6 GiB)
Interrupt:5
eth2 Link encap:Ethernet HWaddr 00:1C:10:18:85:【隐去】
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2513268 errors:12 dropped:0 overruns:0 frame:5799502
TX packets:2440177 errors:103 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1700848469 (1.5 GiB) TX bytes:1906143384 (1.7 GiB)
Interrupt:2 Base address:0x4000
etherip0 Link encap:Ethernet HWaddr 6A:64:E7:99:01:【隐去】
BROADCAST 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:125.37.112.【隐去】 P-t-P:125.37.112.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
RX packets:2988841 errors:0 dropped:0 overruns:0 frame:0
TX packets:2698343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2094032462 (1.9 GiB) TX bytes:1734435560 (1.6 GiB)
ppp1 Link encap:Point-to-Point Protocol 【pptp大概是这个?】
inet addr:172.23.1.15 P-t-P:172.23.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1450 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:94 (94.0 B) TX bytes:112 (112.0 B)
teql0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP 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:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@DD-WRT:~#
Original comment by jno...@gmail.com
on 11 Nov 2010 at 6:17
看起來pptp vpn沒有斷掉。
你可以把發生問題的時候,打ps的所有process輸出,以及nvram
show的內容貼上來嗎?
nvram show的內容會包含pppoe and pptp的密碼,那邊你再mask一下即可。
這樣可能可以看出來。
Original comment by pahud...@gmail.com
on 11 Nov 2010 at 6:21
另外你的路由器型號,CPU 內存多少,DDWRT版本多少?
Original comment by pahud...@gmail.com
on 11 Nov 2010 at 6:23
Linksys WRT150N v1
cpu Broadcom BCM4704 chip rev 9
DD-WRT v24-sp2 (10/26/10) mega - build 15508M NEWD-2 Eko
Comment 6 需要的命令是什么?有点儿不清楚。
已经reboot了,下次再出现再试
Original comment by jno...@gmail.com
on 11 Nov 2010 at 6:29
>Comment 6 需要的命令是什么?
兩個命令:
1. # ps
這會列出目前正在運行的process
2. # nvram show
這會列出所有設置變數內容
Original comment by pahud...@gmail.com
on 11 Nov 2010 at 7:12
>DD-WRT v24-sp2 (10/26/10) mega - build 15508M NEWD-2 Eko
155xx
build在mega下可能會有一些問題,也許14xxx版本會好一些,不妨
試試看。
Original comment by pahud...@gmail.com
on 11 Nov 2010 at 7:13
Comment is too long
都写在文件里了
Original comment by jno...@gmail.com
on 13 Nov 2010 at 7:48
Attachments:
issue #34 和 #50
都属于我在使用pptp+jffs时候出现的问题,换成openvpn就没有出�
��了。如果没有其它人回报这个问题,建议close
Original comment by jno...@gmail.com
on 20 Mar 2011 at 1:38
我也有相同的问题,只能reboot
Original comment by gob...@gmail.com
on 26 Aug 2012 at 7:46
我也有此问题。
Original comment by i...@uceng.com
on 13 Oct 2012 at 10:37
我也有此问题出现。
Original comment by e...@uceng.com
on 5 Nov 2012 at 6:34
Original issue reported on code.google.com by
jno...@gmail.com
on 9 Nov 2010 at 9:47