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)

Event Timeline

Dmitry claimed this task.Fri, Mar 6, 8:33 AM
Dmitry created this task.
pasik added a subscriber: pasik.Fri, Mar 6, 10:01 PM
jjakob added a subscriber: jjakob.Wed, Mar 25, 8:42 PM

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]
c-po claimed this task.Thu, Mar 26, 7:08 PM
c-po closed this task as Resolved.Fri, Mar 27, 3:35 PM

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