Page MenuHomeVyOS Platform

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

Description

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

IMG_20200329_155742_small.jpg (864×1 px, 173 KB)

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.

config:

wireless wlan0 {
    channel 1
    disable
    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
}

Details

Version
1.3-rolling-202003291001
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)