Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 a plain DHCP wired connection at home, and a wired connection secured with 802.1X at the office. I need to use the right parameters in each location.

I've configured both connections with NetworkManager, but now when I'm at home the NM GUI asks me to re-enter identity data, it doesn't try to establish an unsecured connection.

How can I configure the NetworkManager to use the right connection in both locations? Are there any attributes for wired networks, like, a MAC of the DHCP server, or the availability of the authentication server? I can also use another utility instead of NM if it's easier.

share|improve this question
How is it supposed to figure out which is the correct one? – Ignacio Vazquez-Abrams Jul 17 '13 at 4:16
It's easy for it to figure out wireless since different networks have different ESSIDs. With ethernet it's just "cable plugged in". – jordanm Jul 17 '13 at 4:42
What do you mean by “secured”? NM usually works out of the box where DHCP is available. Is there a DHCP server at your office? If not, what kind of setup is it: a static IPv4 address? Is it in a public range or private range? – Gilles Jul 17 '13 at 23:28
@Gilles : "Secured" means an authentication via the 802.1x protocol family - by certificate. – abyss.7 Jul 18 '13 at 4:28
@jordanm : That's the part of the question - are there any attributes for wired networks? - Like, a MAC of the DHCP server, or an availability of the authentication server. For now the NM GUI only asks to re-enter identity data, if it fails to establish secured connection - it doesn't try any other connection. – abyss.7 Jul 18 '13 at 4:36

Your Answer


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

Browse other questions tagged or ask your own question.