BBB and WIFI woes

I was wondering if anyone has had success with supporting different WiFi USB adapters on BeagleBone black. I am running Debian 13 and am needing to switch to Access Point Mode so that user can connect with browser, have system scan for SSID (I am using 2 VIF interfaces), validate password and then drop AP and switch to client.

I took forever to get the SSID scanning working but it is seeming solid but I am battling with the switch from AP to Client with the driver wedging.

Keen to share/discuss.

Colin

I was wondering if anyone has had success with supporting different
WiFi USB adapters on BeagleBone black.

not usb adapters, but onboard iwlwifi and two models of rtl chip
on a few bbb wireless and numerous bb green gateway and bb enhanced units.

I took forever to get the SSID scanning working but it is seeming solid
but I am battling with the switch from AP to Client with the driver
wedging.

my experience with these drivers is that they don’t
always survive deletion of the AP interface.

as a workaround we bring both STA and AP in parallel and if/when the AP
is unwanted, deconfigure it but leave the ap0 interface dormant
(ie. when bringing the AP up, ‘iw phy0 interface add ap0…’
but on down just ‘ip addr del…’, ‘ip link set dev ap0 down’
but no ‘iw dev ap0 del’).

Best Regards,
Alexander Zangerl
IT Engineer

Thanks for your feedback @az143 I will try something along these lines.

I wouldn’t waste any more time with USB adapters the drivers are buggy and as far as I can tell there are power issues with long term use. I went to an external wifi bridge, so far so good.

Thanks for this advice - it made a huge difference.