diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index 81f0414593..177776fa62 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -2622,34 +2622,34 @@ Exports list on foobar: corbieres uses PXE: - default-lease-time 600; - max-lease-time 7200; - authoritative; +default-lease-time 600; +max-lease-time 7200; +authoritative; - option domain-name "example.com"; - option domain-name-servers 192.168.4.1; - option routers 192.168.4.1; +option domain-name "example.com"; +option domain-name-servers 192.168.4.1; +option routers 192.168.4.1; - subnet 192.168.4.0 netmask 255.255.255.0 { - use-host-decl-names on; - option subnet-mask 255.255.255.0; - option broadcast-address 192.168.4.255; +subnet 192.168.4.0 netmask 255.255.255.0 { + use-host-decl-names on; + option subnet-mask 255.255.255.0; + option broadcast-address 192.168.4.255; - host margaux { - hardware ethernet 01:23:45:67:89:ab; - fixed-address margaux.example.com; - next-server 192.168.4.4; - filename "/data/misc/kernel.diskless"; - option root-path "192.168.4.4:/data/misc/diskless"; - } - host corbieres { - hardware ethernet 00:02:b3:27:62:df; - fixed-address corbieres.example.com; - next-server 192.168.4.4; - filename "pxeboot"; - option root-path "192.168.4.4:/data/misc/diskless"; - } - } + host margaux { + hardware ethernet 01:23:45:67:89:ab; + fixed-address margaux.example.com; + next-server 192.168.4.4; + filename "/data/misc/kernel.diskless"; + option root-path "192.168.4.4:/data/misc/diskless"; + } + host corbieres { + hardware ethernet 00:02:b3:27:62:df; + fixed-address corbieres.example.com; + next-server 192.168.4.4; + filename "pxeboot"; + option root-path "192.168.4.4:/data/misc/diskless"; + } +} @@ -2721,16 +2721,16 @@ Exports list on foobar: that it exists in the base system. - .def100:\ - :hn:ht=1:sa=192.168.4.4:vm=rfc1048:\ - :sm=255.255.255.0:\ - :ds=192.168.4.1:\ - :gw=192.168.4.1:\ - :hd="/tftpboot":\ - :bf="/kernel.diskless":\ - :rp="192.168.4.4:/data/misc/diskless": +.def100:\ + :hn:ht=1:sa=192.168.4.4:vm=rfc1048:\ + :sm=255.255.255.0:\ + :ds=192.168.4.1:\ + :gw=192.168.4.1:\ + :hd="/tftpboot":\ + :bf="/kernel.diskless":\ + :rp="192.168.4.4:/data/misc/diskless": - margaux:ha=0123456789ab:tc=.def100 +margaux:ha=0123456789ab:tc=.def100 @@ -2777,7 +2777,7 @@ Exports list on foobar: type: - &prompt.root; gmake bin32/devicetype.fd0 +&prompt.root; gmake bin32/devicetype.fd0 devicetype depends on the type of @@ -2899,8 +2899,8 @@ Exports list on foobar: with the following options (in addition to the usual ones): - options BOOTP # Use BOOTP to obtain IP address/hostname - options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info +options BOOTP # Use BOOTP to obtain IP address/hostname +options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info You may also want to use BOOTP_NFSV3, @@ -3029,15 +3029,15 @@ cd /usr/src/etc; make distribution Add the following lines to dhcpd.conf: - # Global section - option swap-path code 128 = string; - option swap-size code 129 = integer 32; +# Global section +option swap-path code 128 = string; +option swap-size code 129 = integer 32; - host margaux { - ... # Standard lines, see above - option swap-path "192.168.4.4:/netswapvolume/netswap"; - option swap-size 64000; - } +host margaux { + ... # Standard lines, see above + option swap-path "192.168.4.4:/netswapvolume/netswap"; + option swap-size 64000; +} swap-path is the path to a directory @@ -3060,10 +3060,10 @@ cd /usr/src/etc; make distribution On the NFS swap file server, create the swap file(s) - &prompt.root; mkdir /netswapvolume/netswap - &prompt.root; cd /netswapvolume/netswap - &prompt.root; dd if=/dev/zero bs=1024 count=64000 of=swap.192.168.4.6 - &prompt.root; chmod 0600 swap.192.168.4.6 +&prompt.root; mkdir /netswapvolume/netswap +&prompt.root; cd /netswapvolume/netswap +&prompt.root; dd if=/dev/zero bs=1024 count=64000 of=swap.192.168.4.6 +&prompt.root; chmod 0600 swap.192.168.4.6 192.168.4.6 is the IP address for the diskless client. @@ -3073,7 +3073,7 @@ cd /usr/src/etc; make distribution On the NFS swap file server, add the following line to /etc/exports: - /netswapvolume -maproot=0:10 -alldirs margaux corbieres +/netswapvolume -maproot=0:10 -alldirs margaux corbieres Then tell mountd to reread the exports file, as above.