wpa_supplicant starts slowly when lacking entropy
When a Raspberry Pi boots without a keyboard attached the kernel has low entropy which causes wpa_supplicant to start slowly, sometimes minutes.
This can be fixed by installing the rng-tools and rng-tools-openrc packages, and starting the rngd service, this feeds the kernel with /dev/hwrng from the Pi’s hardware rng.
However, wpa_supplicant needs to start AFTER the rngd service (when it’s available), so wpa_supplicant.initd in the wpa_supplicant-openrc package whould need this change:
- after bootmisc modules + after bootmisc modules entropy
(from redmine: issue id 10025, created on 2019-02-22, closed on 2019-05-09)