1

Temat: Co zrobić gdy system plików się posypie

Witam,
To już 4 dzień z rzędu gdy wracam z pracy i nie mogę się zalogować do rutera.
Do tej większych problemów nie było - reboot raz na miesiąc i było ok. Teraz coś zaczyna się sypać.
Internet jest, czasami nie ma, nie idzie się zalogować z przeglądarki - albo pusta strona albo kod 500.
Przez puttiego nic nie idzie - od razu zamykane jest okno. FTP nie działa. Pyload nie działa.
No to zostaje manualny restart. Ruter działa - na drugi dzień powtórka z rozrywki.
Przypuszczam że to system plików zaczyna się sypać - czy może to coś innego? Co tu zrobić?
Jak temu zaradzić?

Logi idą do pliku - mam coś takiego

Oct 31 16:03:36 dnsmasq[1977]: using nameserver 208.67.220.220#53
Oct 31 16:03:36 dnsmasq[1977]: using nameserver 208.67.222.222#53
Oct 31 16:03:36 dnsmasq[1977]: using nameserver 208.67.220.220#53
Oct 31 16:03:36 dnsmasq[1977]: using nameserver 208.67.222.222#53
Oct 31 16:03:36 dnsmasq[1977]: using local addresses only for domain lan
Oct 31 16:04:00 kernel: [73431.340000] IMQ driver unloaded successfully.
Oct 31 16:04:00 kernel: [73431.380000]     Hooked IMQ after mangle on INPUT
Oct 31 16:04:00 kernel: [73431.380000]     Hooked IMQ after mangle on FORWARD
Oct 31 16:04:00 kernel: [73431.390000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Oct 31 16:04:22 miniupnpd: removing firewall rules for 3g-wan from zone wan
Oct 31 16:04:22 miniupnpd: adding firewall rules for 3g-wan to zone wan
Oct 31 16:04:23 miniupnpd[12209]: could not open lease file: /var/upnp.leases
Oct 31 16:04:23 miniupnpd[12209]: HTTP listening on port 5000
Oct 31 16:04:23 miniupnpd[12209]: Listening for NAT-PMP traffic on port 5351
Oct 31 16:12:44 hostapd: wlan0: STA 00:11:7f:57:8c:82 IEEE 802.11: deauthenticated due to local deauth request
Jan  1 01:00:41 syslogd started: BusyBox v1.19.4
Jan  1 01:00:41 kernel: klogd started: BusyBox v1.19.4 (2013-05-02 20:58:40 CEST)

Oct 30 08:00:09 dnsmasq: Allowing 127.0.0.0/8 responses
Oct 30 08:00:12 dnsmasq[1978]: started, version 2.62 cachesize 150
Oct 30 08:00:12 dnsmasq[1978]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Oct 30 08:00:12 dnsmasq-dhcp[1978]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Oct 30 08:00:12 dnsmasq[1978]: using local addresses only for domain lan
Oct 30 08:00:12 dnsmasq[1978]: reading /tmp/resolv.conf.auto
Oct 30 08:00:12 dnsmasq[1978]: using nameserver 208.67.220.220#53
Oct 30 08:00:12 dnsmasq[1978]: using nameserver 208.67.222.222#53
Oct 30 08:00:12 dnsmasq[1978]: using local addresses only for domain lan
Oct 30 08:00:12 dnsmasq[1978]: read /etc/hosts - 2 addresses
Oct 30 08:00:12 dnsmasq-dhcp[1978]: reJan  1 01:00:39 syslogd started: BusyBox v1.19.4
Jan  1 01:00:39 kernel: klogd started: BusyBox v1.19.4 (2013-05-02 20:58:40 CEST)

Oct 30 08:01:24 dnsmasq[1983]: using nameserver 208.67.220.220#53
Oct 30 08:01:24 dnsmasq[1983]: using nameserver 208.67.222.222#53
Oct 30 08:01:24 dnsmasq[1983]: using nameserver 208.67.220.220#53
Oct 30 08:01:24 dnsmasq[1983]: using nameserver 208.67.222.222#53
Oct 30 08:01:24 dnsmasq[1983]: using local addresses only for domain lan
Oct 30 08:01:26 kernel: [  137.560000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Oct 30 08:01:26 kernel: [  137.570000]                old minutes west=0, new minutes west=-60
Oct 30 08:01:35 kernel: [  146.670000] IMQ driver unloaded successfully.
Oct 30 08:01:35 kernel: [  146.730000]     Hooked IMQ after mangle on INPUT
Oct 30 08:01:35 kernel: [  146.730000]     Hooked IMQ after mangle on FORWARD
Oct 30 08:01:35 kernel: [  146.740000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Oct 30 18:42:59 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: group key handshake completed (WPA)
Oct 30 18:43:20 miniupnpd: adding firewall rules for 3g-wan to zone wan
Oct 30 18:43:20 miniupnpd[5484]: could not open lease file: /var/upnp.leases
Oct 30 18:43:20 miniupnpd[5484]: HTTP listening on port 5000
Oct 30 18:43:20 miniupnpd[5484]: Listening for NAT-PMP traffic on port 5351
Oct 30 18:43:23 crond[5016]: time disparity of 641 minutes detected
Oct 30 18:46:54 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: authenticated
Oct 30 18:46:54 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: associated (aid 2)
Oct 30 18:46:57 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: authenticated
Oct 30 18:46:57 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: associated (aid 2)
Oct 30 18:46:57 hostapd: wlan0: STA 54:44:08:f5:d1:34 WPA: pairwise key handshake completed (WPA)
Oct 30 18:46:57 hostapd: wlan0: STA 54:44:08:f5:d1:34 WPA: group key handshake completed (WPA)
Oct 30 18:47:01 dnsmasq-dhcp[1983]: DHCPDISCOVER(br-lan) 54:44:08:f5:d1:34 
Oct 30 18:47:01 dnsmasq-dhcp[1983]: DHCPOFFER(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 30 18:47:01 dnsmasq-dhcp[1983]: DHCPREQUEST(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 30 18:47:01 dnsmasq-dhcp[1983]: DHCPACK(br-lan) 192.168.1.224 54:44:08:f5:d1:34 Windows-Phone
Oct 30 18:47:44 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: disassociated
Oct 30 18:47:45 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct 30 18:52:59 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: group key handshake completed (WPA)
Jan  1 01:00:39 syslogd started: BusyBox v1.19.4

Oct 28 11:31:13 dnsmasq[2007]: using nameserver 208.67.220.220#53
Oct 28 11:31:13 dnsmasq[2007]: using nameserver 208.67.222.222#53
Oct 28 11:31:13 dnsmasq[2007]: using nameserver 208.67.220.220#53
Oct 28 11:31:13 dnsmasq[2007]: using nameserver 208.67.222.222#53
Oct 28 11:31:13 dnsmasq[2007]: using local addresses only for domain lan
Oct 28 11:31:13 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: group key handshake completed (WPA)
Oct 28 11:31:37 kernel: [65573.130000] IMQ driver unloaded successfully.
Oct 28 11:31:37 kernel: [65573.170000]     Hooked IMQ after mangle on INPUT
Oct 28 11:31:37 kernel: [65573.180000]     Hooked IMQ after mangle on FORWARD
Oct 28 11:31:37 kernel: [65573.180000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Oct 28 11:31:59 miniupnpd: removing firewall rules for 3g-wan from zone wan
Oct 28 11:32:00 miniupnpd: adding firewall rules for 3g-wan to zone wan
Oct 28 11:32:00 miniupnpd[5474]: could not open lease file: /var/upnp.leases
Oct 28 11:32:00 miniupnpd[5474]: HTTP listening on port 5000
Oct 28 11:32:00 miniupnpd[5474]: Listening for NAT-PMP traffic on port 5351
Jan  1 01:00:41 syslogd started: BusyBox v1.19.4

Oct 29 07:34:27 dnsmasq-dhcp[1970]: DHCPDISCOVER(br-lan) 54:44:08:f5:d1:34 
Oct 29 07:34:27 dnsmasq-dhcp[1970]: DHCPOFFER(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 29 07:34:28 dnsmasq-dhcp[1970]: DHCPREQUEST(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 29 07:34:28 dnsmasq-dhcp[1970]: DHCPACK(br-lan) 192.168.1.224 54:44:08:f5:d1:34 Windows-Phone
Oct 29 07:35:12 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: disassociated
Oct 29 07:35:13 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct 29 07:50:32 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: authenticated
Oct 29 07:50:32 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: associated (aid 1)
Oct 29 07:50:32 hostapd: wlan0: STA 54:44:08:f5:d1:34 WPA: pairwise key handshake completed (WPA)
Oct 29 07:50:32 hostapd: wlan0: STA 54:44:08:f5:d1:34 WPA: group key handshake completed (WPA)
Oct 29 07:50:32 dnsmasq-dhcp[1970]: DHCPDISCOVER(br-lan) 54:44:08:f5:d1:34 
Oct 29 07:50:32 dnsmasq-dhcp[1970]: DHCPOFFER(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 29 07:50:32 dnsmasq-dhcp[1970]: DHCPREQUEST(br-lan) 192.168.1.224 54:44:08:f5:d1:34 
Oct 29 07:50:32 dnsmasq-dhcp[1970]: DHCPACK(br-lan) 192.168.1.224 54:44:08:f5:d1:34 Windows-Phone
Oct 29 07:53:49 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: disassociated
Oct 29 07:53:50 hostapd: wlan0: STA 54:44:08:f5:d1:34 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Jan  1 01:00:40 syslogd started: BusyBox v1.19.4
WDR3600, ADATA S102 PRO 32GB, extroot, ver. Gargoyle 1.12.0.2

2

Odp: Co zrobić gdy system plików się posypie

Nic nie ma ciekawego w tych logach.  Jeżeli możesz to podłącz konsolę szeregową i łap wyniki.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Co zrobić gdy system plików się posypie

Konsoli szeregowej nie mam  - więc muszę inaczej kombinować.
Ostatnia doba - testowanie już z wyłączonym pyloadem, transmisionem - i to samo. Właściwie trochę lepiej - bo połączyłem się przez putty i mogłem wykonać restart.

W zasadzie zauważyłem że częsciej w okolicach godz 12 - gdy następuje rozłączenie/połączenie 3G to coś zaczyna się sypać.
Czy wtedy mamy jakieś zaplanowane zadania przy uzyskiwaniu połączenia? Czy nie jest to synchronizacja czasu?

Nov  2 12:01:21 firewall: adding wan (3g-wan) to zone wan
Nov  2 12:01:24 dnsmasq[1978]: reading /tmp/resolv.conf.auto
Nov  2 12:01:24 dnsmasq[1978]: using nameserver 208.67.220.220#53
Nov  2 12:01:24 dnsmasq[1978]: using nameserver 208.67.222.222#53
Nov  2 12:01:24 dnsmasq[1978]: using nameserver 208.67.220.220#53
Nov  2 12:01:24 dnsmasq[1978]: using nameserver 208.67.222.222#53
Nov  2 12:01:24 dnsmasq[1978]: using local addresses only for domain lan
Nov  2 12:01:26 kernel: [  137.610000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Nov  2 12:01:26 kernel: [  137.610000]                old minutes west=0, new minutes west=-60
Nov  2 12:01:35 kernel: [  146.690000] IMQ driver unloaded successfully.
Nov  2 12:01:35 kernel: [  146.740000]     Hooked IMQ after mangle on INPUT
Nov  2 12:01:35 kernel: [  146.740000]     Hooked IMQ after mangle on FORWARD
Nov  2 12:01:35 kernel: [  146.750000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Nov  2 21:06:23 hostapd: wlan0: STA 00:19:d2:b0:80:de WPA: group key handshake completed (WPA)

Powyżej o godz 12 urywają się logi.

Jak mogę wyłączyć synchronizację czasu - aby wykonała się ona tylko jeden raz przy uruchomieniu urządzenia?

WDR3600, ADATA S102 PRO 32GB, extroot, ver. Gargoyle 1.12.0.2

4

Odp: Co zrobić gdy system plików się posypie

Nie ma nic specjalnego około 12.

Za synchronizację czasu odpowiada sysntpd, uruchamiany z /etc/init.d.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.