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.

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 :)

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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

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

share|improve this answer
    
On 10.04, /etc/NetworkManager/system-connections/ is empty & nm-applet is still showing bluetooth-dun connection.Any idea where these settings are stored on gnome2? –  Khurshid Alam May 1 '12 at 14:18
    
IIRC it was somewhere in ~/.gconf. Try searching in gconf-editor for a corresponding name... –  int_ua May 2 '12 at 2:54
    
Thanks. I found it under ~/.gconf/system/networking/connections/10! I have to delete the entire folder to get rid of it from network-manager. –  Khurshid Alam May 3 '12 at 9:14
add comment

I confirm that this still happens on 12.04 LTS

Thank you for the solution :) int_ua. Deleting the corresponding files in that location removed the duplicates.

Additionally, D3vid, if you want to avoid creating a duplicate, you can do the following:

Click on the Network Indicator, and uncheck Enable Networking.

This disables networks. Next repeat the same, thus enabling networks.

Previously used network connections are now visible. You can use them instead of going to the bluetooth applet and creating a new connection.

I find this takes lesser time than the bluetooth applet.

share|improve this answer
    
On 12.04.2 I found the connections in /etc/NetworkManager/system-connections. –  Thaddeus Albers Aug 24 '13 at 17:58
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.