Ubuntu – How to remove Mobile Broadband connections that don’t appear under “Edit Connections…”

bluetoothmobile-broadbandnetwork-manager

When I first tried to use my mobile to connect to the internet, I created a Mobile Broadband connection. I did this by opening Bluetooth > Preferences and ticking "Access the Internet using your mobile phone (DUN)". Usually, when my phone is within Bluetooth range I open the Network indicator, click on the mobile connection, and it is established.

Sometimes, however, this doesn't work and the Bluetooth connection times out. [1] Then, the only way I can establish an internet connection is to again open Bluetooth > Preferences and tick the box again. This creates a brand new Mobile Broadband connection. When I click on the new mobile connection, it works.

However, I now have several duplicate mobile connections under my Network indicator. When I click on "Edit Connections…", they do not appear under the Mobile Broadband tab. Nor when I run gksu nm-connection-editor.

Where are they stored and how do I get rid of them?

[1] I assume this is a bug. Advice what to do when it happens again so I can file it accurately would be appreciated 🙂

Best Answer

NM connections are stored in /etc/NetworkManager/system-connections/

I assume the bug is https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/822311