Unclaimed NIC, Can't install driver due to header files

distractedcanuck

New Member
Mar 17, 2024
1
0
1
Good Evening All,

I am trying to get the onboard NIC on my system working. I believe I've narrowed down the issue to needing to update the driver. But when I went to manually install the driver I got header file errors. Any help in fixing this issue would be greatly appreciated.

Bash:
lshw -c net

*-network UNCLAIMED
       description: Ethernet controller
       product: Ethernet Connection (2) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       version: 31
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi cap_list
       configuration: latency=0
       resources: memory:dc000000-dc01ffff
Bash:
lshw -c net

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
        DeviceName:  Onboard LAN
        Subsystem: Lenovo Ethernet Connection (2) I219-LM
        Kernel modules: e1000e

Bash:
dmesg | grep -e eth -e e1000
[    0.224968] ACPI Error: For GPE 0x45, found both _L45 and _E45 methods (20230331/evgpeinit-398)
[    7.122290] e1000e: Intel(R) PRO/1000 Network Driver
[    7.122292] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    7.123142] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

The interface does not appear with the ip a command. I tired following the guide at https://askubuntu.com/questions/650953/intel-e1000e-ethernet-not-working but got the following errors:

Bash:
make install
common.mk:85: *** Kernel header files not in any of the expected locations.
common.mk:86: *** Install the appropriate kernel development package, e.g.
common.mk:87: *** kernel-devel, for building kernel modules and try again.  Stop.

I tried following the instructions in this https://forum.proxmox.com/threads/e1000-driver-hang.58284/#post-279338 thread, but it requires me to have a device name which I do not.

Bash:
lshw -class network -short
H/W path       Device     Class          Description
====================================================
/0/100/1f.6               network        Ethernet Connection (2) I219-LM

Thank you in advance for any help. The system has a 4-port pci card that is working. But I'd like to get this one running too.