Hi all,
About two weeks ago, my WRT54GL (v.2) running 7.06 started randomly rebooting every few hours/minutes and I'm stumped as to why. Can anyone give any advice on why this might be happening? During some points in the day, it reboots every 10 minutes with little network load. I haven't changed anything on the router and it was working quite fine up until last week. It is connected to a UPS and the line voltage is fine.
I have a quick-and-dirty script running every 5 minutes gives the router stats but there is nothing indicating why it reboots.
Log:
Oct 31 12:00:01 router.nrhome crond[928]: USER root pid 1260 cmd /etc/init.d/ntp_client
Oct 31 12:03:18 router.nrhome crond[928]: USER root pid 1392 cmd /usr/bin/memuse.sh
Oct 31 12:08:18 router.nrhome crond[928]: USER root pid 1392 cmd /usr/bin/memuse.sh
Oct 31 12:13:18 router.nrhome crond[928]: USER root pid 1408 cmd /usr/bin/memuse.sh
Oct 31 12:18:18 router.nrhome crond[928]: USER root pid 1422 cmd /usr/bin/memuse.sh
Oct 31 12:19:06 router.nrhome kernel: device wl0 entered promiscuous mode
Oct 31 12:19:06 router.nrhome kernel: br-lan: port 2(wl0) entering learning state
Oct 31 12:19:06 router.nrhome kernel: br-lan: port 2(wl0) entering forwarding state
Oct 31 12:19:06 router.nrhome kernel: br-lan: topology change detected, propagating
Oct 31 12:19:06 router.nrhome crond[928]: crond 2.3.2 dillon, started, log level 8
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: started, version 2.38 cachesize 150
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I1
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: DHCP, IP range 192.168.1.200 -- 192.168.1.205, lease time 12h
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: using local addresses only for domain lan
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: reading /tmp/resolv.conf.auto
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: using nameserver xxx.xxx.xxx.xxx#53
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: using nameserver xxx.xxx.xxx.xxx#53
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: using local addresses only for domain lan
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: read /etc/hosts - 5 addresses
Oct 31 12:19:07 router.nrhome dnsmasq[1238]: read /etc/ethers - 3 addresses
Oct 31 12:19:07 router.nrhome : 36524 00025.332 16686.0 21.0 247163122109835.5 98739.6 0
Oct 31 12:19:07 router.nrhome : sysctl: error: 'net.ipv4.tcp_syncookies' is an unknown key
Oct 31 12:19:07 router.nrhome : sysctl: error: 'net.ipv4.ip_conntrack_tcp_timeouts' is an unknown key
Oct 31 12:19:07 router.nrhome : sysctl: error: 'net.ipv4.ip_conntrack_udp_timeouts' is an unknown key
Oct 31 12:19:41 router.nrhome crond[928]: time disparity of 4119386 minutes detected
Oct 31 12:23:18 router.nrhome crond[928]: USER root pid 1260 cmd /etc/init.d/ntp_client
Oct 31 12:23:18 router.nrhome crond[928]: USER root pid 1262 cmd /usr/bin/memuse.sh
Oct 31 12:28:18 router.nrhome crond[928]: USER root pid 1278 cmd /usr/bin/memuse.sh
memuse.sh gives:
root@router:~/log# tail -n100 -f /var/log/memuse.log
Wed Oct 31 16:10:38 UTC 2007
--- uptime:
16:10:38 up 19 min, load average: 0.01, 0.01, 0.00
--- df:
Filesystem 1k-blocks Used Available Use% Mounted on
none 7156 44 7112 1% /tmp
/dev/mtdblock/4 2112 1024 1088 48% /jffs
/jffs 1152 1152 0 100% /
--- meminfo:
total: used: free: shared: buffers: cached:
Mem: 14655488 11739136 2916352 0 1138688 4075520
Swap: 0 0 0
MemTotal: 14312 kB
MemFree: 2848 kB
MemShared: 0 kB
Buffers: 1112 kB
Cached: 3980 kB
SwapCached: 0 kB
Active: 2852 kB
Inactive: 2272 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14312 kB
LowFree: 2848 kB
SwapTotal: 0 kB
SwapFree: 0 kB
--- ps:
PID Uid VmSize Stat Command
1 root 404 S init
2 root SW [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
8 root SW [mtdblockd]
85 root SWN [jffs2_gcd_mtd4]
99 root 404 S logger -s -p 6 -t
101 root 380 S /sbin/syslogd -n -R 192.168.1.5
102 root 372 S /sbin/klogd -n
103 root 404 S init
123 root 424 S syslogd -C16 -L -R 192.168.1.5
127 root 372 S klogd
693 root 624 S /usr/sbin/pppd plugin rp-pppoe.so mtu 1492 mru 1492 n
919 root 460 S /usr/sbin/nas -P /var/run/nas.wl0.pid -H 34954 -l br-
928 root 424 S crond -c /etc/crontabs
936 root 420 S /usr/sbin/dropbear -p 22
978 root 396 S httpd -p 80 -h /www -r OpenWrt
1238 nobody 432 S dnsmasq -I ppp0
1266 root 608 S /usr/sbin/dropbear -p 22
1267 root 568 S -ash
1372 root 412 S /bin/sh /usr/bin/memuse.sh
1381 root 384 R ps -elf
--- netstat:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:80 *:* LISTEN
tcp 0 0 *:53 *:* LISTEN
tcp 0 0 *:22 *:* LISTEN
tcp 0 0 router.nrhome:22 192.168.1.50:57807 ESTABLISHED
udp 0 0 *:2048 *:*
udp 0 0 *:2049 *:*
udp 0 0 *:2051 *:*
udp 0 0 localhost.:34954 *:*
udp 0 0 *:53 *:*
udp 0 0 *:67 *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] DGRAM 141 /dev/log
unix 7 [ ] DGRAM 164 /dev/log
unix 2 [ ] DGRAM 1306
unix 2 [ ] DGRAM 997
unix 2 [ ] DGRAM 978
unix 2 [ ] DGRAM 174
unix 2 [ ] DGRAM 168
unix 2 [ ] DGRAM 146
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
xx.xxx.xxx.xxx * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
default xx.xxx.xxx.xxx 0.0.0.0 UG 0 0 0 ppp0
Wed Oct 31 16:15:01 UTC 2007
--- uptime:
16:15:01 up 23 min, load average: 0.00, 0.00, 0.00
--- df:
Filesystem 1k-blocks Used Available Use% Mounted on
none 7156 44 7112 1% /tmp
/dev/mtdblock/4 2112 1024 1088 48% /jffs
/jffs 1152 1152 0 100% /
--- meminfo:
total: used: free: shared: buffers: cached:
Mem: 14655488 11886592 2768896 0 1138688 4071424
Swap: 0 0 0
MemTotal: 14312 kB
MemFree: 2704 kB
MemShared: 0 kB
Buffers: 1112 kB
Cached: 3976 kB
SwapCached: 0 kB
Active: 2868 kB
Inactive: 2256 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14312 kB
LowFree: 2704 kB
SwapTotal: 0 kB
SwapFree: 0 kB
--- ps:
PID Uid VmSize Stat Command
1 root 404 S init
2 root SW [keventd]
3 root RWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
8 root SW [mtdblockd]
85 root SWN [jffs2_gcd_mtd4]
99 root 404 S logger -s -p 6 -t
101 root 380 S /sbin/syslogd -n -R 192.168.1.5
102 root 372 S /sbin/klogd -n
103 root 404 S init
123 root 424 S syslogd -C16 -L -R 192.168.1.5
127 root 372 S klogd
693 root 624 S /usr/sbin/pppd plugin rp-pppoe.so mtu 1492 mru 1492 n
919 root 460 S /usr/sbin/nas -P /var/run/nas.wl0.pid -H 34954 -l br-
928 root 424 S crond -c /etc/crontabs
936 root 420 S /usr/sbin/dropbear -p 22
978 root 396 S httpd -p 80 -h /www -r OpenWrt
1238 nobody 432 S dnsmasq -I ppp0
1266 root 608 S /usr/sbin/dropbear -p 22
1267 root 568 S -ash
1391 root 352 S tail -n100 -f /var/log/memuse.log
1392 root 400 S /bin/sh -c /usr/bin/memuse.sh
1393 root 412 S /bin/sh /usr/bin/memuse.sh
1402 root 384 R ps -elf
--- netstat:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:80 *:* LISTEN
tcp 0 0 *:53 *:* LISTEN
tcp 0 0 *:22 *:* LISTEN
tcp 0 0 router.nrhome:22 192.168.1.50:57807 ESTABLISHED
udp 0 0 *:2048 *:*
udp 0 0 *:2049 *:*
udp 0 0 *:2051 *:*
udp 0 0 localhost.:34954 *:*
udp 0 0 *:53 *:*
udp 0 0 *:67 *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] DGRAM 141 /dev/log
unix 7 [ ] DGRAM 164 /dev/log
unix 2 [ ] DGRAM 1306
unix 2 [ ] DGRAM 997
unix 2 [ ] DGRAM 978
unix 2 [ ] DGRAM 174
unix 2 [ ] DGRAM 168
unix 2 [ ] DGRAM 146
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
xx.xxx.xxx.xxx * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
default xx.xxx.xxx.xxx 0.0.0.0 UG 0 0 0 ppp0