#1026832 wiki.debian.org: BridgeNetworkConnections wrong usage of bridge_hw parameter?

#1026832#5
Date:
2022-12-21 21:18:57 UTC
From:
To:
Dear Maintainer,

I visited https://wiki.debian.org/BridgeNetworkConnections and read an
example:

   pre-up iwconfig wlan0 essid $YOUR_ESSID
   bridge_hw $MAC_ADDRESS_OF_YOUR_WIRELESS_CARD

but this does not work (for me on 1 host tested only).
After spending quite some time on troubleshooting I think it should be

   pre-up iwconfig wlan0 essid $YOUR_ESSID
   bridge_hw $DEVICE_NAME_OF_YOUR_WIRELESS_CARD

or better simply:

   pre-up iwconfig wlan0 essid $YOUR_ESSID
   hwaddress $MAC_ADDRESS_OF_YOUR_WIRELESS_CARD

(bridge_hw seems to expect an interface name). Unfortunately I did not
find the right man page or definition to be sure (man interfaces does
not meantion any of bridge_hw or hwaddress). It's Debian 11.

As I now spent too much time on that (assuming a problem with DHCP
server) I would like to help others by reporting this in the hope
some expert could take a look.

Best regards,
Steffen

#1026832#10
Date:
2022-12-22 03:27:42 UTC
From:
To:
...

Please contact our support channels for help using Debian:

https://www.debian.org/support

Once the correct solution has been found, please register an account in
order to edit and correct the content of the Debian wiki.

#1026832#15
Date:
2026-08-23 23:07:20 UTC
From:
To:
The bridge_hw stanza comes from the bridge-utils package and it
supports both; a MAC or an interface name.

This still holds - it's a wiki, please edit it.

Closing.

Chris