Article 5B3FY terminal tool to check internet connection when disconnection

terminal tool to check internet connection when disconnection

by
andrewysk
from LinuxQuestions.org on (#5B3FY)
Hii

I would like to know is there any terminal tool that i can use to run in terminal constantly be it internet is ok or internet got disconnected ?

Recently i have got internet disconnection issue with my service provider. I often found out my router reset itself and it is trying to connect or something.. hence lost lan and internet. sometime got lan but no internet.

I tried these 2 cli tools when internet disconnected:
ping www.google.com
and
Mtr www.google.com

but, these tools can't help me to know when internet is again connected .. because i saw router signal Indicator is normal, but both ping and mtr keeps showing as not connected... until i cancel and rerun the command.. then it shows it is connected..

if i need to rerun when internet is back to normal, then, those tools are useless in this case.

Is there such tool ?

thxlatest?d=yIl2AUoC8zA latest?i=byiQa134xsI:RtszOtk25v8:F7zBnMy latest?i=byiQa134xsI:RtszOtk25v8:V_sGLiP latest?d=qj6IDK7rITs latest?i=byiQa134xsI:RtszOtk25v8:gIN9vFwbyiQa134xsI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments