Hi all. Faced a problem. For knowledgeable people a trifle, but I can not do anything for two days. I am very weak in Linux. I'm using PVE 7.3. The problem is the following - I installed an SFP + network card https://www.lr-link.com/products/lrec6860af-sfp_.html. But there are no drivers for it in the kernel. I found the driver on github https://github.com/acooks/tn40xx-driver and installation instructions
# git clone -b release/tn40xx-004 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-004
# dkms add -m tn40xx -v 004
# dkms install -m tn40xx -v 004
And after this command I get the following:
error! Your kernel headers for kernel 5.15.74-1-pve cannot be found.
Please install the linux-headers-5.15.74-1-pve package,
or use the --kernelsourcedir option to tell DKMS where it's located
No matter what I do, nothing works.
Please help
# git clone -b release/tn40xx-004 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-004
# dkms add -m tn40xx -v 004
# dkms install -m tn40xx -v 004
And after this command I get the following:
error! Your kernel headers for kernel 5.15.74-1-pve cannot be found.
Please install the linux-headers-5.15.74-1-pve package,
or use the --kernelsourcedir option to tell DKMS where it's located
No matter what I do, nothing works.
Please help