One of the brain-dead, insane pieces of software that I need to install (it's a proprietary, "binary blob") wants the name "eth0" for the interface, and ifcfg-eth0, ifup-eth0, etc. in /etc/sysconfig/network-scripts. First, my vitals ...
Code: Select all
[root]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root]# uname -a
Linux mail.site.tld 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
[root]# cat 70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="08:00:27:bb:c3", ATTR{type}=="1", KERNEL=="eth", NAME="eth0"
[root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
GATEWAY=192.168.1.254
PEERDNS=no
IPV6INIT=no
BROWSER_ONLY=no
HWADDR=08:00:27:BB:C3:CE
DNS2=8.8.8.8
PROXY_METHOD=none
DNS1=127.0.0.1
IPV6_ADDR_GEN_MODE=stable-privacy
NAME="eth0"
BOOTPROTO=none
IPV6_FAILURE_FATAL=no
TYPE=Ethernet
PREFIX=24
AUTOCONNECT_PRIORITY=-999
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPADDR=192.168.1.230
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
ONBOOT=yes
DNS3=8.8.4.4
Code: Select all
[root]# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.230 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::a00:27ff:febb:c3ce prefixlen 64 scopeid 0x20<link>
inet6 2602:301:7780:6f70:a00:27ff:febb:c3ce prefixlen 64 scopeid 0x0<global>
ether 08:00:27:bb:c3:ce txqueuelen 1000 (Ethernet) ... (snip)
By the way, I've disabled IPV6 and selinux as well. (Also required by the brain dead software.) I'm about to blow up this install and just redo with the regular DVD, minimal server option. That has worked for me on other installs. If you see anything wrong in those files, point it out to me and thanks a million.