I have a router with OpenWRT. I noticed that sometimes (during night time) I have no internet connection. How can I log when this happens?

  • 1
    cron: ping -c 1 google.com || logger "Network down"? – Patrick Jul 13 '14 at 20:11
  • or if you like to have graphs and to know on which point your network is not working you can try smokeping. – Rabin Jul 13 '14 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.