Re: NetworkManager-resolv.conf -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/14/2012 09:44 AM, lee issued this missive:
"Bob Goodwin - Zuni, Virginia, USA" <bobgoodwin@xxxxxxxxxxxx> writes:

    How can I tell NetworkManager not to change my /etc/resolv.conf file
    or do I need to just stop using NM? These are fixed F-17/64
    computers and I use NM simply because it's there and works, however
    I want to change the dns settings and not have them over written. I
    don't see how it can be done with the edit GUI menu that comes up
    when I click on the NM icon.

It's better to disable networkmanager then.  It seems to be more a tool
for ever changing connections used with dhcp.  In a fixed setup, you
don't need it, and disabling it saves you the process constantly
running.

Other than that, you could change the "NM_CONTROLLED=yes" entry to
"NM_CONTROLLED=no" in the ifcfg-* files for your interfaces.  That
/should/ stop networkmanager from overwriting resolv.conf ... somehow I
have doubts that it actually would without further ado.

Actually, I think you can do "PEERDNS=no" in the /etc/sysconfig/network
file prevent overwriting the resolv.conf file. If you do that, then
remove any "PEERDNS" lines from the ifcfg-* files (or they'll override
the setting when they're invoked).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux