OpenWrt (x86) 22.03.x: DNSMASQ Failed to seed random number


I uses to create a ProxMox container for my OpenWRT router. It is usually working fine.

My problem is that a fresh install of OpenWRT (x86) 22.03.x (1 and 2 tested), with only LAN and WAN network config fails starting dnsmasq.

	Mon Oct 31 14:42:09 2022 daemon.crit dnsmasq[1]: failed to seed the random number generator: No such file or directory
	Mon Oct 31 14:42:09 2022 daemon.crit dnsmasq[1]: FAILED to start up

Just the same minimal config on OpenWRT 21.02.x is working fine.

	uci set network.lan.ipaddr=''
	uci set network.lan.netmask=''
	uci set network.lan.gateway=''
	uci set network.wan.ipaddr=''
	uci set network.wan.netmask=''
	uci set network.wan.gateway=''
	uci add_list network.wan.dns=''
	uci add_list network.wan.dns=''
	uci set network.wan.peerdns='0'
	uci commit network
	/etc/init.d/network restart

I tried many other options while googling similar errors: disable v6, configure dnsmasq servers, and other that I can't remember :slight_smile:

It sounds like a bug, but is it possible that new version needs additional configuration?

This thread looks promising


Great! Thank you! the final post of your thread have a fix for it.

I hope that fix will be included in the next release.

Thanks again :wink:


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