Now power down the system and install the new NIC, reboot, and log back in as the root user and enter:
#lspci -v
You should be able to determine from this command what type of NIC the system thinks is connected to the PCI bus, and if you know the proper name of the Linux driver (based on the documentation from your NIC vendor), you are ready to run linuxconf.
Enter the following command:
#rpm -qa | grep linuxconf
If this command does not return the version number of the currently installed linuxconf RPM package, you need to load it by following this next set of instructions. If you already have linuxconf loaded on your system, go to the next section.
Insert the proper CD-ROM (probably the first or second CD-ROM) included with your Red Hat distribution, or the first CD in prior releases, into the CD-ROM drive, and then enter:
#mount /mnt/cdrom #cd /mnt/cdrom/RedHat/RPMS #ls linuxconf*
You should now see a list of linuxconf RPM packages on your CD. If this CD does not have linuxconf installed on it, you will need to try another CD (enter the command cd / ; eject and start over.)
Note that you can also download linuxconf from the ftp.redhat.com FTP site or one of its mirrors.
If you see a listing that contains linxconf-<version> and linuxconf-devel-<version>, you can proceed with the following command to load it onto your system:
#rpm -ivh linuxconf-<version>
(You do not need the linuxconf-devel-<version> RPM package.)
Again, remember that you can use the TAB key to complete this command once you have entered enough characters to make the file name unique.
Eject the CD out of your system with the commands:
#cd / #eject
Once the package is installed, enter the following command to tell your shell to review files in its current PATHs:
#rehash
(If you don't enter this command, you will get command not found when you type linuxconf until you start a new shell.)