Skip to content


Device eth0 does not seem to be present – RHEL7.2

While trying to get WIFI NIC running on a laptop its eth0 interface disappeared ….. Device eth0 does not seem to be present. This host, while built by KickStart had its NIC labeled as ETH0 which is not the “native” way for RHEL7 so after a while of fruitless efforts I started to look for it under a different name.

To determine location code of all network devices:

#  lspci | grep -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300

To locate these devices

# cd /sys/class/net
# ls -la
total 0
lrwxrwxrwx  1 root root 0 Sep 28 08:23 docker0 -> ../../devices/virtual/net/docker0
lrwxrwxrwx  1 root root 0 Sep 28 08:13 enp0s25 -> ../../devices/pci0000:00/0000:00:19.0/net/enp0s25
lrwxrwxrwx  1 root root 0 Sep 28 08:13 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx  1 root root 0 Sep 28 08:13 virbr0 -> ../../devices/virtual/net/virbr0
lrwxrwxrwx  1 root root 0 Sep 28 08:13 virbr0-nic -> ../../devices/virtual/net/virbr0-nic
lrwxrwxrwx  1 root root 0 Sep 28 08:13 wls1 -> ../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wls1

The last listing indicates that eth0 is now called enp0s25.

# cd /etc/sysconfig/*scripts
# mv ifcfg-eth0 ifcfg-enp0s25
# systemctl restart network

This fixes it and the host is again accessible from the “outside” 🙂

Posted in LINUX.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield



Copyright © 2016 - 2017 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.