nmcli connection show --fields active shows all connections as inactive
$ nmcli -v
nmcli tool, version 1.22.10
The first three connections are actually active but the ACTIVE
column says no
:
$ nmcli --fields name,type,active connection show
NAME TYPE ACTIVE
vpn1 vpn no
Realtek PCI Express (integrated) ethernet no
tun0 tun no
vpn2 vpn no
wifi1 wifi no
Android Network bluetooth no
Android USB ethernet no
Realtek PCI ethernet no
However, requesting the additional state
field fixes the issue somehow:
$ nmcli --fields name,type,active,state connection show
NAME TYPE ACTIVE STATE
vpn1 vpn yes activated
Realtek PCI Express (integrated) ethernet yes activated
tun0 tun yes activated
vpn2 vpn no --
wifi1 wifi no --
Android Network bluetooth no --
Android USB ethernet no --
Realtek PCI ethernet no --