0

I am trying to add the interface wwan0 to a bridge. Currently I am unable to do that. When I run the command

brctl addif br0 wwan0

can't add wwan0 to bridge br0: Invalid argument

Any ideas why this could be happening?

edit 1: I want to bridge wwan0 which is my 3g cellular dongle and Ethernet eth0. I run the below command to get my wwan0 network activated. udhcpc -n -i wwan0 Once I have successfully completed that. I run the commands shown below.

brctl addbr br0 brctl addif br0 eth0

The above commands complete without any issues. Then I try running brctl addif br0 wwan0

thats when I get the error can't add wwan0 to bridge br0: Invalid argument

I am using a kernel version of 4.19

1 Answers1

2

It is well known that the linux bridge does not accept all interfaces, in particular WiFi interfaces to be used for a client connection to an uplink router if it does not support WDS (Wireless Distribution Service) with 4addr. For further information you can look at Raspberry Pi WiFi to Ethernet Bridge. OK, this does not fit exactly your situation but may give you an idea what could be wrong. Check if the interface is known as a WiFi interface and if it supports WDS then. If the bridge does not accept the wwan0 interface you have to use routing.

Ingo
  • 42,961
  • 20
  • 87
  • 207