NC51xx PCIe 10 Gigabit Server Adapter Software and Configuration Guide

Installation and configuration 17
Verify that the old package has been removed as follows:
# rpm -q unm_nic
or
# rpm -q nx_nic
3. Install the nx_nic source rpm.
# rpm -ivh nx_nic-<version>.src.rpm
4. Build the binary RPM for the nx_nic driver.
Red Hat installation:
# cd /usr/src/redhat
# rpmbuild -bb SPECS/nx_nic-<version>.spec
SLES 9/10 installation:
# cd /usr/src/packages
# rpmbuild -bb SPECS/nx_nic-<version>.spec
If you get an error during the build process, see Setting up the kernel source code (on page 16) to
correctly setup the source tree.
5. Install the new RPM package by executing the following:
# rpm -ivh RPMS/<arch>/nx_nic-<version>.<arch>.rpm
The driver is installed in the following path:
/lib/modules/<kernel_version>/kernel/drivers/net/nx_nic.ko
6. Configure your network setting and address. You may need to refer to your Linux vendor
documentation. Helpful network configuration tools such as yast2 for SUSE or linuxconf/redhat-
config-network/netconfig for RedHat may be used to automate the configuration. For SLES 9/10,
you must specify the module as nx_nic when configuring the network. The module can be specified
in the Hardware Details of Advanced configuration.
7. Be sure that the /etc/modules.conf file is configured similar to the example listed below. The
example below is presented as if more than one adapter is present. If so, one eth# instance should
exist for each Ethernet port. See the modules.conf man page for more information.
alias eth0 nx_nic
alias eth1 nx_nic
alias eth# nx_nic
For SLES 9/10, the configuration file is /etc/modprobe.conf or /etc/modprobe.conf.local. If the
entry does not exist, add it in the configuration file.
Uninstalling the nx_nic RPM
The following command uninstalls the nx_nic RPM.
# rpm -e nx_nic-<version>
Upgrading firmware for Red Hat and SLES
The HP NC51xx Online Firmware Upgrade Utility is used to modify the contents of the flash memory for
HP NC51xx PCIe 10 Gigabit server adapters.
Download the drivers as described in Installation and configuration (on page 6) before proceeding to
install the nx_tools RPM.
NOTE: Driver and firmware compatibility must be maintained to ensure proper functionality.
Make sure that the driver and firmware versions match for this release.