Page 1 of 1

[Solved] Onboard Network Adapter NVIDIA Not Detected

Posted: 2018/01/13 16:20:46
by hjkotze@gmail.com
Hi,

I'm new to CentOS, so I have an old mac book pro 5,3 and I clean installed CentOS 7 on it but my network interface is not detected. In the installation when I tried to configure the network I had no ethernet interfaces and no option to add one. I completed the install and now I'm trying to get my network interface up.

Because I don't have an internet connection I need to download the *rpm files and copy them over to the CentOS machine.
I managed to run the rpm -uVh command successfully but I cannot run any yum commands.

The output from lspci -nn | grep -i net is:

00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP79 Ethernet [10de:0ab0] (rev b1)
04:00.0 Network controller [0280]: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)

I searched the net and found the elrepo packages.
I also needed to install a kernel rpm before I can run the elrepo packages.

When I run sudo yum install kernel or any yum command I get the bellow output:

Loaded plugins: fastestmirror, langpacks
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

I've tried everything but I can not run yum because I don't have a network interface.

When I run ip link I get the below info:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT qlen 1000
link/ether 52:54:00:44:45:46 brd ff:ff:ff:ff:ff:ff
3: virbr0-nic: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 1000
link/ether 52:54:00:44:45:46 brd ff:ff:ff:ff:ff:ff

I'm no LINUX admin so if you provide commands please indicate the directory and file names, if I need to amend them.

I can't believe you cannot run yum commands if you not connected to the internet.

All help appreciated.

Thanks in advance.

Re: Onboard Network Adapter NVIDIA Not Detected

Posted: 2018/01/13 16:50:37
by TrevorH
Well you will have a kernel package installed now or the system wouldn't boot.

Download the latest kmod-forcedeth package from ELRepo and put it on a USB stick or otherwise transfer it to your system. Then run yum --disablerepo=\* install /path/to/kmod-forcedeth*.rpm having modified /path/to/ to point to the directory containing the rpm file that you downloaded from ELRepo.

If you installed CentOS 7.4 and uname -r says 3.10.0-693something then you need to use the latest kmod-forcedeth. If you installed an older CentOS version then you may need to download older kmod-forcedeth packages until you find the one that works with your kernel (it'll refuse to install if it's the wrong one so if it installs, it's the right one).

Re: Onboard Network Adapter NVIDIA Not Detected

Posted: 2018/01/14 09:28:42
by hjkotze@gmail.com
Thank you Trevor for your reply.

I followed your instructions and now after reboot the wired network is visible and I'm on the net.

:D :D :D