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
< p > get answers itself, < / >
I was looking at the source of the Linux kernel.
net/wireless/core.c
code
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.
© 2024 OneMinuteCode. All rights reserved.