For debian squeeze << apt-get install tftpd-hpa isc-dhcp-server bind9 cd /srv/tftp wget http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/netboot.tar.gz tar xfz netboot.tar.gz #OR# wget http://ftp.nl.debian.org/debian/dists/testing/main/installer-amd64/current/images/netboot/netboot.tar.gz # tail -3 /etc/network/interfaces allow-hotplug eth0 #NetworkManager#iface eth0 inet dhcp iface eth0 inet manual # tail -1 /etc/default/isc-dhcp-server INTERFACES="eth0" # tail /etc/dhcp/dhcpd.conf subnet 10.0.0.0 netmask 255.255.255.0 { option routers 10.0.0.5; option domain-name-servers 10.0.0.5; range 10.0.0.10 10.0.0.20; filename "pxelinux.0"; next-server 10.0.0.5; } ip a add 10.0.0.5/24 dev eth0 echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT #iptables -A INPUT -i eth0 -j ACCEPT /etc/init.d/isc-dhcp-server restart /etc/init.d/bind9 restart plug machine on eth0 and boot