my Linux skills are rudimentary at best, but I am trying to learn. So please be considerate of that fact, considering this question. I have a laptop that I have installed Debian Buster on. I need to bridge my ethernet and wifi adapters together.
I have read many tutorials, and they all say much the same thing as described in this post. How do I configure a network interface bridge from WiFi to Ethernet with Debian?, however, this post makes the point that
" The wlan0 interface also has to be configured to connect to your remote AP ",
so I have tried to improvise, below is my configuration, needless to say {ssid} and {password} are substituted for real values
auto enp0s31f6
allow-hotplug enp0s31f6
iface enp0s31f6 inet manual
auto wlp4s0
allow-hotplug wlp4s0
iface wlp4s0 inet manual
wpa-ssid {ssid}
wpa-psk {password}
auto br0
iface br0 inet static
bridge_ports enp0s31f6 wlp4s0
address 10.0.10.8
netmask 255.255.255.0
gateway 10.0.10.1
dns-domain prox
dns-nameservers 8.8.8.8
So this kind of works!!! In that, the ethernet side works but not the Wifi, so if I lose Ethernet, I lose connection to the internet, defeating the purpose of this activity. Is there something obvious I am doing wrong here? Do I need to connect the wireless interface to the wireless network using some other method?
If I were to use this configuration for the wireless connection, I could connect to the wireless network, but this won't obviously work with a bridge.
allow-hotplug wlp4s0
iface wlp4s0 inet static
wpa-ssid {ssid}
wpa-psk {password}
address 10.0.10.8
netmask 255.255.255.0
gateway 10.0.10.1
dns-domain prox
dns-nameservers 8.8.8.8
Your assistance is greatly appreciated; I have spent the best part of a week trying to get this to work, I'm almost at the point of giving up.
###UPDATE###
Thanks @dirkt for the response, that kind of makes sense, so perhaps I can explain the underlying issues a little more clearly; I am using an application that imposes a bridge on the network adapters before it will allow you to use it.
The application will then use the bridge to communicate with the network. I only really need one network adapter to work with the bridge. I would prefer it to be the wifi adapter as I don't have much in the way of Ethernet in my house (where I am using this setup).
So even if I attempt to just bridge the wifi adapter and not worry about the Ethernet side, it will not work. It tries to work (i.e I'm not getting any errors), but it will not issue an IP address to the bridge.
Before you ask, the application is a proprietary audio application for the professional audio industry. I don't know why the manufacturer decided that this was the best way of doing things, but it doesn't seem all that uncommon from my reading. I believe some virtualisation platforms do the same thing, as this software is in part virtualisation. Perhaps that's the reason.
So given the above, if I am only using the wifi adapter as a one-sided bridge. Will this still not work? Will this resolve the cannot bridge a Wifi client and Ethernet issue? Or am I misunderstanding what you mean by that?