OpenWrt配置无线客户端接口:
config 'interface' 'wisp'
option 'proto' 'dhcp'
无线配置一客户端+一AP:
#https://www.haiyun.me
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 'ssid' 'TD811R'
option 'encryption' 'psk2'
option 'device' 'radio0'
option 'mode' 'sta'
option 'network' 'wisp'
option 'key' 'onovps'
option 'bssid' 'C8:3A:35:02:15:28'
config 'wifi-iface'
option 'device' 'radio0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'OpenWrt'
option 'encryption' 'psk2'
option 'key' onovps'