The wireless LAN interface cannot be added to the bridge interface.

Asked 3 months ago, Updated 3 months ago, 7 views

You cannot add wireless LAN interfaces to bridge interfaces on Linux (Ubuntu 16.04.4 LTS).

#brctl addbr br0
# brctl addif br0wlp1s0
can't add wlp1s0 to bridge br0: Operation not supported

wlp1s0 is the interface of the wireless LAN.

The PC is Surface pro3 and the wireless LAN is mwifiex_pcie.

How can I add it to the bridge interface?


2022-09-30 11:22

1 Answers

< p > get answers itself, < / >

I was looking at the source of the Linux kernel. net/wireless/core.ccode

 if ((wdev->iftype==NL80211_IFTYPE_STATION||
    dev->priv_flags | =IFF_DONT_BRIDGE;

It seems that the wireless LAN interface cannot be added to the bridge.
There seems to be no other way but to modify the kernel.

2022-09-30 11:22

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.