Not reading network devices on Centos 7.6.1810

General support questions
joanazpeitia
Posts: 10
Joined: 2019/01/22 12:57:37

Not reading network devices on Centos 7.6.1810

Post by joanazpeitia » 2019/01/22 15:18:56

Hello.

I have a work network that is set up using several work stations connected through ethernet. Each work station connection is manually configured using an associated IP address and connected under the same gateway and DNS server. I swapped one of this workstations from windows 7 to linux 7.6.1810. On this workstation ethernet connection does not read the other network devices. Therefore, ethernet is running fine for internet connection within the given data (ip, gateway and dns server) but is not reading my other network devices. What am I missing on my network set up? How can I add this ip to the network where the other work stations are?
Any help would be much appreciatted, many thanks in advance.

Joan

mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: Not reading network devices on Centos 7.6.1810

Post by mashiro2004 » 2019/01/23 11:23:21

Hi, if you launch ifconfig do you see eth devices??
Post result of ifconfig, result of ls -l ls -l /etc/sysconfig/network-scripts/ and lspci | grep Eth
Bye

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Not reading network devices on Centos 7.6.1810

Post by tunk » 2019/01/23 12:40:01

What do you mean by "does not read the other network devices"?

dunch
Posts: 66
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Not reading network devices on Centos 7.6.1810

Post by dunch » 2019/01/23 12:48:08

Remember that in CentOS 7, systemd-udev will have renamed your NICs to something unmemorable unless you boot with net.ifnames=0. Also, ifconfig is part of the net-tools package which isn't installed by default.
In addition to mashiro2004's suggestions, dmesg | grep eth should catch udev renaming your devices and give you an idea of what the kernel is doing with your NICs.

joanazpeitia
Posts: 10
Joined: 2019/01/22 12:57:37

Re: Not reading network devices on Centos 7.6.1810

Post by joanazpeitia » 2019/01/23 15:03:36

Hi guys,

Many thanks for your help.

Following Mashiro's message;
If I run ifconfig I see the eth device.
This is what I get:
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.28 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1260:4bff:fe5c:7033 prefixlen 64 scopeid 0x20<link>
ether 10:60:4b:5c:70:33 txqueuelen 1000 (Ethernet)
RX packets 38929 bytes 22576097 (21.5 MiB)
RX errors 0 dropped 1663 overruns 0 frame 0
TX packets 13035 bytes 1623643 (1.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xef300000-ef320000

If I run ls -l ls -l /etc/sysconfig/network-scripts/ I get:
ls: can't acces to ls: folder or directory does not exist
/etc/sysconfig/network-scripts/:
total 236
-rw-------. 1 root root 389 ene 22 16:08 ifcfg-eno1
-rw-r--r--. 1 root root 377 ene 22 12:18 ifcfg-eno1.bak
-rw-r--r--. 1 root root 254 ago 24 12:23 ifcfg-lo
lrwxrwxrwx. 1 root root 24 ene 18 19:19 ifdown -> ../../../usr/sbin/ifdown
-rwxr-xr-x. 1 root root 654 ago 24 12:23 ifdown-bnep
-rwxr-xr-x. 1 root root 6532 ago 24 12:23 ifdown-eth
-rwxr-xr-x. 1 root root 781 ago 24 12:23 ifdown-ippp
-rwxr-xr-x. 1 root root 4540 ago 24 12:23 ifdown-ipv6
lrwxrwxrwx. 1 root root 11 ene 18 19:19 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x. 1 root root 2130 ago 24 12:23 ifdown-post
-rwxr-xr-x. 1 root root 1068 ago 24 12:23 ifdown-ppp
-rwxr-xr-x. 1 root root 870 ago 24 12:23 ifdown-routes
-rwxr-xr-x. 1 root root 1456 ago 24 12:23 ifdown-sit
-rwxr-xr-x. 1 root root 1621 mar 17 2017 ifdown-Team
-rwxr-xr-x. 1 root root 1556 mar 17 2017 ifdown-TeamPort
-rwxr-xr-x. 1 root root 1462 ago 24 12:23 ifdown-tunnel
lrwxrwxrwx. 1 root root 22 ene 18 19:19 ifup -> ../../../usr/sbin/ifup
-rwxr-xr-x. 1 root root 12415 ago 24 12:23 ifup-aliases
-rwxr-xr-x. 1 root root 910 ago 24 12:23 ifup-bnep
-rwxr-xr-x. 1 root root 13475 ago 24 12:23 ifup-eth
-rwxr-xr-x. 1 root root 12075 ago 24 12:23 ifup-ippp
-rwxr-xr-x. 1 root root 11893 ago 24 12:23 ifup-ipv6
lrwxrwxrwx. 1 root root 9 ene 18 19:19 ifup-isdn -> ifup-ippp
-rwxr-xr-x. 1 root root 650 ago 24 12:23 ifup-plip
-rwxr-xr-x. 1 root root 1064 ago 24 12:23 ifup-plusb
-rwxr-xr-x. 1 root root 4997 ago 24 12:23 ifup-post
-rwxr-xr-x. 1 root root 4154 ago 24 12:23 ifup-ppp
-rwxr-xr-x. 1 root root 2001 ago 24 12:23 ifup-routes
-rwxr-xr-x. 1 root root 3303 ago 24 12:23 ifup-sit
-rwxr-xr-x. 1 root root 1755 mar 17 2017 ifup-Team
-rwxr-xr-x. 1 root root 1876 mar 17 2017 ifup-TeamPort
-rwxr-xr-x. 1 root root 2711 ago 24 12:23 ifup-tunnel
-rwxr-xr-x. 1 root root 1836 ago 24 12:23 ifup-wireless
-rwxr-xr-x. 1 root root 5419 ago 24 12:23 init.ipv6-global
-rw-r--r--. 1 root root 20671 ago 24 12:23 network-functions
-rw-r--r--. 1 root root 31027 ago 24 12:23 network-functions-ipv6

An if I run lspci | grep Eth I get:
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 05)

