Page MenuHomeVyOS Platform

wireless: not possible to disabled wlan0
Closed, ResolvedPublicBUG

Description

Reproducing steps:

set interfaces wireless wlan0 address 'dhcp'
set interfaces wireless wlan0 disable
set interfaces wireless wlan0 security wpa passphrase 'XXXXX'
set interfaces wireless wlan0 ssid 'test'
set interfaces wireless wlan0 type 'station'

vyos@WIFI# sudo ip addr show dev wlan0
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether cc:cc:02:84:cc:cc brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.104/24 brd 192.168.0.255 scope global dynamic wlan0
       valid_lft 172535sec preferred_lft 172535sec
    inet6 fecc::821f:2ff:fecc:cccc/64 scope link 
       valid_lft forever preferred_lft forever

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.3-rolling-202003051936
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

I'm still getting the same behavior on 1.3-rolling-202003250217:

vyos@vyos:~$ show interfaces wireless
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
wlan0            -                                 u/u  
vyos@vyos:~$ configure
[edit]
vyos@vyos# set interfaces wireless wlan0 disable

  Configuration path: [interfaces wireless wlan0 disable] already exists

[edit]
vyos@vyos# delete interfaces wireless wlan0 disable
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# set interfaces wireless wlan0 disable
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# run show interfaces wireless
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
wlan0            -                                 u/u  
[edit]

Fix will be in any rolling release after vyos-1.3-rolling-202003270650-amd64.iso

erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:24 PM