see: * *

Install ipcheck either from homepage or the debian package.

Do the following:

root$ mkdir /etc/ipcheck
root$ touch /etc/ipcheck/activate

Add the following to the file =activate=:

username passwd hostname

For the first time run:

root$ cd /etc/ipcheck
root$ /usr/sbin/ --makedat -d /etc/ipcheck/ --acctfile /etc/ipcheck/activate

After that run:

root$ cd /etc/ipcheck
root$ /usr/sbin/ -d /etc/ipcheck/ --acctfile /etc/ipcheck/activate

You may add a script to /etc/ppp/ip-up.d/ to run this each time a connection is established.