[SOLVED] Solved Ununtu 12.04 "Desktop" network-manager and /etc/network/interfaces conflicts
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Ubuntu, also starting out with Centos
Solved Ununtu 12.04 "Desktop" network-manager and /etc/network/interfaces conflicts
I thought I might espouse some hard-won network wisdom in the hopes it might help out some other people in similar situations.
Hardware: fairly modern 1U server with two 1gbps ethernet ports on motherboard.
*nix: Ubuntu 12.04 Desktop
Environment: mostly unattended remote site.
Network: mix of 1Gbps / 10Gbps internal private non-routable IPs with an Ubuntu server on the boundary doing internal DHCP / DNS.
Purpose: this particular machine isolates a rather poorly behaved custom ethernet "box" from the main network - hence two ethernet ports.
Why Desktop, not server?: Fairly often, I will not be at the machine and need someone who's able to log in and follow simple instructions, to maintain it for me. Desktop is a much easier environment for that.
Out of the box I've found 12.04 Desktop to be pretty good at what it does, as long as you have a single ethernet port, (either copper or wireless) to a fairly regular ISP or University or Company Lan. But with two ethernet ports and fairly custom requirements it can be a bit of a pain working things out. Unfortunately there's a wealth of well-intentioned but mis-informed noise out there on the 'net.
So what I wanted is eth0 to be DHCP, and eth1 to be statically set up.
I may not have arrived here by the best route, but:
I ended up editing /etc/NetworkManager.conf, commented out the dnsmasq line, and changed the ifupdown entry to "managed=true". It took two reboots before this change "took".
After a final reboot, everything comes up the way it is intended.
I guess the summary is that I found the "managed=true" to be non-intuitive. To me, it suggests that NetworkManager is looking after those ports, but in reality it means "someone else" has managed the ports.
So, there you go, I hope this helps someone else out.