Page 1 of 2

No Ethernet connection on CentOS 6.9

Posted: 2017/05/31 22:58:52
by victoraalvarez
I am completely stumped. I have tried every solution on the forums & other websites to no avail. When loading up the system, I am given the no connection icon. When right clicking, both wireless & networking are available. When going into the 'Edit Connection' menu, there are no networks present.

Now to some of the solutions I have tried.

ifup eth0: returns no device
ifconfig -a: only shows lo, pan0, and wlan0. No eth0

I restarted the system multiple times, made sure the cable works (double booted into Windows & works there), restarted the '/etc/udev/rules.d/70-persistent-net.rules' file, and made sure MAC address is correct on the ifcfg-eth0 file.

Thanks for any help! :D if any extra information

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/05/31 23:06:48
by toracat
What is the output from :

lspci -nn | grep -i net

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/06/01 00:01:26
by victoraalvarez
Thank you for the reply. Here is the attachment.

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/06/01 00:36:05
by toracat
Your ethernet device [1969:10a1] is supported by the alx driver. It is in CentOS 7 but not in CentOS 6. Try installing ELRepo's kmod-alx package for el6.

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/06/01 00:49:06
by victoraalvarez
Will i need to transfer the file into CentOS 6 via flash drive, etc?

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/06/01 01:25:59
by victoraalvarez
That resolved the issue... I cannot thank you enough, you're a hero. :D

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/06/01 23:10:17
by toracat
Glad to hear that the ELRepo solution has worked out.

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/08/09 16:11:15
by Back-N-Black
I am having the same issue but have a slightly different network card.

Code: Select all

lspci -nn |grep -i net:
3d:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [1969:e0b1] (rev 10)
3e:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
My current concern is with the Ethernet issue, I have tried the kmod-alx package that toracat suggested but eth0 still does not show up in ifconfig.

My laptop is: MSI GS63VR 7RF Stealth Pro
Installed latest CentOS-6.9-x86_64-bin-DVD1.iso from USB to internal ssd
installed suggested kmod-alx from elrepo
disabled NetworkManager
Created /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0 files from scratch as none were provided
rebooted multiple times
ifconfig -a still shows only lo and pan0

Is it possible kmod-alx-0.0-10.el6.elrepo.x86_64.rpm does not support my ethernet controller?

How do you determine which, if any, elrepo pkg supports what?

Thanks in advance

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/08/09 16:15:56
by TrevorH
You didn't use lspci -nn so that output is not much use.

Re: No Ethernet connection on CentOS 6.9

Posted: 2017/08/09 16:45:49
by toracat
Back-N-Black wrote: How do you determine which, if any, elrepo pkg supports what?
As TrevorH pointed out, you need to run lspci -nn and find your device IDs. Then refer to this page:

http://elrepo.org/tiki/DeviceIDs