Mikaels blog
blosxom with a touch of python

Thu, 16 Apr 2009

Setting up pxe boot in 10 minutes.
sudo aptitude install tftpd-hpa dhcp3-server lftp
sudo vi /etc/default/tftpd-hpa
change

RUN_DAEMON="no"

to

RUN_DAEMON="yes"

sudo /etc/init.d/tftpd-hpa start

sudo vi /etc/default/dhcp3-server

set the correct interfaces to listen on

sudo vi /etc/dhcp3/dhcpd.conf

	option domain-name-servers 85.11.31.xxx, xxx.xxx.xxx.xxx, xxx.xxx.xxxx.xxx;
	subnet 192.168.1.0 netmask 255.255.255.0 {
	 range 192.168.1.100 192.168.1.200;
	 option routers 192.168.1.1;
	}
	filename "/pxelinux.0";

sudo /etc/init.d/dhcp3-server force-reload

cd /var/lib/tftpboot
sudo lftp -c "open http://se.archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-amd64/current/images/netboot/; mirror"
#exchange for i386 if needed
reboot your client
[19:46] | [] | # |
Mikael Frykholm

Google
Webmail
Owncloud



atom
Tranquillity - Green hosting