Page 1 of 1

Bridging WiFi to Ethernet

Posted: Thu Jan 24, 2013 8:22 am
by msamman
Does anyone know if the Raspberry Pi is capable of bridging WiFi connection (using AirLink101 AWLL5088) and the ethernet port? I've been using my computer to bridge my XBox 360 to the internet and I want to shift that responsibility over to the Pi.

Thanks,
Mo

Re: Bridging WiFi to Ethernet

Posted: Thu Jan 24, 2013 8:43 am
by Spid

Re: Bridging WiFi to Ethernet

Posted: Thu Jan 24, 2013 8:53 am
by msamman
Thanks.

Just to make it easier for anyone who want to find this post, ill tell you the steps I did.

First install bridge-utils

Code: Select all

sudo apt-get bridge-utils
Then I open up my interfaces file...

Code: Select all

sudo nano /etc/network/interfaces
and edited it to contain this

Code: Select all

auto lo
iface lo inet loopback

auto ehto0
iface eth0 inet manual

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "(your SSID here)"
wpa-psk "(your password here)"

auto br0
iface br0 inet dhcp
bridge_ports wlan0 eth0
And thats all it took! Good luck!

Re: Bridging WiFi to Ethernet

Posted: Thu Jan 24, 2013 9:03 am
by Spid

Re: Bridging WiFi to Ethernet

Posted: Tue Apr 23, 2013 2:29 pm
by dodu
Doesnt work for me, i always get
can't add wlan0 to bridge br0: Operation not supported...

Some advice?

Background:
To install bridge-utils i use wpa_GUI to get connected to my WLan to install bridge-utils.
Afterwards ive done the steps mentioned above.

Re: Bridging WiFi to Ethernet

Posted: Wed Apr 24, 2013 6:50 am
by dodu
addition:

if i call
iw dev wlan0 set 4addr on
iam able to add wlan0 to br0 but, doesn't work anyway.

are there some other prerequisites?

any suggestions?

Re: Bridging WiFi to Ethernet

Posted: Thu Sep 12, 2013 10:04 pm
by philc
I was having issues doing this as well and the above did not work for me. I was finally able to get it working and created a tutorial on how to get it setup. You can view it here.

Re: Bridging WiFi to Ethernet

Posted: Fri Sep 13, 2013 6:37 am
by SirLagz
philc wrote:I was having issues doing this as well and the above did not work for me. I was finally able to get it working and created a tutorial on how to get it setup. You can view it here.
That's not actually bridging, but routing...
Just thought I'd point that out.

Re: Bridging WiFi to Ethernet

Posted: Sun Nov 10, 2013 2:12 pm
by mcgyver83
I followed this guide:
http://rbnrpi.wordpress.com/project-lis ... t-ready-tv

My Tv receives ip but still complains about DNS.
What could be wrong?
I only want to use the eth0 to provide internet access (through wlan0) to my TV