Readme for linkchk-0.0.2
linkchk is an active network link monitor
(c) 2001 Jens-Ulrik Petersen <juhp@01.246.ne.jp>
It is licensed under GPL 2 and comes with no warranty.
The latest version can be found at: <http://www.01.246.ne.jp/~juhp/linkchk>
DESCRIPTION
By default it repeatedly pings the IPv4 (or IPv6) address of
the default gateway of a given interface appearing in the
routing table and shows the link status in a small gtk
window or in a tty. With appropriate options it can be used
monitor any interface with a gateway or to ping any specific
host. gtk+hs is currently required to build it. The reason
for starting this project was to monitor an unreliable ppp
link at home with a tendency suddenly to start dropping
packets after a while.
Currently it uses some options of ping, ping6 and netstat
that are probably specific to Linux, but porting to most
unices should be straightforward I imagine. If you get
linkchk working on another platform and can send me patches,
or can send me "ifconfig" and "netstat" output from your
platform, then I will be happy to try to fold them into the
distribution.
If you find linkchk useful, or have comments, feedback or
other contributions, I would be glad to hear from you.
BUILDING
In order to build linkchk you need to have installed
* gtk+hs: a recent version (I'm using 0.12.1 from cvs)
(available from <http://www.cse.unsw.edu.au/~chak/haskell/gtk/>).
* c2hs: a recent version (I'm using 0.10.1 from cvs)
* ghc: a recent version (I'm using 5.02)
Once you have those in place, you should be able to build in
the standard way; ie something like:
% ./configure
% make
% make install
should make and install the executable "linkchk", that
you can then test by running. "linkchk --help" lists its
options.
See the generic INSTALL instructions for more information on building.