Hi guys,
im running vyos in a vm and i’m trying to bridge wlan0 in client (station) mode to my attached usb eth1 via br0.
When i try to commit wlan0 to br0 i get the following error.
vyos@vyos# commit
[ interfaces bridge br0 ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Make sure you are running the latest version of the code available at
https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
- Consult the forum to see how to handle this issue
https://forum.vyos.io
- Join our community on slack where our users exchange help and advice
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report Time: 2020-09-11 09:45:28
Image Version: VyOS 1.3-rolling-202009100118
Release Train: equuleus
Built by: autobuild@vyos.net
Built on: Thu 10 Sep 2020 01:18 UTC
Build UUID: 5fcaca09-7cc8-47d4-98a6-9855824a9be6
Build Commit ID: 5fbfd67b1a767b
Architecture: x86_64
Boot via: installed image
System type: Unknown hypervisor guest
Hardware vendor: QEMU
Hardware model: Standard PC (Q35 + ICH9, 2009)
Hardware S/N:
Hardware UUID: b3672043-1708-69a5-59f4-f8c28f66a32a
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 139, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 130, in apply
br.update(bridge)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/bridge.py", line 244, in update
self.add_port(interface)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/bridge.py", line 179, in add_port
return self.set_interface('add_port', interface)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 184, in set_interface
return self._set_command(self.config, name, value)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 109, in _set_command
return self._command_set[name].get('format', lambda _: _)(self._cmd(cmd))
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 51, in _cmd
return cmd(command, self.debug)
File "/usr/lib/python3/dist-packages/vyos/util.py", line 179, in cmd
raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: ip link set dev wlan0 master br0
returned:
exit code: 2
noteworthy:
cmd 'ip link set dev wlan0 master br0'
returned (out):
returned (err):
Error: Device does not allow enslaving to a bridge.
Is there a solution to this?
Or probably a better way to reach the final go:
The final goal is to provide local lan access to my bare metal host which cant handle wifi connections.
Locallan - Vyos br0 (wlan0,eth1) - Unraid server eth0
Thx hixquix