Skip to content

Instantly share code, notes, and snippets.

@corny
Last active August 29, 2015 14:07
Show Gist options
  • Save corny/9f916acaa39c7ab05e01 to your computer and use it in GitHub Desktop.
Save corny/9f916acaa39c7ab05e01 to your computer and use it in GitHub Desktop.
OpenWRT Bridged Repeater (tested on TL-WR841ND v9 with barrier breaker)
#/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'
#/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'
@schwagdawg
Copy link

Thanks. I was struggling setting this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment