Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ended up with a huge list of DUN connections, which are duplicates of a single device.

Any idea how I should delete them? I looked around in /etc/bluetooth and a few directories in my home directory.

share|improve this question
On gnome2 it was under ~/.gconf/system/networking/connections/.Deleting the required folder would delete the connection from nm-applet.On Gnome3 it is supposed to be under /etc/NetworkManager/system-connections/, but doesn't work due to a bug.see the answer here – Khurshid Alam May 28 '12 at 21:33
I found those connections in /etc/NetworkManager/system-connections and deleted them. Thanks. – theTuxRacer May 31 '12 at 10:28
Thank you for this. It was becoming annoying to see all the duplicate bluetooth DUNs listed. Found all of them in the /etc/NetworkManager/system-connections folder and deleted the duplicates. Thanks. – cu_ Jun 16 '12 at 9:03
@KhurshidAlam Can you include a answer with instructions on how to do that? Leaving a half-answer as a comment can often cause more harm than good. Thanks. – fossfreedom Jun 16 '12 at 9:27
I added an answer. Hope thats OK. – theTuxRacer Jun 16 '12 at 12:15
up vote 9 down vote accepted

All the DUN connections can be found in the /etc/NetworkManager/system-connections Choose your pick, or delete all of them.

The command to delete the connection is

sudo rm /etc/NetworkManager/system-connections/name-of-connection

Alternatively, you can delete all using the following command:

sudo rm /etc/NetworkManager/system-connections/*

Just a word of advice, it will delete any wi-fi or ethernet connections too.

If this does not delete the entries, try disabling and then enabling networking by clicking on "Enable Networking".

share|improve this answer
great answer, although this seems like a bug or incomplete feature in Ubuntu – Christian Vielma Oct 31 '13 at 0:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.