labriqueinternet / torclient_ynh

Tor Client app for YunoHost - No more supported
GNU Affero General Public License v3.0
9 stars 3 forks source link

Not enough entropy with hostapd #1

Closed jvaubourg closed 9 years ago

jvaubourg commented 9 years ago

Errors with hostapd about the available entropy:

# hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 02:14:d1:a4:88:00 and ssid 'myNeutralNetwork'
random: Only 9/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
Using interface hotspot1 with hwaddr 02:14:d1:a4:88:01 and ssid 'myNeutralNetwork2'
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 9/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects

I don't know if it's a bug of hostapd or if it's a real problem of this image:

# cat /proc/sys/kernel/random/entropy_avail
81
jvaubourg commented 9 years ago

Wrong repository sorry (moved to sunxi-debian)