Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wifi to ethernet bridge

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
1885
Posts: 127
Joined: 2014-06-05 04:23

wifi to ethernet bridge

#1 Post by 1885 »

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

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: wifi to ethernet bridge

#2 Post by GarryRicketson »

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/question ... ith-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.

1885
Posts: 127
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

#3 Post by 1885 »

thank you! we'll give it a shot. I'll post back when we make some progress.

Bryan623
Posts: 3
Joined: 2018-01-11 23:11

Re: wifi to ethernet bridge

#4 Post by Bryan623 »

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.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi to ethernet bridge

#5 Post by p.H »

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.

1885
Posts: 127
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

#6 Post by 1885 »

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/

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi to ethernet bridge

#7 Post by p.H »

Do you know what these modes do and are you sure this is what you want ?

Bryan623
Posts: 3
Joined: 2018-01-11 23:11

Re: wifi to ethernet bridge

#8 Post by Bryan623 »

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.

1885
Posts: 127
Joined: 2014-06-05 04:23

Re: wifi to ethernet bridge

#9 Post by 1885 »

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!

Bryan623
Posts: 3
Joined: 2018-01-11 23:11

Re: wifi to ethernet bridge

#10 Post by Bryan623 »

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.

Post Reply