#16543: luci wifi configuration broken with 2 or more radios --------------------------+-------------------------------- Reporter: anonymous | Owner: developers Type: defect | Status: new Priority: high | Milestone: Chaos Calmer 15.05 Component: base system | Version: Trunk Resolution: | Keywords: --------------------------+--------------------------------
Comment (by anonymous): without any changes it already displayed disabled twice for every radio 'radio0' is disabled 'radio1' is disabled 'radio0' is disabled 'radio1' is disabled {{{ root@192.168.1.1's password: BusyBox v1.23.2 (2016-02-12 11:28:22 CET) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- CHAOS CALMER (Chaos Calmer, r48666) ----------------------------------------------------- * 1 1/2 oz Gin Shake with a glassful * 1/4 oz Triple Sec of broken ice and pour * 3/4 oz Lime Juice unstrained into a goblet. * 1 1/2 oz Orange Juice * 1 tsp. Grenadine Syrup ----------------------------------------------------- root@OpenWrt:~# ubus call network.wireless status { "radio0": { "up": false, "pending": false, "autostart": true, "disabled": true, "config": { "channel": "11", "hwmode": "11g", "path": "platform\/ar933x_wmac", "htmode": "HT20", "disabled": true }, "interfaces": [ { "section": "@wifi-iface[0]", "config": { "mode": "ap", "ssid": "OpenWrt", "encryption": "none", "network": [ "lan" ], "mode": "ap" } } ] } } root@OpenWrt:~# uci show wireless wireless.radio0=wifi-device wireless.radio0.type='mac80211' wireless.radio0.channel='11' wireless.radio0.hwmode='11g' wireless.radio0.path='platform/ar933x_wmac' wireless.radio0.htmode='HT20' wireless.radio0.disabled='1' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='radio0' wireless.@wifi-iface[0].network='lan' wireless.@wifi-iface[0].mode='ap' wireless.@wifi-iface[0].ssid='OpenWrt' wireless.@wifi-iface[0].encryption='none' root@OpenWrt:~# wifi detect >> /etc/config/wireless root@OpenWrt:~# uci show wireless wireless.radio0=wifi-device wireless.radio0.type='mac80211' wireless.radio0.channel='11' wireless.radio0.hwmode='11g' wireless.radio0.path='platform/ar933x_wmac' wireless.radio0.htmode='HT20' wireless.radio0.disabled='1' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='radio0' wireless.@wifi-iface[0].network='lan' wireless.@wifi-iface[0].mode='ap' wireless.@wifi-iface[0].ssid='OpenWrt' wireless.@wifi-iface[0].encryption='none' wireless.radio1=wifi-device wireless.radio1.type='mac80211' wireless.radio1.channel='11' wireless.radio1.hwmode='11g' wireless.radio1.path='platform/ehci-platform/usb1/1-1/1-1:1.0' wireless.radio1.htmode='HT20' wireless.radio1.disabled='1' wireless.@wifi-iface[1]=wifi-iface wireless.@wifi-iface[1].device='radio1' wireless.@wifi-iface[1].network='lan' wireless.@wifi-iface[1].mode='ap' wireless.@wifi-iface[1].ssid='OpenWrt' wireless.@wifi-iface[1].encryption='none' root@OpenWrt:~# wifi 'radio0' is disabled 'radio1' is disabled 'radio0' is disabled 'radio1' is disabled root@OpenWrt:~# ubus call network.wireless status { "radio0": { "up": false, "pending": false, "autostart": true, "disabled": true, "config": { "channel": "11", "hwmode": "11g", "path": "platform\/ar933x_wmac", "htmode": "HT20", "disabled": true }, "interfaces": [ { "section": "@wifi-iface[0]", "config": { "mode": "ap", "ssid": "OpenWrt", "encryption": "none", "network": [ "lan" ], "mode": "ap" } } ] }, "radio1": { "up": false, "pending": false, "autostart": true, "disabled": true, "config": { "channel": "11", "hwmode": "11g", "path": "platform\/ehci- platform\/usb1\/1-1\/1-1:1.0", "htmode": "HT20", "disabled": true }, "interfaces": [ { "section": "@wifi-iface[1]", "config": { "mode": "ap", "ssid": "OpenWrt", "encryption": "none", "network": [ "lan" ], "mode": "ap" } } ] } } }}} -- Ticket URL: <https://dev.openwrt.org/ticket/16543#comment:12> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets