
QUICK START
IPwatchD requirements
To build IPwatchD from source code you will need gcc, libpcap and libnet1 installed in your system.
To build IPwatchD G Notify (Notification tool for Gnome environment) you will also need libnotify.
On Ubuntu 10.04 it should be sufficient to install following packages:
| - build-essential | - C compiler and other development tools | ||
| - libpcap-dev | - Network packet capture library | ||
| - libnet1-dev | - Network packet construction library | ||
| - libnotify-dev | - Desktop notification library |
Building IPwatchD
Download IPwatchD 1.2.1 source from sourceforge project page.
Extract the code and build it:
$ gunzip ipwatchd-1.2.1.tar.gz
$ tar -xf ipwatchd-1.2.1.tar
$ cd ipwatchd-1.2.1/src
$ make
You can install IPwatchD as root with command:
# make install
You can uninstall IPwatchD as root with command:
# make uninstall
Building IPwatchD G Notify
Download IPwatchD G Notify 1.0.1 source from sourceforge project page.
Extract the code and build it:
$ gunzip ipwatchd-gnotify-1.0.1.tar.gz
$ tar -xf ipwatchd-gnotify-1.0.1.tar
$ cd ipwatchd-gnotify-1.0.1/src
$ make
You can install IPwatchD G Notify as root with command:
# make install
You can uninstall IPwatchD G Notify as root with command:
# make uninstall
What gets installed
| - /etc/ipwatchd.conf | - configuration file | ||
| - /etc/init.d/ipwatchd | - init script | ||
| - /usr/sbin/ipwatchd | - daemon executable | ||
| - /usr/sbin/ipwatchd-script | - user-defined script | ||
| - /usr/share/man/man8/ipwatchd.8.gz | - manual page | ||
| - /usr/share/man/man5/ipwatchd.conf.5.gz | - manual page | ||
| - /usr/share/man/man1/ipwatchd-script.1.gz | - manual page | ||
| - /usr/sbin/ipwatchd-gnotify | - Gnome notification tool | ||
| - /usr/share/man/man1/ipwatchd-gnotify.1.gz | - manual page |
IPwatchD configuration
Edit configuration file /etc/ipwatchd.conf with your favorite text editor to suite your needs.
You can run IPwatchD as root with init script:
# /etc/init.d/ipwatchd start
Or you can run it with command:
# /usr/sbin/ipwatchd -c /etc/ipwatchd.conf
For more information please read manual pages.