[CentOS] resolf.conf lost

Rodrigo Pichiñual Norin rodrigo.pichinual at gmail.com
Tue Sep 10 13:58:45 UTC 2013


Hi all,

I have a static IP and  I uninstalled Network-Manager.

I had the problem same and I added to my configuration this.

*NM_CONTROLLED=no*
*DHCPPROTO=none*
*PEERDNS=no*

and the complete configuration this is so.

DEVICE=eth0
BOOTPROTO=static
HWADDR="54:04:A6:C0:9D:7C"
NM_CONTROLLED=no
ONBOOT=yes
DHCPPROTO=none
TYPE=Ethernet
PEERDNS=no
IPADDR=192.168.xx.xxx
NETMASK=255.255.255.0
GATEWAY=192.168.xx.xxx

this fix my problem.



2013/9/10 John Doe <jdmls at yahoo.com>

> From: Günther J. Niederwimmer <gjn at gjn.priv.at>
>
> > Am Montag, 9. September 2013, 06:32:48 schrieb John Doe:
> >>  From: Günther J. Niederwimmer <gjn at gjn.priv.at>
> >>> I have a big Problem with centos 6.4 KVM client. After a new start
> >>> lost always my resolf.conf and this file is empty, have any a hint why?
> >>
> >>  Do you have PEERDNS in your ifcfg files?
> >
> > NO
>
> So try to add:
>   PEERDNS="no"
>
> JD
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list