CentOS 7 and HP G60 Network Cards

Issues related to hardware problems
Datsys
Posts: 11
Joined: 2017/02/18 15:38:41

CentOS 7 and HP G60 Network Cards

Post by Datsys » 2017/02/18 15:59:35

Greetings All,
New kid on the block so please bear with me.
So it's well past time for me to become more comfortable with Linux and since I plan to start using an online server service I figured I should get some learning done on an old HP G60 that I have. I loaded the server version from the ISO but it didn't install any of the network cards (neither wired or wireless). The cards work fine when I load another OS so I know they are good, but without networking on CentOS the aim of my plan is defeated. Is there a easy way I can fix this and get cracking on my project?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 and HP G60 Network Cards

Post by TrevorH » 2017/02/18 17:04:17

Post the output from lspci -nn | grep -i net so that we can see the PCI device ids and vendor ids for the devices in question.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

anglican
Posts: 38
Joined: 2015/06/11 08:30:33

Re: CentOS 7 and HP G60 Network Cards

Post by anglican » 2017/02/22 16:09:42

I'm not sure this qualifies as "easy", but it may be the only way. Basically follow these instructions:

http://elrepo.org/tiki/wl-kmod

H

Datsys
Posts: 11
Joined: 2017/02/18 15:38:41

Re: CentOS 7 and HP G60 Network Cards

Post by Datsys » 2017/09/10 17:51:23

Sorry for the long delay in getting back to this but the machine screen got busted and I have just found a cheap enough replacement. I only hope nothing else goes wrong before I get this done.

I want to remind you all that I am still fairly new to this although I have been doing a little reading. Attached is the result of the command suggested. Also keep in mind that this machine has absolutely no network card installed for some strange reason so any fix would need to include instructions for installing off line.

Code: Select all

00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP77 Ethernet [10de:0760] (rev a2)
07:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 and HP G60 Network Cards

Post by TrevorH » 2017/09/10 20:58:22

For the wired network card you will need to download and install kmod-forcedeth from the ELREpo repository.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Datsys
Posts: 11
Joined: 2017/02/18 15:38:41

Re: CentOS 7 and HP G60 Network Cards

Post by Datsys » 2017/09/10 22:31:01

Being new to all this please forgive this question from ignorance - any instructions on how to do this offline?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 and HP G60 Network Cards

Post by TrevorH » 2017/09/10 22:34:18

You'll have to google for ELRepo, go to their web site and locate the kmod-forcedeth package for el7, download it, put it on a USB stick or similar, transfer it to the other machine, mount it, then yum --disablerepo=\* install it from there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Datsys
Posts: 11
Joined: 2017/02/18 15:38:41

Re: CentOS 7 and HP G60 Network Cards

Post by Datsys » 2017/09/10 22:49:45

I believe downloading the file to a USB & mount the USB on the machine is not hard for me to figure out and do, but what I would really appreciate are the commands to get the install done. I'm not as good at this as you guys are so pardon my ignorance.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 and HP G60 Network Cards

Post by TrevorH » 2017/09/10 23:03:17

Download it onto your USB Stick and then on the CentOS machine use something like mount /dev/sdb1 /mnt (device name could be different, look at the output from dmesg to get the real one. Now run yum --disablerepo=\* install /mnt/kmod-forcedeth-whatever.rpm then you can umount /mnt and reboot and you should now see an interface listed in the output of ip link show. If you have a gui then you can use the network applet to configure it. If you have a text only install then you can run nmtui or nmcli to configure it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Datsys
Posts: 11
Joined: 2017/02/18 15:38:41

Re: CentOS 7 and HP G60 Network Cards

Post by Datsys » 2017/09/11 00:09:58

Thanks a million, I now have a working network card and internet access. I just gotta get good at this like you guys are.

Just as a by the way thought. Now that I have internet access, would it be a practical idea to add the entire repo? Since the machine has some age on it, I am wondering if there are other things that would not be installed using the regular yum update.

Post Reply