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 am using Ubuntu 11.10, and I am accessing internet from mobile internet.. So I have various connection mention in the list.. and how can i remove that list of connection form the network list

enter image description here

And below is the image where i got an bash error

enter image description here

And i have upload a new image where all list of connections are stored

enter image description here

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Click on the indicator for your network, or go to Network under System settings.

Then, click on Mobile Broadband and select the network that you do not want to keep any longer. Then, click on the Delete button to the right.

Here is a screenshot of where that button is. This is me demonstrating from my Wireless network selection, but it applies for Mobile Broadband too. I don't have any Mobile Broadband connections, so I demonstrated with my Wireless selection.

I hope this helps!

Edit:

If the steps above do not work, try the following: Open up terminal and run the following commands:

cd /etc/NetworkManager/system-connections
ls

(Copy down the connection names that you want to keep)

sudo mkdir /etc/NetworkManager/system-connections1
sudo cp (CONNECTION 1 NAME YOU WANT TO KEEP) /etc/NetworkManager/system-connections1
sudo cp (CONNECTION 2 NAME YOU WANT TO KEEP) /etc/NetworkManager/system-connections1

(Repeat for every one you would like to keep)

sudo rm -r /etc/NetworkManager/system-connections
sudo mv /etc/NetworkManager/system-connections1 /etc/NetworkManager/system-connections
unity --replace

Now, it SHOULD be correct. If not, let me know in the comments.

So you understand what the commands did ran are to do, you are creating a temporary folder for the connections you want to keep, moving them to that temporary folder, deleting the entire folder with the other names so you don't need to delete every individual one, and moving the temporary folder to the place of the old one, so your system thinks that's the original folder. Unity --replace will simply redraw your desktop to refresh the list to what you need.

share|improve this answer
    
I already did this stuff in Mobile Braodband tab but there is only two connections.. But i have lot of connection list... Is there any other way to solve out. –  Rafee Mar 19 '12 at 6:15
1  
Go ahead and type the following into Terminal: "cd /etc/NetworkManager/system-connections" "ls" And tell me what all appears. –  Ryan McClure Mar 19 '12 at 6:48
    
I looked at the screenshot that you posted and noticed that you spelled Network without an "r". I should have used the code setting for my response to clarify what goes in terminal; the "ls" should not be in quotes. My apologies for that. Go ahead and rerun that so I can see what you find. –  Ryan McClure Mar 22 '12 at 14:04
    
i got list of all network connections, and do i need to delte them individually as i have other networks that i dont want to delete –  Rafee Mar 28 '12 at 9:41
    
If you know what ones you need, write those down. I'm going to put the command that you'll want to run in an edit for my answer, since I don't know how to format it in a comment. –  Ryan McClure Mar 28 '12 at 22:03

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.