X-OpenWrt/CustomFiles/d-team_newifi-d2_mac80211.p...

22 lines
883 B
Diff

--- mac80211.sh1 2021-08-03 17:06:58.508824374 +0800
+++ mac80211.sh2 2021-08-03 17:07:20.578410189 +0800
@@ -174,14 +174,15 @@ detect_mac80211() {
set wireless.radio${devidx}.channel=${channel}
set wireless.radio${devidx}.band=${mode_band}
set wireless.radio${devidx}.htmode=$htmode
+ set wireless.radio${devidx}.country=CN
set wireless.radio${devidx}.disabled=0
- set wireless.radio${devidx}.country=US
-
+
set wireless.default_radio${devidx}=wifi-iface
set wireless.default_radio${devidx}.device=radio${devidx}
+ set wireless.default_radio0.ssid=OpenWrt_2.4G
+ set wireless.default_radio1.ssid=OpenWrt_5G
set wireless.default_radio${devidx}.network=lan
set wireless.default_radio${devidx}.mode=ap
- set wireless.default_radio${devidx}.ssid=OpenWrt
set wireless.default_radio${devidx}.encryption=none
EOF
uci -q commit wireless