Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 771 Bytes
Problems:
1) Byfly is a belorussian provider. It likes to reboot its core routes twice a week.
2) D-Link 2500U has no option to automatic reboot while interfaces became unreachable. There is no event available to cutomize it.
3) After rebooting D-Link 2500U will not ask your connected devices by ARP. It will use cached data from the previous session. Thats why bug "ARP status Incomplete" will take place after about 20 minutes
after reboot.
Solution (may be not very good but works):
1) Ask each hour modem is google.com available.
2) If google.com is not available reboot modem.
3) Wait about 5 minutes (with guarantee).
4) restart network-manager service.
Add to your crontab (with root rights)
sudo crontab -e
0 * * * * /path_to/check >> /path_to/modem.log 2>&1