Hi Tunk,
By does not read other network devices I mean that I have a network set up and that I am not able to see it on Centos7 GUI. I can ping other devices on this network from the terminal but I can't access other devices that are in this network and use files are stored on these devices through the GUI.

Hi Dunch,
I ran dmesg | grep eth and is giving me the following;
[ 1.506866] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 10:60:4b:5c:70:33
[ 1.506869] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.506900] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: 0100FF-0FF
I see the kernel is naming the connection eth0 which is the name I'm using on my network set up. I'm unsure if there is more data in this area that I got wrongly set up.

Also I get an error when I get to network/network services/ saying that deamon Zeroconf (mdnsd) is not being executed.
Many thanks indeed guys.

Cheers

dunch
Posts: 66
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Not reading network devices on Centos 7.6.1810

Post by dunch » 2019/01/23 15:22:25

Your device was originally called eth0, it has been renamed eno1 by systemd-udev.

joanazpeitia
Posts: 10
Joined: 2019/01/22 12:57:37

Re: Not reading network devices on Centos 7.6.1810

Post by joanazpeitia » 2019/01/23 15:38:50

Thanks Dunch,

Ok so if I understand it right, the kernel is reading the connection as eth0 but as systemd-udev rename it to eno1 network connection is not working.
Therefore, I should just change on the network connections the name of the connection from eno1 to eth0 and that would be all?

Many thanks,

Joan

dunch
Posts: 66
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Not reading network devices on Centos 7.6.1810

Post by dunch » 2019/01/23 15:42:06

Your NIC is already named eno1. Just remember the name when running ifconfig or editing the files in /etc/sysconfig/network-scripts/

joanazpeitia
Posts: 10
Joined: 2019/01/22 12:57:37

Re: Not reading network devices on Centos 7.6.1810

Post by joanazpeitia » 2019/01/23 16:00:42

Ok, thanks Dunch. :)

What I still can't figure out is how to see my other network devices on my Centos GUI.
I can ping them through terminal but I can't view them and go through their files on dolphin under network settings. I attach a screen capture to make it easier to understand. I'd like to be able to have under network all the devices that I can ping from the terminal and that are on my work network under the same gateway and DNS.

Many thanks!
Attachments
instantánea3.png
instantánea3.png (117.22 KiB) Viewed 1960 times

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Not reading network devices on Centos 7.6.1810

Post by tunk » 2019/01/23 16:20:56

What kind of devices?

Post Reply