OpenWrt Forum Archive

Topic: WPA Enterprise not working after upgrading to rc5

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I've upgraded to Backfire 10.03.1-rc5 but now wpad is not working it complains as follows:

random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 0/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

And it is impossible connect AP.

any ideas?

TIA

You can try this as quick hack:

mv /dev/random /dev/random.orig
ln -s /dev/urandom /dev/random
jow wrote:

You can try this as quick hack:

mv /dev/random /dev/random.orig
ln -s /dev/urandom /dev/random

Thanks your hack seems is working smile


But I wonder if that has seriuos issues about security,  what do you think about it?

And why does it occur? Is that a bug?

Thanks in advance!


Edit:

Well sadly and really is  not working:

Mar 27 03:00:39 OpenWrt user.info kernel: device eth0.2 left promiscuous mode
Mar 27 03:02:39 OpenWrt user.err kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00026040
Mar 27 03:02:39 OpenWrt user.err kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Mar 27 03:02:52 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Mar 27 03:02:52 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering disabled state
Mar 27 03:02:56 OpenWrt user.err kernel: ath: Failed to stop TX DMA!
Mar 27 03:02:56 OpenWrt user.err kernel: ath: Failed to stop TX DMA!
Mar 27 03:02:57 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Mar 27 03:02:57 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Mar 27 03:02:57 OpenWrt daemon.info hostapd: wlan0: RADIUS Authentication server x.x.x.x:1812
Mar 27 03:02:59 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Mar 27 03:02:59 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering disabled state
Mar 27 03:02:59 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Mar 27 03:02:59 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state


I had no such a issue on rc4 sad

(Last edited by sebelk on 19 Jul 2011, 13:17)

Well, finally I came back to original firmware and reflashed with BF 10.03.1-rc5 again.

Now it's working using the hack. So the issue about /dev/random is still there and I've checked over 2 APs TL-WR1043nd

I wonder why that is occurring..

Thanks in advance!

Another tp-link router without enough data in it's random entropy pool to do WPA (OR WEP for that matter)......
I had the same problem and I'm suggesting a patch.

See here for the details.

The discussion might have continued from here.