Q-Logic 3000 Network Card User Manual


 
6–Linux Driver Installation and Configuration
Configure the QLogic Adapter on Linux
6-8 NE0154601-00 A
Configure the QLogic Adapter on Linux
To configure the QLogic adapter:
1. Type one of the following commands to identify the Ethernet interface
(eth1, eth2, etc.) and the nx_nic driver from the command line:
% cat /proc/net/nx_nic/dev0/stats | grep eth or
% ifconfig -a
Look for the interface with a MAC address (HWaddr) prefix of
00:0E:1E:XX:XX:XX
2. Type the following to commands assign an IP Address and activate the
interface:
% ifconfig eth[n] down
% ifconfig eth[n] <IP Address> netmask <Netmask Value> up
3. Verify that the network services are running, and then type:
% service network restart
Ping a different IP address to verify connectivity.
Uninstall the Commercial GPL Driver and Tools
Package
Type the following commands to uninstall the commercial GPL driver and tools,
which are part of the RPM package:
% rpm -qa | grep nx_
% ifconfig eth[n] down
% rmmod nx_nic.ko
% rpm -e nx_nic-[version]
1
% rpm -e nx_tools-[version]
Diagnostic Tests for the QLogic Adapter
The Linux user diagnostics utility performs various tests using the
./nxudiag -i eth[n] command.
The syntax for these tests is:
% ./nxudiag [command-options-and-arguments]
See Table A-1 for a list of Linux diagnostic utility commands.
1
[version] refers to the RPM package currently on the system. RPM packages can be located
by executing the command: rpm -qa | grep nx_.