- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir,
Environment:
Linux with kernel ver. 5.4
Platform:AMBARELLA CV25S
Fmac:cypress-fmac-v5.10.9-2022_0331.
I have patched cypress-hostap_2_9 .
We use hostapd that is from cypress-fmac-v5.10.9-2022_0331 to set AP mode but the error message is shown.
We use the command as "/tmp/SD0/wifi/hostapd -d /tmp/SD0/scripts/hostapd.conf"
Error messages:
random: Trying to read entropy from /dev/random
No drivers enabled
Failed to initialize global context
Oct 2 00:21:13 buildroot user.warn kernel: [ 1137.745095] urandom_read: 1 callbacks suppressed
Oct 2 00:21:13 buildroot user.notice kernel: [ 1137.745106] random: hostapd: uninitialized urandom read (4096 bytes read)
Could you guide to how to fixed it ,thanks.
B.R.
Bill.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
Can you copy hostapd and hostapd.conf to some other folder like /bin and try?
cp /tmp/SD0/hostapd /bin
cp /tmp/SD0/hostapd.conf /bin
cd /bin
hostapd hostapd.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
We recently release a new fmac in which we upgraded the hostap to ver 2_10, can you try with this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @raks_99
I have built the V2.10 version hostapd , but the error logs are the same as the V2.9.1, the logs as below.
Do you have another idea? Thanks.
// Use hostapd logs
/tmp/SD0 # /tmp/SD0/hostapd -d /tmp/SD0/hostapd.conf
random: Trying to read entropy from /dev/random
No drivers enabled
Failed to initialize global context
/tmp/SD0 # tcpsvd: end 843 exit 1
tcpsvd: status 0/30
/tmp/SD0 #
/tmp/SD0 # /tmp/SD0/hostapd -v
hostapd v2.10
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2022, Jouni Malinen <j@w1.fi> and contributors
/tmp/SD0 #
/tmp/SD0 # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 70:74:14:10:4A:CF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
B.R.
Bill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
Can you copy hostapd and hostapd.conf to some other folder like /bin and try?
cp /tmp/SD0/hostapd /bin
cp /tmp/SD0/hostapd.conf /bin
cd /bin
hostapd hostapd.conf