Proxmox VE 7.2-1 install does not see NIC

bearhntr

Member
Sep 9, 2022
167
13
23
Atlanta, GA USA
Trying to install this on an HP T620+ Thin Client with an installed 4-port NIC. The installation does not see or make available the on-board NIC (
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) ) -- as I can see it in Debian 11. Even Debian 11 does not activate the NIC without installing the r8168 drivers:

apt-get install build-essential linux-headers-`uname -r` r8168-dkms

Then I can get it to get an IP Address after I adjust the /etc/network/interfaces file to add the new enp2s0 interface.

Have tried installing PROXMOX on here - following the directions and when it tells you to reboot - that adapter no longer works. I want to use the on-board NIC as the management port for PROXMOX, and the 4-port for the VMs (one of which will be pfSense - so need 1 WAN and 1 LAN).
How do I get the plain-Jane Proxmox installer to see and use that NIC?
 
The NIC probably no longer works because Proxmox uses a different kernel than Debian. You need to install the Realtek driver for the Proxmox pve-kernel that you are running, which requires the pve-headers of the same version also (instead of the linux-headers).
 
The NIC probably no longer works because Proxmox uses a different kernel than Debian. You need to install the Realtek driver for the Proxmox pve-kernel that you are running, which requires the pve-headers of the same version also (instead of the linux-headers).
Lee,

Thank You -- I was thinking that - as one of the articles I was reading stated that I could just rebuild them after the installation of a new Kernal - but does not appear to be working using this line from that article (both on the Debian 11 installation of PROXMOX and the pure-PROMOX installation).

apt-get install build-essential linux-headers-`uname -r` r8168-dkms

Any ideas how I get those to install for PROXMOX?
 
Proxmox uses its own kernel and therefore its own header files. That command line is for installing Debian headers. I think that the you need to run apt-get install build-essential pve-headers-`uname -r` r8168-dkms.
I have no experience with building Realtek drivers on Proxmox but uname -r gives you the version of the current running kernel and its header files come from the pve-headers-<pve-kernel-version> package.
I hope this helps you to build the Realtek drivers but it depends on whether their driver source code supports this kernel version (and Proxmox flavor). The alternative is to ask their support or to buy a cheap known-to-work-out-of-the-box NIC.
 
Proxmox uses its own kernel and therefore its own header files. That command line is for installing Debian headers. I think that the you need to run apt-get install build-essential pve-headers-`uname -r` r8168-dkms.
I have no experience with building Realtek drivers on Proxmox but uname -r gives you the version of the current running kernel and its header files come from the pve-headers-<pve-kernel-version> package.
I hope this helps you to build the Realtek drivers but it depends on whether their driver source code supports this kernel version (and Proxmox flavor). The alternative is to ask their support or to buy a cheap known-to-work-out-of-the-box NIC.
I will give that command a whirl --- as I have been working on this for 3 days....about 9 -12 (I have lost track) installations of DEBIAN 11 on this box...and getting everything recognized (no errors in the 'dmesg' for the Bluetooth, and Radeon video). There is a 4-port NIC installed and not having any issues with it - so it seams. The NIC I am fighting with is the on-board one. I want to use that one as the MGMT Port for PROXMOX and leave the other 4 free.

lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex
Subsystem: Hewlett-Packard Company Family 16h Processor Root Complex
Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400E] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Kabini [Radeon HD 8400E]
Flags: bus master, fast devsel, latency 0, IRQ 40
Memory at f0000000 (64-bit, prefetchable) [size=128M]
Memory at f8000000 (64-bit, prefetchable) [size=8M]
I/O ports at f000
Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
Flags: bus master, fast devsel, latency 0, IRQ 38
Memory at feb64000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
DeviceName: Onboard IGD
Flags: fast devsel

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: fea00000-feafffff [size=1M]
Prefetchable memory behind bridge: 00000000f8900000-00000000f89fffff [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: pcieport

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 27
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: fe900000-fe9fffff [size=1M]
Prefetchable memory behind bridge: 00000000f8800000-00000000f88fffff [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: pcieport

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company FCH USB XHCI Controller
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at feb68000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Latency Tolerance Reporting
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 35
I/O ports at f140
I/O ports at f130
I/O ports at f120
I/O ports at f110
I/O ports at f100
Memory at feb6e000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [60] Power Management version 3
Capabilities: [70] SATA HBA v1.0
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
Capabilities: [d0] PCI Advanced Features
Kernel driver in use: ahci
Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at feb6d000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
Memory at feb6c000 (32-bit, non-prefetchable)
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at feb6b000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
Memory at feb6a000 (32-bit, non-prefetchable)
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
Subsystem: Hewlett-Packard Company FCH SMBus Controller
Flags: 66MHz, medium devsel
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
Subsystem: Hewlett-Packard Company FCH Azalia Controller
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at feb60000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
Subsystem: Hewlett-Packard Company FCH LPC Bridge
Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3
Flags: fast devsel
Capabilities: [f0] Secure device <?>
Kernel driver in use: k10temp
Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4
Flags: fast devsel
Kernel driver in use: fam15h_power
Kernel modules: fam15h_power

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5
Flags: fast devsel

01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331T Adapter
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at f89b0000 (64-bit, prefetchable) [size=64K]
Memory at f89a0000 (64-bit, prefetchable) [size=64K]
Memory at f8990000 (64-bit, prefetchable) [size=64K]
Expansion ROM at feaa0000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [a0] MSI-X: Enable+ Count=17 Masked-
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-ac-16-2d-80-e0-dc
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: tg3
Kernel modules: tg3

01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331T Adapter
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at f8980000 (64-bit, prefetchable) [size=64K]
Memory at f8970000 (64-bit, prefetchable) [size=64K]
Memory at f8960000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fea80000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [a0] MSI-X: Enable- Count=17 Masked-
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-ac-16-2d-80-e0-dd
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: tg3
Kernel modules: tg3

01:00.2 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331T Adapter
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at f8950000 (64-bit, prefetchable) [size=64K]
Memory at f8940000 (64-bit, prefetchable) [size=64K]
Memory at f8930000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fea40000 [disabled] [size=256K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [a0] MSI-X: Enable- Count=17 Masked-
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-ac-16-2d-80-e0-de
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: tg3
Kernel modules: tg3

01:00.3 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331T Adapter
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at f8920000 (64-bit, prefetchable) [size=64K]
Memory at f8910000 (64-bit, prefetchable) [size=64K]
Memory at f8900000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fea00000 [disabled] [size=256K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [a0] MSI-X: Enable+ Count=17 Masked-
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-ac-16-2d-80-e0-df
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Kernel driver in use: tg3
Kernel modules: tg3

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at e000
Memory at fe900000 (64-bit, non-prefetchable) [size=4K]
Memory at f8800000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Kernel driver in use: r8168
Kernel modules: r8168
 
[[ Just completed the -- "apt install proxmox-ve postfix open-iscsi" process before reboot ]]

Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1+deb11u1) ...
Processing triggers for pve-ha-manager (3.4.0) ...
root@proxmox:~# uname -a
Linux proxmox 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux


[[ Reboot completed ]]

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep 12 11:22:26 2022 from 192.168.10.23
root@proxmox:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ac:16:2d:80:e0:dc brd ff:ff:ff:ff:ff:ff
inet 192.168.10.31/24 brd 192.168.10.255 scope global dynamic enp1s0f0
valid_lft 86266sec preferred_lft 86266sec
inet6 fe80::ae16:2dff:fe80:e0dc/64 scope link
valid_lft forever preferred_lft forever
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ac:16:2d:80:e0:dd brd ff:ff:ff:ff:ff:ff
4: enp1s0f2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ac:16:2d:80:e0:de brd ff:ff:ff:ff:ff:ff
5: enp1s0f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ac:16:2d:80:e0:df brd ff:ff:ff:ff:ff:ff
inet 192.168.10.254/24 brd 192.168.10.255 scope global dynamic enp1s0f3
valid_lft 86271sec preferred_lft 86271sec
inet6 fe80::ae16:2dff:fe80:e0df/64 scope link
valid_lft forever preferred_lft forever
root@proxmox:~# uname -a
Linux proxmox 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) x86_64 GNU/Linux
 
Proxmox uses its own kernel and therefore its own header files. That command line is for installing Debian headers. I think that the you need to run apt-get install build-essential pve-headers-`uname -r` r8168-dkms.
I have no experience with building Realtek drivers on Proxmox but uname -r gives you the version of the current running kernel and its header files come from the pve-headers-<pve-kernel-version> package.
I hope this helps you to build the Realtek drivers but it depends on whether their driver source code supports this kernel version (and Proxmox flavor). The alternative is to ask their support or to buy a cheap known-to-work-out-of-the-box NIC.

See previous posts.

Just tried your suggestion:

root@proxmox:~# install build-essential pve-headers-`uname -r` r8168-dkms
install: target 'r8168-dkms' is not a directory
root@proxmox:~#
 
Just tried your suggestion:

root@proxmox:~# install build-essential pve-headers-`uname -r` r8168-dkms
install: target 'r8168-dkms' is not a directory
root@proxmox:~#
I suggested that in place of your apt-get install build-essential linux-headers-`uname -r` r8168-dkms, in order to make it work for Proxmox as it worked for Debian. You probably need to do some steps before that, like downloading the driver from Realtek in order to get the r8168-dkms to which your command referred.
Please don't assume that I (can) tell you exactly what to type to fix all your problems. I just tried to help with how to use the Proxmox header files which are needed for the Proxmox kernel (just as you used the Debian header files for the Debian kernel).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!