sudo aptitude install atftpd dhcp3-server
[fail] invoke-rc.d: initscript dhcp3-server, action “start” failed.
https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/38221
http://forum.eeeuser.com/viewtopic.php?id=4669
diff -r 7c79026b06f9 dhcp3/dhcpd.conf --- a/dhcp3/dhcpd.conf Fri Mar 13 15:03:48 2009 +0100 +++ b/dhcp3/dhcpd.conf Fri Mar 13 15:08:53 2009 +0100 @@ -31,8 +31,8 @@ # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. -#subnet 10.152.187.0 netmask 255.255.255.0 { -#} +subnet 0.0.0.0 netmask 0.0.0.0 { +} # This is a very basic subnet declaration.
allow booting; allow bootp; option routers [gateway address]; option subnet-mask [subnet mask]; option domain name [domain name]; option domain-name-servers [list of dns servers]; default-lease-time 21600; max-lease-time 43200;
group { next-server [ip or hostname of tftp server]; #This is the pxe bootloader file filename "pxelinux.0"; # One host block per client. This network only has one. host stb1 { hardware ethernet [MAC address, in format nn:nn:nn:nn:nn:nn] fixed-address [ip address that will be assigned to client] } }
PXE-E51: No DHCP or proxyDHCP offers were recevied. PXE-M0F: Exiting Intel PXE ROM.
CACHE_DIR_HTTP=${HOME}/mnt/cache/http url=http://people.debian.org/~joeyh/d-i/images/daily/netboot/ cd ${CACHE_DIR_HTTP} && wget -p -c -r --no-parent ${url} ln -fs ${CACHE_DIR_HTTP}/../${url} /var/lib/tftpboot/ cd /var/lib/tftpboot d=$(basename -- "$url") ln -fs netboot/pxelinux.cfg ./ ln -fs netboot/pxelinux.0 ./