net-status-monitor
(c) Copyright 2007 by Hartmut Goebel.
Licenced under the GNU General Public License version3 (or later)
Description
If internet-connectivity is okay, this script 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 the current version
Requirements
- Python 2.4 or higher
- drop_privileges
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.