Wifi dongle won't associate and broadcast as AP

Hi everyone,

I'm hoping you can help me solve an issue I'm having with upgrading my OpenWRT raspberry pi to 18.06.

When I upgraded my Rpi to 18.06 and imported the configuration it broke the wireless connectivity. The dongle is still able to detect wifi networks and connect in client mode, but can't operate in AP mode. I've since re-inserted the backup Chaos Calmer SD card back into the RPi and it functions as normal. I've been trying to troubleshoot with an identical dongle in another RPi and haven't been able to get very far. Every time I try to start the wifi AP in Luci it just says "Wireless is not associated".

The system log when I try to start the wifi dongle in AP mode is as follows:

Sat Nov 17 13:56:39 2018 daemon.notice netifd: radio0 (2620): command failed: Not supported (-95)
Sat Nov 17 13:56:39 2018 daemon.notice netifd: radio0 (2620): command failed: Not supported (-95)
Sat Nov 17 13:56:39 2018 daemon.notice netifd: radio0 (2620): Device setup failed: INTERFACE_CREATION_FAILED
Sat Nov 17 13:56:39 2018 daemon.notice netifd: radio0 (2620): WARNING: Variable 'interfaces' does not exist or is not an array/object

/etc/config/network:

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd89:8c19:9acf::/48'

config interface 'lan'
        option type 'bridge'
        option proto 'dhcp'
        option hostname 'OpenWrt18.06.1'
        option force_link '1'
        option ifname 'eth0 wlan0'

/etc/config/wireless:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0'
        option htmode 'HT20'
        option txpower '20'
        option country 'GB'
        option legacy_rates '1'
        option distance '300'

config wifi-iface 'wlan0'
        option device 'radio0'
        option mode 'ap'
        option encryption 'psk2'
        option key '***'
        option disassoc_low_ack '0'
        option ssid '***'
        option network 'lan'

Thanks everyone.

Are you certain that the dongle you're using is capable of AP mode?

Yes - as stated it did so on Chaos Calmer and I'm using an identical dongle on another RPi in AP mode.

1 Like