LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pxe-boot server setup in fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/pxe-boot-server-setup-in-fedora-9-a-745190/)

vinaytp 08-05-2009 12:20 AM

pxe-boot server setup in fedora 9
 
hi all......

I am trying to setup pxe-boot environment in fedora 9 ........I have started tftpserver on port 69..
I have configured dhcp server on fedora 9 and my client is able to get ip from my dhcp server

This is /etc/dhcpd.conf file


ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
option domain-name-servers 172.17.64.78,172.17.9.25;
authoritative;
allow bootp;
allow booting;
option ip-forwarding false; # No IP forwarding
option mask-supplier false; # Don't respond to ICMP Mask req

subnet 172.17.70.0 netmask 255.255.255.0 {
option routers 172.17.70.1;
option subnet-mask 255.255.255.0;

option domain-name "example.com";
option domain-name-servers 172.17.64.78;
option broadcast-address 172.17.70.255;
option host-name "localhost.localdomain";
next-server 172.17.70.143;
option root-path "/var/lib/tftpboot";
filename "pxelinux.0";
default-lease-time 600;
max-lease-time 7200;
range 172.17.70.10 172.17.70.254;
}



host localhost.localdomain {
option host-name "localhost.localdomain";
next-server 172.17.70.143;
hardware ethernet 00:0C:29:94:8E:B6;
fixed-address 172.17.70.249;
option root-path "/var/lib/tftpboot";
filename "pxelinux.0";
}

This is my tftpboot tree structure

/var/lib/tftpboot
|-- -
|-- boot.txt
|-- fedora
| `-- 10
| `-- i386
| |-- initrd.img
| |-- pxelinux.0
| `-- vmlinuz
|-- pxelinux.0
`-- pxelinux.cfg
`-- default


whenever i start the client it gives error as

PXE-T01 : NO such file/No access
PXE-E3B: TFTP Error - file not found
PXE -MOF : exiting intel pxe rom
operating system not found

and output of tftpserver is

Client 172.17.70.249:2070 /home/pxelinux.0, No Such File/No Access
Client 172.17.70.249:2071 /home/pxelinux.0, No Such File/No Access


can anyone please help me..........

theNbomr 08-05-2009 06:34 PM

My interpretation of your error message is that the tftp server is looking in /home to find the tftp root, but you have configured all of the files and subdirectories in the conventional location of /var/lib/. What is in your tftp config file (possibly /etc/xinetd.d/tftp)?
--- rod.

Bhagyesh 08-05-2009 07:40 PM

check your /etc/xinetd.d/tftp configuration

make sure you have disabled selinux , firewall and flushed iptables


All times are GMT -5. The time now is 11:19 AM.