Re: NetworkManager constantly overwriting /etc/resolve.conf - how to disable?

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



At Mon, 30 Nov 2009 00:55:28 +0200 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> On Mon, Nov 30, 2009 at 12:13 AM, Tosh <toshlinux@xxxxxxxxx> wrote:
> >
> > Add to /etc/sysconfig/network-scripts/ifcfg-ethX
> > The following 2 lines :
> > PEERDNS=no
> > NM_CONTROLLED=no
> >
> > Line 1 tells the the if commands not to override /etc/resolv.conf
> > Line 2 tells NetworkManager that it doens't have control over that
> > ethernet controller
> >
> >
> > --
> 
> Hi Tosh,
> 
> As matter of interest, since I don't see those options on our other
> servers (which doesn't have this behaviour and they're also on CentOS
> 5.4), are these settings new? OR do I have something else installed
> that is causing this?

You either

A) Don't have NetworkManager installed on the other servers
(eg 'rpm -q NetworkManager' yields 'package NetworkManager is not installed')

OR

B) Don't have NetworkManager running on the other servers
(eg '/sbin/chkconfig NetworkManager --list' yields 
'NetworkManager 0:off   1:off   2:off   3:off   4:off   5:off   6:off')

> 
> 
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
                                                                                                                            
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux