Re: random(4) update causes mips compile fail | mips boot fail

From: Sean Bruno <sean_bruno_at_yahoo.com>
Date: Sat, 07 Sep 2013 11:36:51 -0700
On Sat, 2013-09-07 at 18:39 +0100, Mark R V Murray wrote:
> On 7 Sep 2013, at 17:43, Sean Bruno <sean_bruno_at_yahoo.com> wrote:
> > trying to enable random on my DIR-825 kernconf I get this on boot:
> > 
> > Configuration file: /etc/cfg/hostapd.wlan0.conf
> > Using interface wlan0 with hwaddr 00:00:88:88:22:22 and ssid "TESTBRUNO"
> > Entropy device is blocking
> 
> Please make a change to sys/dev/random/randomdev_soft.c;
> 
> Around line 82, please change from ".seeded = 0" to ".seeded = 1".
> 
> If that works, then your report above with the "Entropy device is blocking."
> is trying to read random numbers before /dev/random is secure; this is a BAD
> security problem. 
> 
> M


Looks like it does indeed work if that is set to 1.  

This "DIR-825" config, should be loading random as a module, not built
into the kernel due to size limitations of the kernel on this board.

Sean



Received on Sat Sep 07 2013 - 16:36:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC