LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pxe-server - client getting pxe-t01 error (https://www.linuxquestions.org/questions/linux-networking-3/pxe-server-client-getting-pxe-t01-error-4175584254/)

gwsj 07-10-2016 11:20 AM

pxe-server - client getting pxe-t01 error
 
Hello everyone,

I am setting up a pxe-server on vmware and when my client tries booting from network, it can obtain IP address without problem, but when it enters TFTP stage, it shows the following error messages:

PXE-T01: file not found
PXE-E3B-TFTP Error file not found
PXE-M0F exiting Intel boot agent

I have been following this tutorial: https://www.unixmen.com/install-conf...nt-centos-6-5/

I have created a VMnet8 and both the server and client are using that network adapter.
(I created a third vm and was able to use it to ping pxe-server on VMnet8)

My /etc/xinetd.d/tftp has:
server_args = -s /var/lib/tftpboot (where pxelinux.0 is located)

My /etc/dhcp/dhcpd.conf:
filename "pxelinux.0"

I know there is a similar thread http://www.linuxquestions.org/questi...-found-330842/

But its solutions cannot work.

I really don't know where else could be the source of bug
Is there anyway to see tftp logs?

Thanks in advance!

nini09 07-11-2016 03:42 PM

To turn on TFTP logging, add -v option in server_args, like server_args = -s -v /var/lib/tftpboot. Logging is in /var/log/messages.

jefro 07-11-2016 04:17 PM

>
 
Hello and welcome to LQ.



"Errors After Obtaining IP Address (Issue 3)

During a PXE boot installation, the following errors appear after obtaining the IP address:

PXE-T01: File not found

PXE-E3B: TFTP Error - File Not found

PXE-M0F: Exiting Broadcom PXE ROM.


Cause

The boot file name does not exist on the PXE server.
Solution

In the /etc/xinetd.d/tftp file on the PXE server:

Check that the correct arguments are used.

It is recommended that you use -s /tftp, and ensure that the TFTP service uses chroot(1) to change its top level directory to /tftp. This means that the dhcp filename argument is relative to the top level directory (and does not include the section /tftp).

Check that the filename argument has been spelled correctly.

Check that the next-server IP number has been specified correctly.

To test the TFTP service, try installing a TFTP client on a different machine and attempt to download a file:

# cd /tmp

# tftp PXE-server

tftp> get /as-2.1/sun/pxelinux.bin

Received 10960 bytes in 0.1 seconds

tftp> quit
"

https://docs.oracle.com/cd/E19045-01...eshooting.html

gwsj 07-12-2016 11:07 AM

thank you so much! the log message helped and it turned out for the dhcp config, i only need to put down "pxelinux.0" for filename and not /var/lib/tftpboot/pxelinux.0.
I forgot that I had already set tftp to "/var/lib/tftpboot/" in /etc/xinetd.d/tftp

jefro 07-13-2016 07:22 PM

Thanks for the update and solution.:)


All times are GMT -5. The time now is 11:58 PM.