|
楼主 |
发表于 2022-11-28 17:00:28
|
显示全部楼层
你好,
/etc/config/wireless:
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/c000000.wifi'
option band '5g'
option htmode 'HE80'
option country 'US'
option channel 'auto'
option channels '36,40,44,48,149,153,157,161,165'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'GL-AX1800-acf-5G'
option encryption 'psk2'
option wds '1'
option isolate '0'
option key 'EC9KZ58APT'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/c000000.wifi+1'
option band '2g'
option country 'US'
option disabled '0'
option htmode 'HE40'
option legacy_rates '0'
option channel '2'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'GL-AX1800-acf'
option encryption 'psk2'
option wds '1'
option isolate '0'
option key 'EC9KZ58APT'
config wifi-iface 'guest5g'
option device 'radio0'
option network 'guest'
option mode 'ap'
option encryption 'psk2'
option ssid 'GL-AX1800-acf-5G-Guest'
option guest '1'
option disabled '1'
option wds '1'
option isolate '1'
option key 'EC9KZ58APT'
config wifi-iface 'guest2g'
option device 'radio1'
option network 'guest'
option mode 'ap'
option encryption 'psk2'
option ssid 'GL-AX1800-acf-Guest'
option guest '1'
option disabled '1'
option wds '1'
option isolate '1'
option key 'EC9KZ58APT'
config wifi-iface 'wifinet6'
option ssid 'OpenWrt2_tt'
option encryption 'psk2'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disabled '0'
option key 'goodlife124123'
wifinet6是通过luci管理界面添加的,此时用手机或者电脑,是可以看到OpenWr2_tt的5G wifi。
用vi修改wireless文件,增加一个wifi:
config wifi-iface 'wifinet7'
option ssid 'OpenWrt2_tt2'
option encryption 'psk2'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disabled '0'
option key 'goodlife124123'
将盒子重启后,两个wifi OpenWrt2_tt和OpenWrt2_tt2都看不到了。
1.如果把radio0改成radio1,用2g的wifi,是没问题的;
2.如果此时通过luci管理后台,对wifinet7做个修改,如改个密码,点击“保存并应用”后,两个wifi都可以看到了。
比较奇怪,希望帮助一下。
我们要基于该固件做方案,wifi需要通过管理后台下发。在ax1800的老版本,b1300等盒子上,没遇到过这个情况
thks
|
|