how to configure tftp server on fc5

David Timms dtimms at bigpond.net.au
Mon Jun 26 13:48:41 UTC 2006


Gregory Machin wrote:
> Hi I need to configure the tftp server that comes with fc5 to pxe boot
> netbsd (dont ask lol..) onto  a  net4801  embedded devicde...
> Iv googles my ass off and can't find a diecent howto ... any constructive
> suggestions would be grate ..
http://www.faqs.org/docs/Linux-HOWTO/Network-boot-HOWTO.html
has the base info I used.

1. dhcpd server to give pxe machine address in subnet that can get to 
the tftp server.
in /etc/dhcpd.conf: include -
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
ddns-update-style none;
option domain-name-servers 192.168.2.3;
option netbios-name-servers 192.168.2.6;
option routers 192.168.2.1;
subnet 192.168.2.0 netmask 255.255.255.0 {
   range 192.168.2.181 192.168.2.189;
   filename "/pxelinux.0";  #tell pxe to get and boot this file !
}

2. tftp-server: rpm install
in /etc/xinetd.d/tftp
service tftp
{
...needed
         server_args             = -s /tftpboot  #set up the tftp stuff here
}

3. place files in /tftpboot
ls -l /tftpboot
drwxr-xr-x  2 root   admins  4096 Feb 16 18:37 fedora_core_3
drwxr-xr-x  2 root   admins  4096 Mar 22 11:53 fedora_core_5
-rw-rw-r--  1 davidt davidt   506 Mar 22 11:55 pxeboot.msg #{text for menu}
-rw-r--r--  1 davidt davidt 11304 Nov 20  2003 pxelinux.0
drwxr-xr-x  2 davidt davidt  4096 Mar 22 11:56 pxelinux.cfg
-rw-rw-r--  1 davidt davidt  1373 Nov 20  2003 README.txt

ls -l /tftpboot/fedora_core_5   {from the pxeboot folder from CD/DVD}
-rw-r--r--  1 root root 4975898 Mar 15 15:29 initrd.img
-rw-r--r--  1 root root     275 Mar 15 15:29 README
-r--r--r--  1 root root     659 Mar 15 15:46 TRANS.TBL
-rw-r--r--  1 root root 1505269 Mar 15 15:29 vmlinuz

ls -l /tftpboot/pxelinux.cfg/
-rw-rw-r--  1 davidt davidt 769 Mar 22 11:56 default #what the 
selections do}

DaveT.




More information about the fedora-list mailing list