Configuring the Linux Server
Use BOOTP, TFTP, and NFS services on a Linux server (RH6.0). Used a 3com 3C905-TX network card, an3C905b, NE2000ISA RTL8019 card with etherboot software for each card. The remote computer gets its boot address then does the TFTP file transfer of the kernel file. After this, the kernel is decompressed and run. It must have support for the network card on the remote computer. At this point NFS is used to mount the remote filesystem.
To install bootp:
- Get bootpd-2.4.tar.gz and put it in a appropriate directory such as "/usr/local".
- Type: "tar xvzf bootbd-2.4.tar.gz" which will make a directory "bootpd-2.4" full of files.
- Read the README and README-linux files then type "make install".
- Copy the executables to the "/usr/sbin" directory.
- Copy the man pages to their appropriate directories by typing "cp *.8 /usr/man/man8" and "cp *.5 /usr/man/man5".
- Read the manual on bootp, and bootptab.
- You can invoke bootp services in redhat linux as an independent daemon by doing (choice A) below or from the internet super daemon by doing (choice B).
- Using linuxconf set the bootparamd service to active.
- Modify the "bootparamd" file in the directory "/etc/rc.d/init.d" so that everywhere "rpc.bootparamd" occurs, you substitute "bootpd –d".
- Reboot your system or type "/etc/rc.d/init.d/bootparamd restart".
- With bootparamd services off, add the following line in the file "/etc/inetd.conf":
bootps dgram udp wait root /usr/sbin/tcpd bootpd -d
- Type "killall –HUP inetd".
- Make the file "/etc/bootptab" as shown below:
This makes the name of the machine "dos1" with an IP address of "10.1.0.101" and the bootfile to load in "/tftpboot/bootfiles/dosimage".
- Add the machine's name and address to the following files:
To install tftp:
- Add the following line in the file "/etc/inetd.conf":
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd /tftpboot
- Restart inetd with "killall -HUP inetd".
To install NFS:
- Add the below line to the file "etc/exports":
The format of the file is:
The hostname can be the IP address followed by the netmask.
- Type "exportfs -a"
See the NFS section in "The CTDP Linux User's Guide" for more information on NFS.