Displaying 20 results from an estimated 3000 matches similar to: "resolv.conf rewritten every reboot. How to figure out who and why?"
2015 Mar 03
2
dhclient.conf
Hi all :-)
on centos 6 I need keep the hostname from a dhcp server:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:50:56:27:0E:C8
TYPE=Ethernet
UUID=20924b21-e92a-4944-a054-06d1967155c1
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
PEERDNS=yes
with this config, centos keep only ip from dhcp server (not gw, not dns)
where is dhclient.conf? I need to create it? If yes,
2013 Jun 06
1
Fwd: WpaSupplicant how to
Hi,
I was recently going through the how to located here:
http://wiki.centos.org/HowTos/Laptops/WpaSupplicant
This how-to shows the steps to follow to get a wifi interface working
without using NetworkManager and subsequently how to have wireless working
withouth having a user login.
Anyways, when going through this I was having issues because everything
seemed to work but I was never
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon,
every second IP-address is unwanted. We restarted? eno4:
nmcli con down eno4; nmcli con up eno4
and the second address vanishes. Then after a few ours, the second ip
address reappears.
This is the config-file of eno2:
# cat ifcfg-eno2
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
2019 Apr 15
2
supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
Hi,
I am facing the following bug while runnign guestfish on Ubuntu Bionic
onward,
where the network cannot be configured :
https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236
The actual problem is the combination of (a) supermin and the fact that it
does chroot
and (b) a dhclient hook present in Bionic
(/etc/dhcp/dhclient-eneter-hooks.d/resolved)
that overwrites the make_resolv_conf
2018 Jun 21
2
NetworkManager updating resolv.cfg
Hi,
I am facing issue stoping NetworkManager to update resolv.cfg, I am using below configuration for eth0 interface:
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eth0
UUID=93b90a46-dab5-4a67-8fd0-fefe8874a8b9
DEVICE=eth0
ONBOOT=no
PEERDNS=no
PEERROUTES=yes
2010 May 20
5
Resolv.conf being overwritten
I am trying to add 127.0.0.1 to my resolv.conf. I added it through the
system-config-network but if I reboot, its gone. I do not have the caching
nameserver package installed. My ISP's nameservers are there. It must have
something to do with DHCP.
Also, in the network config GUI, should I select the IPv6 option for either
or both network cards?
TIA
2007 Sep 02
1
Virtual Box: br0 not resolving: No DHCPOFFERS
Dear Centos-Virt:
Help!
Guest=XP Pro, SP2
Host=CentOS5; # uname -r; 2.6.18-8.1.8.el5
VirtualBox-1.4.0_21864_rhel5-1.i586
http://www.virtualbox.org/download/1.5.0/VirtualBox-1.5.0_24069_rhel5-1.i586.rpm.run
I have two nic: eth0 is the internal network; eth1 connects to a DSL modem.
I also have a fully functioning DHCP server on eth0 (works perfectly
with Parallels for Linux).
The directions
2014 May 15
4
Set static IP
Hello,
I want my CentOS 6.5 computer to have a static IP. Currently I get the
IP I want because I have my router assign it on the basis of mac address.
I placed the following file as:
/etc/sysconfig/networking-scripts/eth0
DEVICE="eth0"
BOOTPROTO=static
HWADDR=00:1F:D0:9E:AE:67
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.99
2009 Dec 18
2
google gears on 64 bit centos 5.4?
On Thu, Dec 17, 2009 at 9:15 AM, James Hogarth <james.hogarth at gmail.com> wrote:
> I have google gears installed on our 64bit firefoxes on firefox 3.5.5 in
> centos 5.4 with flash 10 - all from rpm ;)
>
> Works very nicely......
Sorry, I think I am missing something. What is the rpm/package called?
So is it i386 installed on x8664, or what? Google's website still
claims it
2019 Mar 13
4
replication fails
Am 13.03.19 um 11:22 schrieb L.P.H. van Belle via samba:
>
> Hi Stefan,
>
> Debian 8 ? 9?
> DC's samba version ?
Deb 9.8, Samba-4.8.9
> Can you post your smb.conf and resolv.conf
>
> If you check with (per server what is the outcome. )
> samba-tool dbcheck
0 errors
> samba-tool dbcheck --cross-nc
Checked 3754 objects (3174 errors)
on the DC1.
where
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon,
> And can you diff the config of eno1 and eno4.
# pwd
/etc/sysconfig/network-scripts
# diff -u ifcfg-eno1 ifcfg-eno4
--- ifcfg-eno1??? 2020-09-21 17:23:25.576672703 +0200
+++ ifcfg-eno4??? 2020-09-22 07:18:43.160532532 +0200
@@ -3,15 +3,20 @@
?BROWSER_ONLY=no
?BOOTPROTO=none
?DEFROUTE=no
-IPV4_FAILURE_FATAL=yes
-IPV6INIT=no
-IPV6_AUTOCONF=no
+IPV4_FAILURE_FATAL=no
2007 Nov 10
2
Virtual Box Host Networking problems
Dear Centos-Virt:
This is actually a second request for help on the
same issue. I finally got to try what several
months ago was replayed to me and no joy was to
be had. I am afraid the original thread got stale
and also had extra, unnecessary data in it.
Guest=XP Pro, SP2
Host=CentOS5; # uname -r; 2.6.18-8.1.15.el5
VirtualBox-1.5.0_24069_rhel5-2.i586.rpm
2015 Aug 27
2
centos 6 - changing resolv.conf by hand gets overwritten by rebooting
given machine with C6 x86_64 (seen on C 6.6 but also before and probably
still present on C6.7) only 1 interface, there is dhcp on this network
(for kickstarting) but the machines have static ip's, and NO
networkmanager installed
contents of resolv.conf
search some.domain.here
nameserver x.x.x.x #dns1
nameserver y.y.y.y #dns2
change resolv.conf to:
search some.newdomain.here
nameserver
2019 Mar 13
2
replication fails
Am 13.03.19 um 11:55 schrieb L.P.H. van Belle via samba:
> Hai,
>
> Ok, so the reboot changed your resolv.conf
> check the timestamp of /etc/resolv.confs
> Write this down.
>
>> So I assume it should point to the own IPv4-IP of DC1 itself,
>> which is .205
> Yes correct.
> After that reboot the server.
> Check the timestamp again and/or did it change?
2008 Feb 09
2
resolv.conf question
Hello,
I have a centos 4.6 system acting as a router for my local network. I
obtain my eth0 IP address automatically via DHCP from my ISP, sc.rr.com. If
I add 127.0.0.1 to resolv.conf, it won't save it. I tried adding this to my
dhclient.conf
lease {
option domain-name-servers 127.0.0.1;
}
The above is the only entry in the file.
Don't know it caused it but my system locked up 3
2010 Aug 13
2
IP aliases from a QEMU/KVM guest
Hello,
I'm trying to set up IP aliases within a QEMU/KVM guest on CentOS 5.5
x86_64, going through a bridged virtualized interface.
The virtualized interface in the guest is configured as follow:
# ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
PEERDNS=yes
GATEWAY=IP.OF.HOST.GATEWAY
HWADDR=11:11:11:11:11:11
IPADDR=IP.OF.GUEST.ETH1
NETMASK=255.255.255.255
ONBOOT=yes
ARP=yes
USERCTL=no
IPV6INIT=no
#
2019 Oct 03
7
CentOS 8 network-scripts
I have need to use the old network-scripts and not NetworkManager.
I did yum install network-scripts, I have ifcfg-eth0 set for ONBOOT=yes
but it is not starting on boot.
What have I missed ?
Jerry
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a
problem that may warrant an additional Puppet metaparameter. I''m
advocating the addition of a metaparameter called "preaction" (or
something like that), which will perform some arbitrary action before
the resource is modified. There may be a way to do this within
Puppet already (with some
2014 Jan 15
4
default gw route has gone?
Weird behaviour.
A couple of days ago I installed another DSL router.
During the process I have somehow caused the default gw route to
disappear - on system start up the interface comes up fine, I can see
and connect to the local subnet but not to the internet.
[rkampen at timsws network-scripts]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
2018 Nov 19
3
NetworkManager and /etc/resolv.conf
> On 11/17/18 8:31 AM, Alice Wonder wrote:
>> On 11/17/2018 07:01 AM, Alice Wonder wrote:
>>> On 11/17/2018 06:43 AM, Alice Wonder wrote:
>>>> CentOS 7.5 image running on linode.
>>>>
>>>> unbound running on localhost.
>>>>
>>>> Have to use a cron job once a minute to keep /etc/resolv.conf using
>>>> the