g40
Posts: 3
Joined: Tue Dec 13, 2016 1:41 pm

PXE Network Boot?

Tue Dec 13, 2016 1:53 pm

Greetings.

Does anyone has a working PXE boot set up? If so I wonder if it might be possible to get a wireshark trace of the proceedings?

My PI3 using the next firmware branch is not even getting to the TFTP stage. It issues 1 solitary DHCPDISCOVER and then goes quiet.

Many thanks for any possible assistance.

Jerry.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: PXE Network Boot?

Tue Dec 13, 2016 9:12 pm

The absolute crux of the problem is getting dnsmasq running with the right PXE option string.

Code: Select all

port=0
dhcp-range=10.42.0.255,proxy
log-dhcp
enable-tftp
tftp-root=/tftpboot
pxe-service=0,"Raspberry Pi Boot"
If you follow the tutorial at: https://www.raspberrypi.org/documentati ... utorial.md it should "just work" unless something else on your network is serving up the DHCPOFFER packets.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

g40
Posts: 3
Joined: Tue Dec 13, 2016 1:41 pm

Re: PXE Network Boot?

Wed Dec 14, 2016 12:26 pm

Yes, thanks, that link visited a good number of times. Sadly, and unlike other boards on the network, the Pi is no-go. I'll post if I get any further with this one.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: PXE Network Boot?

Wed Dec 14, 2016 1:27 pm

Have you run the one-time boot to enable USB/PXE?
Have you tested that by booting from a USB?

The way I got it working was to build a USB stick with a bootable system on it. Then move that USB stick to my RPi2B so I could get the TFTP and BOOTP stuff running using the same bootable image (with a different command line and different /etc/fstab).

viewtopic.php?p=1034463#p1034463
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”