Last active
August 29, 2015 14:07
-
-
Save corny/9f916acaa39c7ab05e01 to your computer and use it in GitHub Desktop.
OpenWRT Bridged Repeater (tested on TL-WR841ND v9 with barrier breaker)
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
#/etc/config/network | |
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 'fdaa:ec6b:a862::/48' | |
config interface 'lan' | |
option type 'bridge' | |
option ifname 'eth0 eth1' | |
option proto 'none' | |
config switch | |
option name 'switch0' | |
option reset '1' | |
option enable_vlan '1' | |
config switch_vlan | |
option device 'switch0' | |
option vlan '1' | |
option ports '0 1 2 3 4' | |
config interface 'uplink' | |
option proto 'dhcp' | |
config interface 'staticbridge' | |
option proto 'relay' | |
option network 'lan uplink' |
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
#/etc/config/wireless | |
config wifi-device 'radio0' | |
option type 'mac80211' | |
option hwmode '11g' | |
option path 'platform/qca953x_wmac' | |
option htmode 'HT20' | |
option txpower '20' | |
option country 'DE' | |
config wifi-iface | |
option device 'radio0' | |
option mode 'sta' | |
option network 'uplink' | |
option encryption 'psk' | |
option ssid 'YourWirelessNetwork' | |
option key 'YourWirelessPassword' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. I was struggling setting this up.