Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
2  
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
1  
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
show 1 more comment

1 Answer

up vote 3 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.

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
add comment

Your Answer

 
discard

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.