Skip to content

Instantly share code, notes, and snippets.

@joeyhacker
Created July 27, 2014 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeyhacker/3c4cf89e5ee56267a1bb to your computer and use it in GitHub Desktop.
Save joeyhacker/3c4cf89e5ee56267a1bb to your computer and use it in GitHub Desktop.
Openwrt network config
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd65:e21a:0de7::/48'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.0.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option proto 'static'
option ipaddr 192.168.1.20
option netmask 255.255.255.0
option gateway 192.168.1.1
config wifi-device radio0
option type mac80211
option channel 11
option hwmode 11ng
option path 'platform/ar933x_wmac'
option htmode HT20
list ht_capab SHORT-GI-20
list ht_capab SHORT-GI-40
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40
config wifi-iface
option device radio0
option network wan
option mode sta
option ssid "jOey'S wiFi"
option encryption psk2
option key 48841786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment