Table of Contents

sudo aptitude install atftpd dhcp3-server

[fail] invoke-rc.d: initscript dhcp3-server, action “start” failed.

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 netmask {
+subnet netmask {

 # 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. 


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 ./




pxe.txt · Last modified: 2019/08/07 23:37 by rzr
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki