su - root
apt-get install dhcp3-server apache2 tftpd-hpa
ifconfig eth1 192.168.0.254 # ou eth0 suivant vos cartes réseaux)
vi /etc/default/dhcp3-server
INTERFACES="eth1"
vi /etc/dhcp3/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.1 192.168.0.100; option broadcast-address 192.168.0.255; option routers 192.168.0.254; filename "/pxelinux.0"; max-lease-time 60; default-lease-time 60; }
cd /var/lib/tftpboot
wget http://heanet.dl.sourceforge.net/sourceforge/ipcop/ipcop-1.4.20-install-pxe.i386.tgz
tar xvzf ipcop-1.4.20-install-pxe.i386.tgz
mv pxelinux.cfg/ipcop-pxe-1.4.20.model pxelinux.cfg/default
/etc/init.d/dhcp3-server restart
/etc/init.d/tftpd-hpa restart
cd /var/www
wget http://mesh.dl.sourceforge.net/sourceforge/ipcop/ipcop-1.4.20-install-cd.i386.iso
mkdir ipcop
mount -o loop ipcop-1.4.20-install-cd.i386.iso ipcop