Re: initialization of wpa_supplicant is very long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan,

 > Looks like on bootup your system does not have enough randomness
> entropy which then blocks the supplicant (and anything else needing
> entropy). You can add programs like rng-tools that grab more entropy
> and feed it to the kernel.
>
> See https://wiki.archlinux.org/index.php/Rng-tools for some examples.

Thank you for your answer ! I just add rng tools in my buildroot defconfig.
No more success after testing it. But it was due to the default argument used
by rngd deamon. With default argument, rngd is not able to find en entropy source :

# rngd -f
read error
read error
read error
(...)
read error
read error
No entropy sources working, exiting rngd

By using "-r /dev/urandom" now everything is working perfectly. And now wpa_supplicant
is starting very quickly.

# time  /usr/sbin/wpa_supplicant -B -i wlan0 -c /data/conf/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
rfkill: Cannot get wiphy information
real    0m 0.62s
user    0m 0.20s
sys     0m 0.07s

Thank you again !

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux