morrownr / rtl8852bu

Linux Driver for USB WiFi Adapters that are based on the RTL8832BU and RTL8852BU Chipsets - v1.19.3 - 20230505
Other
81 stars 13 forks source link

Support for bridge? #26

Open sateuwdie opened 3 months ago

sateuwdie commented 3 months ago

Usually when a wlan don't support bridge the commands return a similar error.

brctl addif br0 wlan1
can't add wlan1 to bridge br0: Operation not supported

this driver seems to support bridge, I have tried this script

MAC1="I:USED:THE:WLAN:MAC"
nmcli con del br0
nmcli con add ifname br0 type bridge con-name br0 bridge.mac-address $MAC1
nmcli con add type bridge-slave ifname wlan0 master br0
nmcli con down br0
nmcli con up br0

and works, the br0 is up, and I can ping (only internal!) with brtctl works fine also.

brctl addbr br0
brctl addif br0 wlan1

I used the same wlan mac because my HOSTAP has mac filter active so using a fake mac means no access.

Now the problems

dhcp-client on br0 FAIL TIMEOUT manual ip configuration (add addr, add route...) works but don't ping external addr

My question is..I have miss something?This driver support bridge? Thanks

Some info

Network wifi card: https://www.amazon.it/dp/B0BTHQNK5S OS: Slackware 15 Kernel: 6.7.0 Firewall: I try with firewall disabled, same thing

sateuwdie commented 3 months ago

On some sites people said.. to run set 4addr, but..

iw dev wlan0 set 4addr on
command failed: Operation not supported (-95)