Looking for a program that can indicate internet connection

Hi, Can anyone suggest a program that can give a minute by minute indication of whether or not an internet connection is actually connected or not. I think I am losing the connection for a few seconds at a time now and again.

 regards Steve

On Sun, 15 Dec 2013 17:36:01 +0000, steveis2 wrote:

> Hi, Can anyone suggest a program that can give a minute by minute
> indication of whether or not an internet connection is actually
> connected or not. I think I am losing the connection for a few seconds
> at a time now and again.
>
> regards Steve

What version of openSUSE and what desktop environment?

If KDE, you might look for a plasmoid for KDE4; if GNOME, an extension at
extensions.gnome.org might do it.

But what you might do is simply open a terminal window and run ping to a
site that you know will respond. Something like:

ping -i 60 8.8.8.8

(-i 60 means “ever 60 seconds”).

Then wait until it looks like your connection is down and check the open
terminal window to see if ping has stopped.

Or just have a terminal window open with the command ready to run, and if
it seems your connection has dropped, switch to the window and run

ping 8.8.8.8

and see if you get responses.

(Press ctrl+c to exit ping)

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2013-12-15 19:33, Jim Henderson wrote:

> But what you might do is simply open a terminal window and run ping to a
> site that you know will respond. Something like:
>
> ping -i 60 8.8.8.8

There is a ping variant that keeps silent till there is a problem, just
for this kind of job. But I did not make written note of this, so I have
forgotten the concoction we used. We wrote a text report with
connectivity problems on several sites with this, daily.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-12-15 20:13, Carlos E. R. wrote:

> There is a ping variant that keeps silent till there is a problem, just
> for this kind of job. But I did not make written note of this, so I have
> forgotten the concoction we used. We wrote a text report with
> connectivity problems on several sites with this, daily.

A tentative list of ping variants to check:

ping
fwping (saint) ??
ping -f -l10 -s20000 router
bing compute point to point throughput using two sizes of
ICMP ECHO_REQUEST packets to a pair of remote hosts
fping - A program to ping multiple hosts
hping - Command-line oriented TCP/IP packet assembler/analyzer
nping - Compare Results of Nmap Scans
oping - Multiple Host Ping that supports ICMPv4 and ICMPv6

I have to go out, so I can’t look them up just now.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-12-15 20:23, Carlos E. R. wrote:
> On 2013-12-15 20:13, Carlos E. R. wrote:

> A tentative list of ping variants to check:
>
> ping
> fwping (saint) ??
> ping -f -l10 -s20000 router
> bing compute point to point throughput using two sizes of
> ICMP ECHO_REQUEST packets to a pair of remote hosts
> fping - A program to ping multiple hosts
> hping - Command-line oriented TCP/IP packet assembler/analyzer
> nping - Compare Results of Nmap Scans
> oping - Multiple Host Ping that supports ICMPv4 and ICMPv6
>
> I have to go out, so I can’t look them up just now.


fping - send ICMP ECHO_REQUEST packets to network hosts

fping is a program like ping which uses the Internet Control
Message Protocol (ICMP) echo request to determine if a target
host is responding.  fping differs from ping in that you can
specify any number of targets on the command line, or specify
a file containing the lists of targets to ping.  Instead of
sending to one target until it times out or replies, fping
will send out a ping packet and move on to the next target in
a round-robin fashion.  In the default mode, if a target
replies, it is noted and removed from the list of targets to
check; if a target does not respond within a certain time
limit and/or retry limit it is designated as unreachable.
fping also supports sending a specified number of pings to a
target, or looping indefinitely (as in ping ). Unlike ping,
fping is meant to be used in scripts, so its output is
designed to be easy to parse.

See:


Telcontar:~ # fping  -q -u moria bilbo
bilbo
Telcontar:~ #

It just displays hosts not responding.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)