How to find current NIC card

Issues related to configuring your network
Post Reply
kissellj
Posts: 96
Joined: 2015/01/05 19:39:24

How to find current NIC card

Post by kissellj » 2017/11/08 15:25:14

Greetings - I recently had to reinstall and of course forgot to save my downloads where I had drivers for my nic card. I tried to run
yum install ethtool but got the response "No work to be done". I remember getting the driver from Elrepo but don't remember the driver name or the model of my nic on eth0. Any help would be appreciated. I'm sure I'm missing a package or something. How do you list the basic packages on your machine?

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

Re: How to find current NIC card

Post by TrevorH » 2017/11/08 15:47:03

It's likely that ethtool is already installed - rpm -q ethtool

Use lspci -nn | grep -i net to see your network card's PCI vendor and device ids. Use those to look up in ELRepo to fiind out which kmod from them you need. If you have no network access then you'll need to download that elsewhere and sneakernet it to the machine and install it from e.g. usb stick.
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

kissellj
Posts: 96
Joined: 2015/01/05 19:39:24

Re: How to find current NIC card

Post by kissellj » 2017/11/09 04:00:28

<name>l@localhost ~]$ rpm -q ethtool
ethtool-4.8-1.el7.x86_64

Does this means it is installed? Sounds like I just need to learn the command then and what it does.

[<name>@localhost ~]$ lspci -nn | grep -i net
00:1a.7 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)

How does the above line work with the ELRepo? Do I need to look for Intel 1219-V?

Thank you.

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Re: How to find current NIC card

Post by NedSlider » 2017/11/09 20:39:56

Your nic is supported by the Intel e1000e driver, and should be supported by the CentOS kernel driver by default so no need to install any additional drivers on CentOS 7 for this device.

kissellj
Posts: 96
Joined: 2015/01/05 19:39:24

Re: How to find current NIC card

Post by kissellj » 2017/11/09 22:13:11

Wow nice, thank you! I knew the Internet was working. There was a config file in a directory where you could change like boot on or boot off. Do you know the directory and the name of that file? I think I posted 1 year ago like simple networking. Does it put it to eth0 or do I need to change this in the config?

Also for future reference I found on
https://pkgs.org/download/intel-e1000e
intel-e1000e-3.3.5.3-1.19.x86_64.rpm
Is this the correct rpm file to use?

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

Re: How to find current NIC card

Post by TrevorH » 2017/11/09 23:02:51

No. The e1000e module is already part of the CentOS 7 kernel. You do not need another one.

Read the FAQ, point #2. http://wiki.centos.org/FAQ then the link to CentOS 7.
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

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How to find current NIC card

Post by jlehtone » 2017/11/10 08:03:10

kissellj wrote:There was a config file in a directory where you could change like boot on or boot off.
CentOS 7 default is to use NetworkManager and NetworkManager philosophy is to not touch files manually.

There are tools like nmcli, nmtui, and desktop GUI applet to configure NetworkManager.

kissellj
Posts: 96
Joined: 2015/01/05 19:39:24

Re: How to find current NIC card

Post by kissellj » 2017/11/10 23:28:28

Thank you. NIC is up and running. I found the check box in (GNOME) Wire Connected => Wired Settings => Wired => Identity Check box "Connect Automatically"
It was good to know the I219-V is built in. Didn't know that one.
You are terrific, thanks for the support. On to tackle my WiFi. I may have more question. :)

kissellj
Posts: 96
Joined: 2015/01/05 19:39:24

Re: How to find current NIC card

Post by kissellj » 2017/11/12 04:08:35

The process below seem to work till I logout. Is there a file where I can turn this on and logoff without it disconnecting?
I found the check box in (GNOME) Wire Connected => Wired Settings => Wired => Identity Check box "Connect Automatically"

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

Re: How to find current NIC card

Post by TrevorH » 2017/11/12 10:13:40

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

Post Reply