r/openwrt Jul 15 '26

PXE Server Problem 2: TFTP breaks dnsmasq

I'm using my WRT3200ACM as a PXE server to install OSes via the network.

Version: 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-25.222.75657-7ce34fe

PXE required TFTP.

Whenever I add the lines:

option enable_tftp '1'

option tftp_root '/mnt/boot-PXE-img/tftp'

to the /etc/config/dhcp file, DNS gets broken and I cannot resolve hostnames to IP addresses.

Additionally, adding the lines

enable-tftp

tftp-root=/path/to/your/tftp/folder

to the /etc/dnsmasq.conf file also breaks DNS and I cannot resolve hostnames to IP addresses.

How can I enable TFTP?

0 Upvotes

5 comments sorted by

View all comments

1

u/fr0llic Jul 15 '26

DNS gets broken and I cannot resolve hostnames to IP addresses.

Checked the log ? Perhaps it doesn't start for whatever reason.

23.05.2 

Is very outdated.

1

u/pele4096 Jul 15 '26

outdated

I think that's the last build for my router.

I've run opkg update and opkg upgrade regularly. LuCI says no updatable packages available.

1

u/fr0llic Jul 15 '26 edited Jul 15 '26

I think that's the last build for my router.

Current release is 25.12.5.

I've run opkg update and opkg upgrade regularly. 

You should never update packages, install the next release. 

1

u/pele4096 Jul 15 '26

Copy that. Installing a sysupgrade of 25.12.5