25 Января, 2019

/etc/config/wireless (OpenWRT)

Денис Забияко
cat /etc/config/wireless

BusyBox v1.30.0 () built-in shell (ash)

 _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
         |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r9108-528508a
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
       option type 'mac80211'
       option channel '11'
       option hwmode '11g'
       option path 'platform/ahb/ahb:apb/18100000.wmac'
       option htmode 'HT20'
       option disabled '0'

config wifi-iface 'default_radio0'
       option device 'radio0'
       option network 'lan'
       option mode 'ap'
       option ssid 'OpenWRT'
       option encryption 'psk2'
#       option encryption 'none'
       option key 'my password'