(Optional) Installing the Hi1822 NIC Driver

Scenarios

This section describes how to install the Hi1822 NIC driver when the BMS requires the Hi1822 NIC. CentOS 7.6 is used as an example.

Prerequisites

  • You have logged in to the VM.
  • The Hi1822 NIC driver package and management software have been uploaded to the VM.

    To obtain the Hi1822 NIC driver package and management software, perform the following operations:

    1. Download the .zip package of the driver based on Preparing Required Hardware and Software.
    2. Obtain the required installation packages (IN500_solution_5.1.0.SPC201.zip is used as an example).

      Download the IN500_solution_5.1.0.SPC201.zip driver package and extract three folders from it, driver, firmware, and tools.

      • Obtain the Hi1822 NIC driver from the driver/linux/nic folder. The following figure shows the driver of CentOS 7.6.

      • Obtain the Hi1822 NIC management software from the tools/linux/nic folder. CentOS and Red Hat use the .rpm package, and Ubuntu and Debian use the .deb package.

    Note: The Hi1822 NIC driver installation package and management software must match the OS.

Procedure

  1. Run the following command to check whether the hinic NIC driver exists:

    rpm -qa | grep hinic

    • If yes, go to 2.
    • If no, go to 3.
  2. Run the following commands to uninstall the hinic NIC driver:

    rpm -e kmod-hinic

    rmmod hinic

  3. Go to the directory that stores the RPM installation package and run the following command to install the driver:

    rpm -ivh kmod-hinic-2.3.2.1_3.10.0_957-1.el7.x86_64.rpm

  4. Run the modprobe hinic command to load the latest Hi1822 NIC driver.
  5. Run the following command to install the Hi1822 NIC management software (hinicadm package):

    rpm -ivh hinicadm-2.3.2.1-1.x86_64.rpm