12: Configuring a WiFi connection
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 120 of 519
12.4
Configuring WiFi using UCI
The configuration files are stored on:
•
Network file /etc/config/network
•
Wireless file /etc/config/wireless
12.4.1
AP modem on a new Ethernet interface using package options
root@VA_router:~# uci export network
package network
config interface 'newwifilan'
option proto 'static'
option ipaddr '192.168.111.1'
option netmask '255.255.255.0'
root@VA_router:~# uci export wireless
package wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option phy 'phy0'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option txpower '17'
option country 'US'
config wifi-iface
option device 'radio0'
option mode 'ap'
option disabled '1'
option ssid 'Test_AP'
option network 'newwifilan'
option encryption 'psk'
option key 'secretkey'