bluepuma
Posts: 23
Joined: Thu Aug 02, 2012 1:18 pm

RasPi as transparent Wifi bridge?

Wed Nov 18, 2015 8:39 pm

Hi everyone,

I would like to connect a DVB TV receiver (eyetv netstream) with LAN interface via a Raspberry Pi to a local Wifi network. The RasPi should bridge the LAN to Wifi. Most importantly the receiver should get the IP address from the central router, not from the RasPi. And all local devices should be able to access the receiver with the same IP address (from the DHCP server).

At the end I would like to access the receiver from a tablet for live TV streaming and from the Raspberry Pi which should record via tvstreamrecord from the receiver.

Code: Select all

/--------\              /--------\              /-----------\               /----------\
| Tablet |  (((Wifi)))  | Router |  (((Wifi)))  | Raspberry |  --- LAN ---  | Receiver |
| (App)  |              | (DHCP) |              | (record)  |               | (DVB-T)  |
\--------/              \--------/              \-----------/               \----------/
Is this possible? How can this be configured on the RasPi?

sprinkmeier
Posts: 410
Joined: Mon Feb 04, 2013 10:48 am
Contact: Website

Re: RasPi as transparent Wifi bridge?

Thu Nov 19, 2015 11:55 am

yes.
bridge wlan0 and eth0 (assuming those are your intefaces)
The catch is that you'll probably have to disable all those helpful GUI wireless tools and configure using /etc/networking/interfaces. After getting wlan0 working again.

Note that they both share the same USB port into your CPU, so throughput might be less than you hope.

By all means have a go, but you could also just get a dirt-cheap wireless access-point and set that up in bridge mode.

bluepuma
Posts: 23
Joined: Thu Aug 02, 2012 1:18 pm

Re: RasPi as transparent Wifi bridge?

Thu Nov 19, 2015 6:58 pm

Thanks for the hint for bridging, could you provide details?

I have found a bunch of examples, but they usually configure their own IP addresses. What I want is that the RasPi gets a DHCP IP from the router via Wifi and the LAN-connected receiver to get an IP address from the router (through the RasPi). Is there such a thing as transparent bridging? Without configuring any IPs?

By the way, the RasPi has a dedicated role of recording streams, so I can't just replaced it with a wireless access point.

sprinkmeier
Posts: 410
Joined: Mon Feb 04, 2013 10:48 am
Contact: Website

Re: RasPi as transparent Wifi bridge?

Thu Nov 19, 2015 8:26 pm

I've used these instructions:
https://wiki.debian.org/BridgeNetworkConnections

Note the bit about etables. I've not set up a brige with a wireless connection before, but that sounds important.

Return to “Networking and servers”