Sie sind hier: Startseite Verschiedenes net-status-monitor

net-status-monitor

A simple script for testing the internet connectivity (grandmother-proof).
net-status-monitor

net-status-monitor with verbose output

(c) Copyright 2007 by Hartmut Goebel. Licenced under GNU General Public License version3 (or later)

Description

If internet-connectivity is okay, tells you the external IP-address (for the case you dynamic DNS provider is down).

If not, it tries to find the point where the connectivity fails.

Output is quite simple, so you can put it on your grandmother's PC. "Just tell me what the red line says" should give you enough information.

Features

  • simple ncurses interface
  • logs to syslog
  • drops privileges when running as root (nobody/nogroup)
  • Option --run-once to run only one circle. This is required if name resolution is not set up at the very first run. (/etc/resolv.conf ist read only when the process starts and never re-read.)

Download current version

Requirements

Install

  • Install Requirements
  • Copy the script 'net-status-monitor' into /usr/bin or /usr/local/bin (as you like).

Hints

For running net-stautus-monitor on a Linux virutal console (console No. 6 in this example), put this into /etc/inittab:

/bin/open -w -c 6 -- /usr/local/bin/net-status-monitor -1

Bugs

Texts are in German currently, but you may translate them easily. If someone will set up localization support, I'm willing to integrate it.

Changes

  • v20070908 - added logging cababilities and --loglevel option - if running as root, drops privileges (Thanks to Gavin Baker) - addded option --run-once
  • v20070903 - initial release