Hello @josep.tx ,
Sorry for getting back to you so late.
I was able to try the solution proposed by @Edward.
It created a hostapd.conf
very similar to what I did before and I was able to get WiFi 5 working (5 Ghz, > 100 Mbps). I measured real world speeds of around 70 Mbps between the SoM and a smartphone connected to it’s AP which is enough for our application.
I believe I originally had multiple problems with WiFi authentication (WPA2 PSK), the bridge network and the DHCP which is why my original configuration did not work.
Finally we had another problem that we discovered later: we had WiFi drops that lasted multiple seconds. It turns out that was caused by the periodic WiFi scans of NetworkManager
on interface mlan0
. We fixed the problem by removing the mlan0
interface from NetworkManager
since we do not ever need to connect to a WiFi network.
I have attached the final, isolated network configuration that we arrived at:
filesystem_network.zip (5.0 KB)
It does the following
- Create a bridge network
br0
- Attach a
dhcp
server tobr0
and sets the SoM address to10.42.0.1
- Create a WiFi 5 access point and set it up to start at boot
- Bridge
ethernet0
and the access point together - Prevent
NetworkManager
from managing eitheruap0
ormlan0
Now we can access the SoM at address 10.42.0.1
no matter if we’re connected via Ethernet or WiFi.
Thank you everyone for your help.
Kind regards,
Corentin.