LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   PXE Boot: invalid file requested after pxelinux.0 (23 RRQ "^C" octet blksize 1456) (https://www.linuxquestions.org/questions/linux-server-73/pxe-boot-invalid-file-requested-after-pxelinux-0-23-rrq-%5Ec-octet-blksize-1456-a-937944/)

mariogiov 04-03-2012 01:54 PM

PXE Boot: invalid file requested after pxelinux.0 (23 RRQ "^C" octet blksize 1456)
 
Hi all,

I'm having some trouble getting my clients to cooperate with my PXE server. At the moment I have a desktop plugged directly into my laptop's ethernet port. My firewall is set to accept everything from this interface.

The PXE boot process seems to go okay up to the point of just after the pxelinux.0 is requested -- it gets a DHCP address and seems to request pxelinux.0, but then it looks like it is requesting "^C" (in tcpdump) or a little heart sign (on the client itself) -- both are ASCII code 3:

Code:

11:26:42.978283 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 78:ac:c0:a2:28:05 (oui Unknown), length 548
11:26:42.978494 IP thinkpad.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 315
11:26:47.207537 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 78:ac:c0:a2:28:05 (oui Unknown), length 548
11:26:47.416267 IP thinkpad.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 315
11:26:47.416729 ARP, Request who-has thinkpad tell 192.168.2.107, length 46
11:26:47.416759 ARP, Reply thinkpad is-at f0:de:f1:b3:3a:c1 (oui Unknown), length 28
11:26:47.416883 IP 192.168.2.107.ah-esp-encap > thinkpad.tftp:  27 RRQ "pxelinux.0" octet tsize 0
11:26:47.417051 IP thinkpad.37923 > 192.168.2.107.ah-esp-encap: UDP, length 14
11:26:47.417213 IP 192.168.2.107.ah-esp-encap > thinkpad.37923: UDP, length 17
11:26:47.417229 IP 192.168.2.107.acp-port > thinkpad.tftp:  23 RRQ "^C" octet blksize 1456
11:26:47.417347 IP thinkpad.37959 > 192.168.2.107.acp-port: UDP, length 45

The client prints the following and then goes on to boot from the local drive:
Code:

T01: file /tftpboot/linux-install/♥ not found
E3B: TFTP Error - File not found.
M0F: PXE ROM Exiting.

I'm using dnsmasq as both the DHCP and the TFTP server. From /etc/dnsmasq.conf:
Code:

interface=p1p1
dhcp-range=192.168.2.100,192.168.2.254,12h
dhcp-boot=pxelinux.0
tftp-root=/tftpboot/linux-install
conf-dir=/etc/dnsmasq.d


In the /tftpboot/linux-install/ directory, I have:
Code:

memtest86
pxelinux.0
pxelinux.cfg/
pxelinux.cfg/default

The contents of 'default' are:
Code:

prompt 1
default memtest86
timeout 150

label memtest86
        kernel memtest86

label memtest
        kernel memtest86

I can log in via my own tftp client locally and get both pxelinux.0 and memtest. The boot ROM on the machine appears to be "Intel UNDI, PXE-2.1 (build 083)".



Any help is much appreciated!!

Mario

mariogiov 04-03-2012 02:10 PM

PXE ROM is a piece of junk
 
I tried this with another computer and it went off without a hitch, so I guess it must be the case that the PXE ROM I listed above ("Intel UNDI, PXE-2.1 (build 083)") has some problem. Anyhow if anyone is interested, I spent quite some time trying to find a good guide for setting up this kind of server and finally found a really excellent one here:

http://pxe.dev.aboveaverageurl.com/i...hp/PXE_Booting


For reference, the tower with the ROM in question is a HP Model MXL11913KD.


Cheers,

Mario


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