Quote:
Originally Posted by vision2
Hello,
I have got the same problem:
PXE-T01: file not found
PXE-E3B-TFTP Error file not found
PXE-M0F exiting Broadcom PXE ROM.
my dhcpd.conf is located in: "/etc/dhcp3/dhcp3.conf"
my pxelinux0 is located in: "/tftpboot/pxelinux.0"
I´m a Linux-Newb and tried to google myself through this problem but I´m some kind of stuck at this point.
I hve already tried the following entrys:
filename "pxelinux.0"; <-- I also copied the file to the directory of the dhcp3.conf
filename "/tftpboot/pxelinux.0";
filename "/../../tftpboot/pxelinux.0";
filename "../../tftpboot/pxelinux.0";
filename "/~/tftpboot/pxelinux.0";
filename "~/tftpboot/pxelinux.0";
After I edited the config, I always used "sudo/etc/init.d/dhcp3-server restart"
I hope this enought to load the whole file again and use the changes.
What am I doing wrong?
|
yo whats up I had the same problem as you here is the soultion:
if you are running fedora and/or using the tftp server from the package xinetd then you need to set the server_args argument (located at /etc/xinetd.d/tftp) to the directory holding your pxelinux.0 file and pxelinux.cfg file. Both of the files should be held at the same path. Also make sure your disable argument is set to no
here is what my /etc/xinetd.d/tftp file looks like:
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s var/lib/tftpboot (where all of my pxe boot files are located)
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
At first I tried setting server_args argument to /tftpboot but SELinux kept blocking my tftfp server connection
(SELinux can be a pain)
after that is setup just set your filename argument in the dhcpd.conf file to "pxelinux.0" and you should be good to go (I was using dhcpd as my dhcp server)
also I wanna add that I used the command "yum install xinetd" to get my tftp server and "yum install dhcpd" to get my dhcp server and here is the link
(linux-sxs.org/internet_serving/pxeboot.html)
on how I set up my pxe-boot server environment, if you need to redo your setup to work for this solution but I recommend trying the solution first with your original setup before tearing it down and trying again and following that link provided.
-Time will never betray you nor will it forgive you-
quis00, life-hacker