Ok, im trying to PXE boot a thin client under Linux. Ive been using the following HOWTO:
tftpd cannot do PXE installs due to the lack of the tsize option, so we use tftpd-hpa instead:
sudo apt-get install dnsmasq tftpd-hpa tftp-hpa openbsd-inetd xinetd bootp dhcp3-server
sudo mkdir /var/lib/tftpboot
cd /var/lib/tftpboot
sudo wget http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-i386/current/images/netboot/netboot.tar.gz
sudo tar -xvzf netboot.tar.gz -C /var/lib/tftpboot/
sudo chown -R nobody:nogroup /var/lib/tftpboot
In /etc/dnsmasq.conf, add the following (replace values as needed):
dhcp-range=lower,upper,12h
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-boot=pxelinux.0,servername,serverip
dhcp-option=3,gatewayip
dhcp-option=6,dnsserverip
In /etc/bootptab, add the following (replace values as needed):
client:\
ha="macaddress":\
ip=clientip:\
gw=gatewayip:\
sm=subnetmask:\
td=/var/lib/tftpboot: hd=/: bf=pxelinux.0
In /etc/default/tftpd-hpa, add the following:
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"
Add the following to /etc/xinetd.d/tftp (replace values as needed):
service tftp
{
disable = no
socket_type = dgram
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -v -s /var/lib/tftpboot
only_from = networkip
interface = serverip
}
Reboot the server.
BUT IT DOESNT WORK!
Anyone got a better one?