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

Hi,

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='192.168.1.18'
	uci set network.lan.netmask='255.255.255.0'
	uci set network.lan.gateway='192.168.1.19'
	uci set network.wan.ipaddr='192.168.1.19'
	uci set network.wan.netmask='255.255.255.0'
	uci set network.wan.gateway='192.168.1.1'
	uci add_list network.wan.dns='1.1.1.1'
	uci add_list network.wan.dns='1.0.0.1'
	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

1 Like

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:

1 Like

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