FJep
Dabbler
- Joined
- Mar 7, 2019
- Messages
- 38
Hi,
I need the Tehuti Networks TN40XX Network Adapter driver for my network card.
I downloaded the package to /root, installed it via
Now after I upgraded the TrueNAS to 12.0-U6.1 the system forgot about the card and I had to reinstall it on the local console.
I am now asking for advise on how to make this change permanent via tunables.
Here is the manifest of the driver
So it seems on installation only the driver is copied to /boot/modules, kldxref is called and the loader.conf is modified.
Now I am not quite sure if it's enough to add the tunable
Thanks in advance
Frank
I need the Tehuti Networks TN40XX Network Adapter driver for my network card.
I downloaded the package to /root, installed it via
pkg add tn40xx_freebsd12_amd64-1.1.txz
and after a reboot it simply worked.Now after I upgraded the TrueNAS to 12.0-U6.1 the system forgot about the card and I had to reinstall it on the local console.
I am now asking for advise on how to make this change permanent via tunables.
Here is the manifest of the driver
Code:
{ "name":"tn40xx_freebsd12_amd64", "origin":"FreeBSD/v1.0/driver", "version":"1.1", "comment":"Tehuti Networks TN4010 Network Driver", "maintainer":"support@tehutinetworks.net", "www":"http://www.tehutinetworks.net", "abi":"FreeBSD:12:amd64", "arch":"freebsd:12:x86:64", "prefix":"/boot/modules", "flatsize":1185456, "licenselogic":"and","licenses":["MIT","BSD3CLAUSE"], "desc":"tn40xx.ko is a device driver for Tehuti Networks TN4010 based NICs", "files":{ "/boot/modules/tn40xx.ko":"1$90dd419aee910eee320db3fa57bac07b99c563f36132d5838a95d6a82f298b0c" }, "scripts":{ "post-install":" kldxref /boot/modules ; grep -v tn40 /boot/loader.conf > /tmp/loader.conf ; echo tn40xx_load=\"YES\" >> /tmp/loader.conf ; mv /tmp/loader.conf /boot/loader.conf", "post-deinstall":" kldxref /boot/modules ; grep -v tn40 /boot/loader.conf > /tmp/loader.conf ; mv /tmp/loader.conf /boot/loader.conf" } }
So it seems on installation only the driver is copied to /boot/modules, kldxref is called and the loader.conf is modified.
Now I am not quite sure if it's enough to add the tunable
tn40xx_load="YES"
for loader.conf or if I also have to make the copy and kldxref call via tunables to make it survive updates.Thanks in advance
Frank