Created
July 27, 2014 05:22
-
-
Save joeyhacker/3c4cf89e5ee56267a1bb to your computer and use it in GitHub Desktop.
Openwrt network config
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 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 |
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 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