root@OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail
0
Uhhhhhh ok?
root@OpenWrt:~# cat /proc/sys/kernel/random/entropy_avail
1189
What's your uptime? Entropy is added to the pool e.g. based on network
activity. The issue is that the pool is empty right after boot up.
Well it's not anymore (with the patch).
That may be due to the fact that network is the only source of entropy
left on MIPS, that is something I personally wouldn't accept as enough
anymore.
As I reckon there has been a lengthy discussion about it already and
many people raised their concerns.
ecurity/meldung/Linux-auf-MIPS-jetzt-wieder-mit-mehr-Zufall-1963604.html
(sorry for german link)
That patch wouldn't work with 3.3.8 due to include dependencies I
wasn't willing to follow up.
The attached patch will re-enable CPU interrupts as entropy source,
at least for AR71xx/mips32r3 and will do so right away, which might
also solve issues with hostapd/nginx that require some during init.
chrono
--
Apollo-NG Mobile Hackerspace
https://apollo.open-resource.org/
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel