msamman
Posts: 4
Joined: Tue Jan 22, 2013 7:54 am

Bridging WiFi to Ethernet

Thu Jan 24, 2013 8:22 am

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

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Bridging WiFi to Ethernet

Thu Jan 24, 2013 8:43 am

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

msamman
Posts: 4
Joined: Tue Jan 22, 2013 7:54 am

Re: Bridging WiFi to Ethernet

Thu Jan 24, 2013 8:53 am

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!

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Bridging WiFi to Ethernet

Thu Jan 24, 2013 9:03 am

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

dodu
Posts: 18
Joined: Thu Oct 11, 2012 7:38 am
Location: Germany

Re: Bridging WiFi to Ethernet

Tue Apr 23, 2013 2:29 pm

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.

dodu
Posts: 18
Joined: Thu Oct 11, 2012 7:38 am
Location: Germany

Re: Bridging WiFi to Ethernet

Wed Apr 24, 2013 6:50 am

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?

philc
Posts: 2
Joined: Thu Sep 12, 2013 9:58 pm

Re: Bridging WiFi to Ethernet

Thu Sep 12, 2013 10:04 pm

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.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Bridging WiFi to Ethernet

Fri Sep 13, 2013 6:37 am

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.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: Bridging WiFi to Ethernet

Sun Nov 10, 2013 2:12 pm

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

Return to “General discussion”

Who is online

Users browsing this forum: Andyroo and 48 guests