← Back to team overview

desktop-packages team mailing list archive

[Bug 864880] Re: nmcli con down gets immediately reverted on automatic connections

 

Closing as "Invalid" (e.g. not a bug), since that's how the GNOME report
was closed.

Quoting Jiri Klimes from the GNOME report:
"That's expected behaviour.
There are two ways how to disconnect via NM D-Bus API [1]:
* DeactivateConnection() method on org.freedesktop.NetworkManager
* Disconnect()           method on org.freedesktop.NetworkManager.Device

DeactivateConnection() doesn't prevent from auto-connecting again
Disconnect()           prevents from auto-activation  

'nmcli con down id "blah"' makes use of DeactivateConnection()

'nmcli dev disconnect iface wlan0'  make use of Disconnect() and thus do what
you want"

Thanks for filing a bug and helping to make Ubuntu better! Please do not
hesitate to report any further issues you may find.

** Changed in: network-manager (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/864880

Title:
  nmcli con down gets immediately reverted on automatic connections

Status in NetworkManager:
  Invalid
Status in “network-manager” package in Ubuntu:
  Invalid

Bug description:
  Running nmcli con down id my-connection-name doesn't work properly when a
  connection is configured to "connect automatically".  The connection comes down
  for only a second, then goes back up again.

  Bringing the same connection down via nm-applet works as expected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/864880/+subscriptions


References