Page MenuHomeVyOS Platform

Wireless conf_mode errors
Closed, ResolvedPublicBUG

Description

Trying to add wireless interface
Need to validators, an example in LTS "Must be (phy0 - phy9)"

sever@r11-ansible# compare 
[edit interfaces]
+wireless wlan2 {
+    address 10.2.5.1/30
+    physical-device eth0.100
+}

Commit

['Traceback (most recent call last):\n', '  File "/usr/libexec/vyos/conf_mode/interfaces-wireless.py", line 768, in <module>\n    verify(c)\n', '  File "/usr/libexec/vyos/conf_mode/interfaces-wireless.py", line 592, in verify\n    for phy in os.listdir(\'/sys/class/ieee80211\'):\n', "FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/ieee80211'\n"]

[[interfaces wireless wlan2]] failed
Commit failed

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202004210117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

StatusSubtypeAssignedTask
ResolvedBUGViacheslav
ResolvedBUGc-po

Event Timeline

/sys/class/ieee80211 does not exist on VirtualBox perhaps the interface configuration should fail it is missing ?

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:41 AM
erkin removed a subscriber: Active contributors.