Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
raspbian configuration for bridging eth0 and wlan0
# /etc/network/interfaces
# Configured for bridging wifi<->ethernet
# Tested with:
# - RPi Model B Rev. 1
# - 2013-02-09-wheezy-raspbian
# - Edimax 8192-series USB wireless adapter
# - /etc/modprobe.d/8192cu.conf contents:
# - options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
# - firmware: c2d133fb4efe9c9995da7fd7e1c45d74254f5c4b
# - installed using: https://github.com/Hexxeh/rpi-update
# - bridge-utils: sudo apt-get install bridge-utils
# Details, references, further info:
# - http://blog.chaucery.com/2013/02/raspberry-pi-wireless-bridge.html
auto lo
iface lo inet loopback
iface eth0 inet manual
auto wlan0
iface wlan0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports wlan0 eth0
bridge_stp off
bridge_fd 0
bridge_waitport 0
wpa-iface wlan0
wpa-bridge br0
wpa-ssid "YourWifiSSID"
wpa-psk "YourWpaPassphrase"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment