PHPnetemGUI - http://www.smyles.plus.com/phpnetemgui/

Copyright 2005 British Telecommunications plc

Installation Instructions

You must have the apache web server and mod_php installed on your netem
machine. Please see the instructions for apache and php and ensure that
they are working. Generally if you can make the 'phpinfo.php' script
work then PHP and apache are installed correctly.

You must also have netem working correctly on your machine with support
available in the kernel and a recent version of iproute2 installed.

You need to have sudo installed and working on your machine. sudo
has a configuration file which can be edited using the 'visudo'
command. The following line will enable PHPnetemGUI to work:
	%apache		ALL=NOPASSWD: /<path>/<to>/tc
Where /<path>/<to>/ is the path where the tc command is located on your machine.
Note, that this is almost certainly a nasty security hole. This assumes
that apache is running as the user 'apache'. Change it to the
appropriate user if it is not.

The file, 'config.inc.php' is a small configuration file for the
program. You can also
change the location of the commands used by the program and the
location that it temporarily stores the on/off status and the last set
of commands that were run.  This location must be read/writeable by all
users, /tmp is a good example.

Finally, place the PHPnetemGUI files in a directory available to apache.
Pointing your web browser at the page will show the start screen.

