stoplan -- this script
cuts the computer on local LAN from accessing the Internet.
I do it to my kids when they had too much. Use it as:
stoplan 5
to stop a computer which has a LAN address 192.168.0.5. Put it in the
/usr/sbin/stoplan or wherever in the path.
I am also using crontab to controll the hours when they can
access the Internet. My crontab is like:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.11668 installed on Sun Dec 2 10:28:46 2001)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
45 18 * * * /usr/sbin/restartlan 4
47 18 * * * /usr/sbin/restartlan 6
15 20 * * * /usr/sbin/stoplan 4
16 20 * * * /usr/sbin/stoplan 6
50 15 * * * /usr/sbin/restartlan 3
10 17 * * * /usr/sbin/stoplan 3
25 20 * * * /usr/sbin/restartlan 3
10 21 * * * /usr/sbin/stoplan 3