TN40XX draivera instalēšana tīkla kartei, kuras pamatā ir Tehuti Networks TN4010 mikroshēma, Linux OS

In the future, using the website cloudhosting.lv, you agree to the rules of using Cookies. Read more. I agree

TN40XX draivera instalēšana tīkla kartei, kuras pamatā ir Tehuti Networks TN4010 mikroshēma, Linux OS

Network cards based on the TN4010 chip are becoming more widespread. They are found in the following products:

  • D-Link DXE-810S;
  • Edimax EN-9320SFP+;
  • StarTech PEX10000SFP;
  • Synology E10G15-F1;
  • D-Link DXE-810T;
  • Edimax EN-9320TX-E;
  • EXSYS EX-6061-2;
  • Intellinet 507950;
  • StarTech ST10GSPEXNB.
  • If you become the owner of this card, but after inserting it into the server, you do not observe the NIC, then the OS does not have the driver necessary for its operation. For MS Windows, the manufacturer provides drivers in a compiled format, and for Linux only in the form of source codes.

    At first glance, it might seem that getting this card to work in Linux would be problematic. In reality, everything is done elementarily using DKMS - a support system for dynamic kernel modules.

    Let's take a look at how to build and install a driver for TN4010 in 1 minute. Further commands ran on Ubuntu 18.04.

    Installing DKMS

    sudo apt-get update
    sudo apt install dkms

    Obtaining, building and installing the driver

    # get the sources, check the latest release on github among the available
    # branches, currently using release / tn40xx-v003
    #
    # https://github.com/acooks/tn40xx-driver
    # 
    sudo git clone -b release/tn40xx-003 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-003
    # add the module
    sudo dkms add -m tn40xx -v 003
    # compile the module
    sudo dkms install -m tn40xx -v 003

    Checking module loading

    sudo modprobe tn40xx
    # check that the module is loaded
    sudo lsmod | grep tn40xx

    After completing this action, you should have a new network card. In our case, it was named enp2s0. Card has been tested to work with HP DAC cable and HP6600-24x switch.