Добрый вечер.
Провел тестирование на отваливание сети. Проблема появляется только с dhcp настройкой сети на wb! Дальше буду еще наблюдать.
отключил питание роутера
статический адрес на WB
[72547.390000] smsc95xx 1-1.1:1.0 eth0: link down
[72548.000000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72548.360000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72548.370000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
включил питание роутера
[72557.230000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[72557.260000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E
[72557.260000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E 1
[72577.330000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72577.340000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72577.370000] smsc95xx 1-1.1:1.0 eth0: link down
[72577.480000] smsc95xx 1-1.1:1.0 eth0: link down
[72578.040000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72578.430000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72578.440000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[72579.970000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72579.970000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72579.980000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72579.990000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
[72580.010000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[72580.100000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[72580.180000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
сеть есть. но в логе появились такие ошибки [72579.970000] smsc95xx 1-1.1:1.0 eth0: kevent 4 may have been dropped
без перезагрузке wb поменял статику на dhcp
root@wirenboard:~# [72845.280000] smsc95xx 1-1.1:1.0 eth0: link down
[72845.900000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72846.280000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[72846.290000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
отключил питание роутера
[72861.580000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[72861.600000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex,
[72881.690000] smsc95xx 1-1.1:1.0 eth0: link down
[72883.360000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
^C
роутер стартовал, но WB стал не доступен через веб морду и ssh
далее вывод ifconfig
root@wirenboard:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:86:41:00:bb:37
inet6 addr: fe80::286:41ff:fe00:bb37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:276607 errors:0 dropped:31 overruns:0 frame:0
TX packets:266766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14905575 (14.2 MiB) TX bytes:30873597 (29.4 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1878735 errors:0 dropped:0 overruns:0 frame:0
TX packets:1878735 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:152627513 (145.5 MiB) TX bytes:152627513 (145.5 MiB)
lpa 0x45E1
после ручного рестарта, сеть появляется.
root@wirenboard:~# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces …[73271.930000] w1_slave_driver 28-00043c91baff: Read failed CRC check
(warning).
Reconfiguring network interfaces…SIOCSIFHWADDR: Device or resource busy - you may need to down the interface
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover…
Sending select for 192.168.1.29…
Lease of 192.168.1.29 obtained, lease time 86400
/etc/udhcpc/default.script: Resetting default routes
SIOCDELRT: No such process
/etc/udhcpc/default.script: Adding DNS 192.168.1.1
done.
повторяем на динамичесокм ip
[73359.550000] smsc95xx 1-1.1:1.0 eth0: link down
[73360.140000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[73360.520000] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[73360.530000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[73368.830000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[73368.850000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[73388.740000] smsc95xx 1-1.1:1.0 eth0: link down
[73390.400000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
wb недоступен!
ifdown eth0
ifdown: interface eth0 not configured
root@wirenboard:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:86:41:00:bb:37
inet6 addr: fe80::286:41ff:fe00:bb37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:278910 errors:0 dropped:35 overruns:0 frame:0
TX packets:267671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15058659 (14.3 MiB) TX bytes:30984051 (29.5 MiB)
далее опять рестартим сеть, в логу роутера отображается запрос на адрес
Sep 6 19:18:52 tomato daemon.info dnsmasq-dhcp[1155]: DHCPDISCOVER(br0) 00:86:41:00:bb:37
Sep 6 19:18:52 tomato daemon.info dnsmasq-dhcp[1155]: DHCPOFFER(br0) 192.168.1.29 00:86:41:00:bb:37
Sep 6 19:18:52 tomato daemon.info dnsmasq-dhcp[1155]: DHCPREQUEST(br0) 192.168.1.29 00:86:41:00:bb:37
Sep 6 19:18:52 tomato daemon.info dnsmasq-dhcp[1155]: DHCPACK(br0) 192.168.1.29 00:86:41:00:bb:37 WirenBoard
на статике из двух попыток не было проблемы