[GH-ISSUE #379] Improve booting from tftp instructions #1687

Closed
opened 2026-03-01 18:35:27 +03:00 by kerem · 4 comments
Owner

Originally created by @danboid on GitHub (Oct 28, 2019).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/379

The instructions for booting netboot.xyz via tftp ( https://netboot.xyz/booting/tftp/ ) could be improved by including the dnsmasq configuration required to configure the next-server address for those who are using dnsmasq as their DHCP server as well as their TFTP server. Doing so is as simple as adding the line:

dhcp-option=66,0.0.0.0

to /etc/dnsmasq.conf where 0.0.0.0 means 'the address of the server running dnsmasq'. It would make sense to include at least this because the same page has instructions for configuring dnsmasq as a TFTP server.

It may also be a good idea to link to some instructions for configuring dnsmasq as a DHCP server, such as https://wiki.archlinux.org/index.php/dnsmasq#DHCP_server

Originally created by @danboid on GitHub (Oct 28, 2019). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/379 The instructions for booting netboot.xyz via tftp ( https://netboot.xyz/booting/tftp/ ) could be improved by including the dnsmasq configuration required to configure the `next-server` address for those who are using dnsmasq as their DHCP server as well as their TFTP server. Doing so is as simple as adding the line: ``` dhcp-option=66,0.0.0.0 ``` to `/etc/dnsmasq.conf` where 0.0.0.0 means 'the address of the server running dnsmasq'. It would make sense to include at least this because the same page has instructions for configuring dnsmasq as a TFTP server. It may also be a good idea to link to some instructions for configuring dnsmasq as a DHCP server, such as https://wiki.archlinux.org/index.php/dnsmasq#DHCP_server
kerem closed this issue 2026-03-01 18:35:28 +03:00
Author
Owner

@danboid commented on GitHub (Oct 28, 2019):

I configured dnsmasq under Debian 10 where there is a bug in the configuration of /lib/systemd/system/dnsmasq.service which means I had to edit it and change:

After=network.target

to

After=network-online.target

In the [Unit] section to get dnsmasq to start at boot correctly. That could well only apply to Debian and Ubuntu users but I thought it worth mentioning here at least.

<!-- gh-comment-id:546750976 --> @danboid commented on GitHub (Oct 28, 2019): I configured dnsmasq under Debian 10 where there is a bug in the configuration of `/lib/systemd/system/dnsmasq.service` which means I had to edit it and change: ``` After=network.target ``` to ``` After=network-online.target ``` In the [Unit] section to get dnsmasq to start at boot correctly. That could well only apply to Debian and Ubuntu users but I thought it worth mentioning here at least.
Author
Owner

@antonym commented on GitHub (Oct 28, 2019):

Good info, if you want to make a PR to the docs directly for the change, you can find that doc here:

https://github.com/antonym/netboot.xyz-docs/blob/master/content/booting/tftp/_index.md

Thanks!

<!-- gh-comment-id:546773966 --> @antonym commented on GitHub (Oct 28, 2019): Good info, if you want to make a PR to the docs directly for the change, you can find that doc here: https://github.com/antonym/netboot.xyz-docs/blob/master/content/booting/tftp/_index.md Thanks!
Author
Owner

@danboid commented on GitHub (Oct 28, 2019):

Done

https://github.com/antonym/netboot.xyz-docs/pull/3

<!-- gh-comment-id:546992296 --> @danboid commented on GitHub (Oct 28, 2019): Done https://github.com/antonym/netboot.xyz-docs/pull/3
Author
Owner

@antonym commented on GitHub (Oct 28, 2019):

Merged

<!-- gh-comment-id:547004262 --> @antonym commented on GitHub (Oct 28, 2019): Merged
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1687
No description provided.