wifi to ethernet bridge

Kernels & Hardware, configuring network, installing services

wifi to ethernet bridge

Postby 1885 » 2018-01-11 21:09

We are working on a wifi to Ethernet bridge using Debian 9.

We are using a pci-e wireless-n card and we are using the onboard nic on the motherboard of a lean 4gb lenovo running a Pentium E6700

Please throw me a bone for Debian 9 .

thanks
1885
1885
 
Posts: 99
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

Postby GarryRicketson » 2018-01-11 21:51

wifi to ethernet bridge on Debian
===================================
https://wiki.debian.org/BridgeNetworkConnections

"How do I configure a network interface bridge from WiFi to ..."
https://unix.stackexchange.com/questions/363332/how-do-i-configure-a-network-interface-bridge-from-wifi-to-ethernet-with-debian
It certainly appears you are not the first person to try to do this, and ask the same question.

Maybe after trying some thing, and if it does not work, let us know exactly what you have done, and someone can help figure out why it did not work , if it doesn't.
User avatar
GarryRicketson
 
Posts: 4873
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: wifi to ethernet bridge

Postby 1885 » 2018-01-11 21:55

thank you! we'll give it a shot. I'll post back when we make some progress.
1885
 
Posts: 99
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

Postby Bryan623 » 2018-01-11 23:21

I'm the other person in the "We" of this post.

1885 is my teacher, and we've been trying this for several days, i've googled, checked the wiki, and just plain struck out.

Here's how it's set up:
Wi-Fi --> Wireless NIC --> Debian --> switch --> computer.

The wifi is coming from a Raspberry Pi hotspot (this is irrelevant, another student has this set up)

I was trying to do the reverse, but with the specs on the first post. The base model of the computer is a Lenovo M58 SFF, if that helps a bit more.

As i have moved to another project for the time being, i just popped in to add some more background info.
Bryan623
 
Posts: 3
Joined: 2018-01-11 23:11

Re: wifi to ethernet bridge

Postby p.H » 2018-01-12 19:37

The kernel does not allow to bridge a wireless interface in standard 3-address managed or ad-hoc mode.
The interface must be set up in master (access point), WDS or 4-address mode.
p.H
 
Posts: 403
Joined: 2017-09-17 07:12

Re: wifi to ethernet bridge

Postby 1885 » 2018-01-12 21:58

p.H wrote:The kernel does not allow to bridge a wireless interface in standard 3-address managed or ad-hoc mode.
The interface must be set up in master (access point), WDS or 4-address mode.

thank you! I need to learn how to do this : master (access point), WDS
in other words I don't know how to do it yet.

thank you!

is this a good reference
https://www.cyberciti.biz/faq/debian-ub ... ess-point/
1885
 
Posts: 99
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

Postby p.H » 2018-01-12 22:10

Do you know what these modes do and are you sure this is what you want ?
p.H
 
Posts: 403
Joined: 2017-09-17 07:12

Re: wifi to ethernet bridge

Postby Bryan623 » 2018-01-14 06:01

I used iw dev wlp2s0 set 4addr on to set it into 4-address mode, but Wi-Fi lost connection to the internet when i turned 4-address on, when i turned it back off Wi-Fi worked but, back to square one...

The wireless card is a Wireless N PCIe Card TPE-N300PCIE4 by ThinkPenguin.com.
Bryan623
 
Posts: 3
Joined: 2018-01-11 23:11

Re: wifi to ethernet bridge

Postby 1885 » 2018-01-16 12:18

p.H wrote:Do you know what these modes do and are you sure this is what you want ?

NO. I'm on a learning curve on this whole project.
The last time I really had to dig into command line wifi was in 2007 . Gentoo
Thanks!
1885
 
Posts: 99
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

Postby Bryan623 » 2018-01-18 02:29

YES!!! I got the thing to work.

I'm using a TP-Link Archer T4U V2, which was a real pain in the ass to get the drivers installed. As the Realtek 8812AU wireless chip (the TP-Link is based off of that) has poor Linux support, i had to compile the drivers myself (long story, i'll save it for another time).

Anyway, the adapter does not have 4addr support, so i used a NAT approach. I followed this guide: https://www.raspberrypi.org/forums/view ... 6&t=132674
It does need a few modifications, so keep that in mind, but most of it stays the same.

On Friday i'll bring my little Mini-ITX bridge rig to show you more detail.
Bryan623
 
Posts: 3
Joined: 2018-01-11 23:11


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable