Re: /dev/urandom issue

2017-08-02 Thread Sebastian Huber
- Sichen Zhao 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.

Re: /dev/urandom issue

2017-08-02 Thread Sebastian Huber
- Sichen Zhao 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.

Re: /dev/urandom issue

2017-08-02 Thread Sichen Zhao
> 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() functi

Re: /dev/urandom issue

2017-08-02 Thread Sebastian Huber
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. It seems we need /dev/urandom to generate

Re: /dev/urandom issue

2017-08-02 Thread Denis Obrezkov
2017-08-02 10:46 GMT+02:00 Sichen Zhao : > 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 > > It seems we need /dev/urandom to generate the random data. So how do we > deal with it? Sho

/dev/urandom issue

2017-08-02 Thread Sichen Zhao
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 It seems we need /dev/urandom to generate the random data