From 35aa54a022ca3fac5b1c91993e5bdaef2ad7ea57 Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Tue, 26 Dec 2006 19:46:26 +0000 Subject: - All architectures that support TFTP booting also support DCHP, so remove the "supports-dhcp" condition - According to the text, Alpha supports BOOTP - Use dhcp3-server for examples rather than dhcp (version 2) - tftpd-hpa does not use /tftpboot by default; allow for this in examples --- en/install-methods/tftp/bootp.xml | 10 +++++----- en/install-methods/tftp/dhcp.xml | 19 ++++++++----------- 2 files changed, 13 insertions(+), 16 deletions(-) (limited to 'en/install-methods/tftp') diff --git a/en/install-methods/tftp/bootp.xml b/en/install-methods/tftp/bootp.xml index cda0f9c66..f0b0eab42 100644 --- a/en/install-methods/tftp/bootp.xml +++ b/en/install-methods/tftp/bootp.xml @@ -3,14 +3,14 @@ - Setting up BOOTP server + Setting up a BOOTP server There are two BOOTP servers available for GNU/Linux. The first is CMU bootpd. The other is actually a DHCP server: ISC dhcpd. In &debian; these are contained in the -bootp and dhcp packages -respectively. +bootp and dhcp3-server +packages respectively. @@ -61,11 +61,11 @@ By contrast, setting up BOOTP with ISC dhcpd is really easy, because it treats BOOTP clients as a moderately special case of DHCP clients. Some architectures require a complex configuration for booting clients via BOOTP. If yours is one of -those, read the section . Otherwise, you +those, read the section . In that case, you will probably be able to get away with simply adding the allow bootp directive to the configuration block for the subnet containing the client, and restart -dhcpd with /etc/init.d/dhcpd +dhcpd with /etc/init.d/dhcpd3-server restart. diff --git a/en/install-methods/tftp/dhcp.xml b/en/install-methods/tftp/dhcp.xml index fb9c624ea..39327ae23 100644 --- a/en/install-methods/tftp/dhcp.xml +++ b/en/install-methods/tftp/dhcp.xml @@ -1,14 +1,14 @@ - + Setting up a DHCP server One free software DHCP server is ISC dhcpd. -In &debian;, this is available in the dhcp package. -Here is a sample configuration file for it (usually -/etc/dhcpd.conf): +For &debian;, the dhcp3-server package is +recommended. Here is a sample configuration file for it (see +/etc/dhcp3/dhcpd.conf): option domain-name "example.com"; @@ -32,9 +32,6 @@ host clientname { } -Note: the new (and preferred) dhcp3 package uses -/etc/dhcp3/dhcpd.conf. - In this example, there is one server @@ -48,7 +45,7 @@ file which will be retrieved via TFTP. After you have edited the dhcpd configuration file, -restart it with /etc/init.d/dhcpd restart. +restart it with /etc/init.d/dhcpd3-server restart. @@ -79,11 +76,11 @@ subnet 192.168.1.0 netmask 255.255.255.0 { } group { - next-server 192.168.1.3; - host tftpclient { + next-server 192.168.1.3; + host tftpclient { # tftp client hardware address hardware ethernet 00:10:DC:27:6C:15; - filename "/tftpboot/pxelinux.0"; + filename "pxelinux.0"; } } -- cgit v1.2.3