Last active
June 20, 2024 09:46
-
-
Save zhujunsan/fc451af20760e66d1be4 to your computer and use it in GitHub Desktop.
OpenWRT WiFi Client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option type 'bridge' | |
option proto 'static' | |
option netmask '255.255.255.0' | |
option ifname 'eth0' | |
option ipaddr '192.168.200.1' | |
config interface 'wan' | |
option proto 'dhcp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config wifi-device 'wlan0' | |
option type 'mac80211' | |
option channel '11' | |
option macaddr '#############' | |
list ht_capab 'SHORT-GI-20' | |
list ht_capab 'SHORT-GI-40' | |
list ht_capab 'RX-STBC1' | |
list ht_capab 'DSSS_CCK-40' | |
option txpower '27' | |
option country 'US' | |
config wifi-iface | |
option device 'wlan0' | |
option ssid '#############' | |
option mode 'sta' | |
option encryption '#############' | |
option key '#############' | |
option network 'wan' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment