No file "dhcp" under /rom/etc/config/

Hi,

usually the default config files are placed under /rom/etc/config/ (squashfs images).

By default with dnsmasq installed there is a file called "dhcp" available.

If you for example use the image builder to remove dnsmasq and replace it by odhcpd + unbound there is no file "dhcp" available.

make image PACKAGES="-dnsmasq -odhcpd-ipv6only -odhcp6c odhcpd unbound-daemon-heavy unbound-control luci-app-unbound"

OpenWrt-19.07.2-x86

I am wondering if this is intended like that?

Yes, this config file is only for dnsmasq...

I see, but dnsmasq and odhcpd use the same configuration file (/etc/config/dhcp).

Ah ok...
The odhcp server does use the same config file, but does generate this as uci default script instead of using a static default config file.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.