LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 02-11-2010, 09:43 PM   #1
tamenglang
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
Question pxelinux install windows xp occur tftp failed


i used pxelinux install centos is ok ,but install winxp the begin occured "tftp failed"。


1、tftp's configuration
[root@test tftpboot]# vi /etc/xinetd.d/tftp

# 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 = -m /tftpboot/rules -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

2、i capture packet ,below:
17:45:15.089171 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.089748 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.090079 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.090707 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.091129 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.092036 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.092533 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.093054 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.093310 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.093788 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.094161 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.094528 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.094834 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.095413 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.095951 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.096503 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.096756 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.097315 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.097719 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.098733 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.099042 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.099427 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.099710 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.100293 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.103449 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.104296 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.104710 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.105249 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.105635 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.106860 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.107354 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.108096 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.108425 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 1412
17:45:15.109186 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:15.109474 IP 192.168.1.20.59781 > 192.168.1.38.57102: UDP, length 273
17:45:15.110581 IP 192.168.1.38.57102 > 192.168.1.20.59781: UDP, length 4
17:45:20.390072 IP 192.168.1.38.57103 > 192.168.1.20.tftp: 37 RRQ "winxp.0" octet tsize 0 blksize 1408
17:45:20.394578 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 27
17:45:20.396890 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.397717 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.399278 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.400088 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.401148 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.401816 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.403043 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.403624 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.404591 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.405069 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.406066 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.406644 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.407907 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.408548 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.413525 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.414293 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.415607 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.416235 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.417392 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.417991 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.418991 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.419331 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.422023 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.422602 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.423983 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.424354 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.425567 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.429359 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.430192 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.430811 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1412
17:45:20.431874 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.432370 IP 192.168.1.20.39791 > 192.168.1.38.57103: UDP, length 1338
17:45:20.441797 IP 192.168.1.38.57103 > 192.168.1.20.39791: UDP, length 4
17:45:20.507552 IP 192.168.1.38.msync > 192.168.1.20.tftp: 27 RRQ "XPLDR" octet blksize 1456
17:45:20.512017 IP 192.168.1.20.32867 > 192.168.1.38.msync: UDP, length 19
17:45:21.296830 arp who-has 192.168.1.38 tell 192.168.1.20
17:45:22.686985 arp who-has 192.168.1.38 tell 192.168.1.20
17:45:24.085168 arp who-has 192.168.1.38 tell 192.168.1.20

according the above , i find dhcp client server (192.168.1.38) didn't find the dhcp server(192.168.1.20),where is the wrong ?
 
Old 02-13-2010, 07:19 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 700

Rep: Reputation: 96
This looks to me like your client went throught the PXE boot process,
got an IP address, and then booted the kernel from the tftp server.
Once the kernel from the tftp server ran, it would try to pull down
another kernel and boot from the second kernel, which would require
it to request an IP address. We're not seeing that second request.

Are you sure that the image on the tftp server supports boot from
the network and dhcp?
 
Old 02-14-2010, 03:38 AM   #3
tamenglang
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
this problem is resolved,but the next install occured error.
 
Old 02-16-2010, 04:33 PM   #4
qwerty555
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
I am trying to do the same thing and got the same error that you did what did you do to fix it?
 
Old 02-21-2010, 08:19 PM   #5
tamenglang
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by qwerty555 View Post
I am trying to do the same thing and got the same error that you did what did you do to fix it?
i forget copy i386 file folder to tftp server root (/tftpboot),it occur tftp failed.
 
  


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
after re-create tftp dir, tftp doesn't work anymore lastguy Linux - Networking 2 11-16-2007 04:33 PM
tftp issue, unable to transfer kernel image using tftp to boot ltsp-client noobs4linux Linux - Networking 1 02-07-2007 02:53 AM
cdrom: open failed. windows network install from hdd ubuntu boot jgams Linux - General 2 01-02-2006 04:37 PM
pxelinux network install problem m.vanes Linux - General 3 11-16-2005 12:46 PM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 06:25 AM


All times are GMT -5. The time now is 05:31 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration