OpenWrt Forum Archive

Topic: Wireless is disabled or not associated

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to add a USB wireless adapter to the router. The chipset is mt7601u. I just installed 'mt7601u-firmware' and 'kmod-mt7601u' .The USB has worked correctly. I am able to scan nearby network using this USB adapter in Luci. But the Luci warns 'Wireless is disabled or not associated' . I am sure that the 'disabled' value is set 0.
Here is the dmesg info:

usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[    5.933744] mt7601u 1-1.2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[    5.950867] mt7601u 1-1.2:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[    6.417718] mt7601u 1-1.2:1.0: Warning: unsupported EEPROM version 0d
[    6.426757] mt7601u 1-1.2:1.0: EEPROM ver:0d fae:00
[    6.667258] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    6.668732] usbcore: registered new interface driver mt7601u

the network configuration:

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 'fd11:8629:b448::/48'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.2.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ifname 'eth0'

#config interface 'wan'
#       option proto 'dhcp'
#       option ifname 'eth0'

the wireless configuration

wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001
        option htmode 'HT20'
    option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'LEDE'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0'
        option htmode 'HT20'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option encryption 'none'
        option ssid 'USBadapter'

thanks

Do you have any clients connected to the station? Sometimes LuCI shows a station as disabled or not associated if there's nobody connected.

Antek wrote:

Do you have any clients connected to the station? Sometimes LuCI shows a station as disabled or not associated if there's nobody connected.

I have solved this problem by coincidence. Usb port that the usb adapter connects to can not supply enough power. I just changed it to 16db, then it worked.   
Appreciate your answer anyway.

The discussion might have continued from here.