LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2016, 12:20 PM   #1
gwsj
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Rep: Reputation: Disabled
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!
 
Old 07-11-2016, 04:42 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,737

Rep: Reputation: 154Reputation: 154
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.
 
Old 07-11-2016, 05:17 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,559

Rep: Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301
>

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

Last edited by jefro; 07-11-2016 at 05:19 PM.
 
Old 07-12-2016, 12:07 PM   #4
gwsj
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-13-2016, 08:22 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,559

Rep: Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301
Thanks for the update and solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
issue with uefi pxe boot on rhel 6.5 as pxe server geekmaxwell Linux - Networking 3 04-02-2014 03:27 PM
[SOLVED] Getting client MAC address from PXE boot server gau1991 Linux - Server 1 11-10-2012 01:57 PM
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 16 05-18-2011 04:21 PM
[SOLVED] Booting DOS client from RHEL5 Server using PXE Boot barani_pd Linux - Newbie 2 09-08-2009 02:33 AM
Pxe Server On Linux And Win Xp Client brabraa Linux - Networking 0 03-05-2006 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration