Skip to content

Instantly share code, notes, and snippets.

@zhujunsan
Last active June 20, 2024 09:46
Show Gist options
  • Save zhujunsan/fc451af20760e66d1be4 to your computer and use it in GitHub Desktop.
Save zhujunsan/fc451af20760e66d1be4 to your computer and use it in GitHub Desktop.
OpenWRT WiFi Client
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'
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