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.

How can I create in Network Manager, multiple wired lan connection configuration for the same wired card? I use to move between a lot of offices where I need to change my network config (IP, Mask, ecc) is it possible to create or save different configurations for the same network card and activate the right one time by time?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Right click on the NetworkManager icon. In the "wired" tab, open up your existing connection ("Auto eth0") and copy the Device MAC address so you can put it in the new configuration profile. Then select "Add" to create a new connection profile for your wired connection.

After this, I believe all the profiles you've created should show up as options in your network list when you plug in a cable.

share|improve this answer
    
Looks like it works, I can test it tomorrow! tnx for now! –  digitaljail Jan 12 '11 at 15:01
    
Great! If it works tomorrow, you can come back here and accept the answer to mark the question as solved. –  Paul Fisher Jan 12 '11 at 15:09
    
For sure! also if it works I link this answer in a forum where I posted the same Question. –  digitaljail Jan 12 '11 at 15:23
    
I add a little tip, if you need to connect also in dhcp lan, is better to leave the dhcp config on the "Auto eth0" so ubuntu try this config first by default. but you are able to change connection with one of the other saved configurations when you need it. ;) –  digitaljail Jan 13 '11 at 11:37
add comment

On Ubuntu 11.10 with Gnome 3, you will only get the stripped down version of the gnome control panel's network manager (like when you are running gnome-control-center network from terminal).

If you want to configure a second (or more) wired network connections, run nm-connection-editor. It lets you add new connections.

share|improve this answer
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.