Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
5 solutions authored 50 replies posted 100 sign-ins

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.

0 Likes
1 Solution
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

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

View solution in original post

0 Likes
3 Replies
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi @Bill_123 ,

We recently release a new fmac in which we upgraded the hostap to ver 2_10, can you try with this:

https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2...

0 Likes
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
5 solutions authored 50 replies posted 100 sign-ins

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.

0 Likes
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

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

0 Likes