Page MenuHomeVyOS Platform

'WiFiIf' object has no attribute 'set_state'
Closed, ResolvedPublic


Commit fails on boot or when manually commiting with the above error. Screenshot of the error:

After commited once, I can't make it reproduce the error. I booted without wlan0 in the config at all, then loaded a config that had it (disabled), this is possibly encountered only in this case (when first loading a config with a disabled wlan), but I'm not sure.


wireless wlan0 {
    channel 1
    hw-id xx:xx:xx:xx:xx:xx
    mgmt-frame-protection disabled
    mode g
    physical-device phy0
    security {
        wpa {
            cipher CCMP
            mode wpa2
            passphrase 12345678
    ssid <test2>
    type access-point


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

Event Timeline

jjakob triaged this task as Unbreak Now! priority.Mar 29 2020, 2:43 PM
jjakob created this task.
jjakob created this object in space S1 VyOS Public.
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 7:58 AM
erkin removed a subscriber: Active contributors.