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

Asked 2 years ago, Updated 2 years ago, 48 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?

linux

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||
     wdev->iftype==NL80211_IFTYPE_P2P_CLIENT||
     wdev->iftype==NL80211_IFTYPE_ADHOC)&!wdev->use_4addr)
    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


© 2024 OneMinuteCode. All rights reserved.