1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | config 'wifi-device' 'radio0' option 'type' 'mac80211' option 'channel' '5' option 'macaddr' '00:1f:a3:65:55:8e' option 'hwmode' '11g' option 'txpower' '20' option 'country' '00' config 'wifi-iface' option 'device' 'radio0' option 'wds' '1' option 'network' 'lan' option 'mode' 'ap' option 'ssid' 'WDS' option 'encryption' 'psk2' option 'key' 'onovps' |
WDS客户端配置参数,需关闭DHCP服务,由主AP分配IP。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | config 'wifi-device' 'radio0' option 'type' 'mac80211' option 'channel' '5' option 'macaddr' '00:1f:a3:65:55:8e' option 'hwmode' '11g' option 'txpower' '20' option 'country' '00' config 'wifi-iface' option 'device' 'radio0' option 'network' 'lan' option 'mode' 'ap' option 'ssid' 'OpenWrt' option 'encryption' 'psk2' option 'key' 'onovps' config 'wifi-iface' option 'device' 'radio0' option 'wds' '1' option 'bssid' '00:1f:a3:65:55:88' option 'network' 'wan' option 'mode' 'sta' option 'ssid' 'WDS' option 'encryption' 'psk2' option 'key' 'onovps' |