Timeline for Internet connection drop alert
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 18, 2016 at 11:44 | comment | added | Ray Foss |
It seems this will execute ping an unlimited number of times per second if it responds immediately, such as when the ethernet loses power. sleep 1 is enough to prevent this.
|
|
| Jun 9, 2014 at 5:57 | comment | added | Nidal | @slm, Thanks for your editing, I was confused how to make ping last only for one second | |
| Jun 9, 2014 at 0:49 | history | edited | slm♦ | CC BY-SA 3.0 |
deleted 2 characters in body
|
| Jun 9, 2014 at 0:47 | comment | added | slm♦ |
This will work, but you might want to consider using fing instead of ping. The ping cmd. can take a bit to fail when it isn't successful. The fing command on the otherhand will fail within 1 second. See my A to this Q&A for more: How to redirect the output of any command?. I show both using ping and fing.
|
|
| Jun 8, 2014 at 22:51 | history | edited | Nidal | CC BY-SA 3.0 |
added 37 characters in body
|
| Jun 8, 2014 at 22:46 | history | answered | Nidal | CC BY-SA 3.0 |