/dev/urandom issue

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 2 16:21:28 UTC 2017


----- Sichen Zhao <zsc19940506 at outlook.com> schrieb:
> 
> > On 02/08/17 10:46, Sichen Zhao wrote:
> >
> >> Hi all,
> >>
> >> When i use wpa_supplicant to configure WPA, there are an error:
> >>
> >> Could not open /dev/urandom.
> >> wlan0: WPA: Failed to get random data for SNonce
> >
> > /dev/urandom should not be used. Use getentropy() instead.
> >
> The getentropy() function seems in the contrib/unbound/compat, which is 
> not imported too. So i still need import something, right?

 It is already in libc.  You need a true random number generator is there something like this on the BBB?

> >>
> >> It seems we need /dev/urandom to generate the random data. So how do 
> >> we deal with it? Should import it?
> >>
> >> Best Regards
> >> Sichen Zhao
> >> _______________________________________________
> >> devel mailing list
> >> devel at rtems.org
> >> http://lists.rtems.org/mailman/listinfo/devel
> >
> 

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list