OpenWrt Forum Archive

Topic: r29266 w/ ath9k automatically appends /etc/config/wireless on reboot

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

If /etc/config/wireless contains:
.....
# option macaddr  xx:xx:xx:xx:xx:xx
....

or if there is no option macaddr entry, here is and example of what I automatically get on the next boot:

config wifi-device  radio0
    option type     mac80211
    option country    US
    option channel  149
    option hwmode    11na
    option htmode    HT40+
    list ht_capab    SHORT-GI-40
    list ht_capab    TX-STBC
    list ht_capab    RX-STBC1
    list ht_capab    DSSS_CCK-40

config wifi-iface
    option device   radio0
    option network  lan
    option mode     ap
    option wds    1
    option ssid     OpenWrt
    option encryption psk+aes
    option key Yadda_Yadda
config wifi-device  radio1
    option type     mac80211
    option channel  36
    option macaddr    00:80:48:70:f3:2d
    option hwmode    11na
    option htmode    HT20
    list ht_capab    SHORT-GI-40
    list ht_capab    TX-STBC
    list ht_capab    RX-STBC1
    list ht_capab    DSSS_CCK-40
    # REMOVE THIS LINE TO ENABLE WIFI:
    option disabled 1

config wifi-iface
    option device   radio1
    option network  lan
    option mode     ap
    option ssid     OpenWrt
    option encryption none

Should I open up a bug ticket?

No, you should provide a valid mac.

The discussion might have continued from here.