Setting up a RedHat Linux and Apache Web Server

Linux Installation (continued):
What Next?
If you've gotten this far with your installation, you probably have a Linux that is up and running with a command line prompt. If you are really experienced, you will already have networking running and the X Window System running. Assuming that neither is the case, first you must get the network running.
Ethernet drivers
First see if the system recognized your network card or cards by entering the following command:
         
  cat /proc/modules
  
you should see some output that looks something like the following:
  3c59x                      0   1 (autoclean)
  3c509                      0   1 (autoclean)
  
This indicates the kernel modules 3c59x and 3c509 are installed. On my machine, I have a 3c905B Ethernet card and a 3c509B Ethernet card. Depending on what card you have and how many cards you have, your list may be different. A list of the kernel drivers needed for all supported Ethernet cards can be found in the appendices of the RedHat Installation Manual (Appendix D for RH5.2; appendix E for RH6.0, appendix B for RH6.1). In fact, lots of good installation aids can be found in the installation appendices. If you are having problems with possible conflicting interrupts or I/O ports, try the following:
  cat /proc/interrupts
  cat /proc/ioports
  
which will produce a list of all the interrupts used on your machine and the I/O ports. They should correspond to what you have configured for your cards or in the case of Plug-and-Pray, what the cards are capable of doing.
 
If you have nothing here, you will need to modify your configuration so that the appropriate module is loaded. There are a number of ways of doing this. Probably the easiest is to edit the kernel module configuration file, which is found in /etc/conf.modules. On my machine, I have set it up as follows:
  alias eth0 3c509 
  alias eth1 3c59x 
  options eth0 irq=5
  
In my case, the 3c905B card (using the 3c59x kernel module) is a PCI card that is automatically correctly installed by Linux. In the case of the older (and slower) 3c509B card, I had to turn off the Plug-and-Pray feature using the 3Com configuration disk and to set the card to operate on interrupt 5. Then in the conf.modules file, I tell the kernel that for this card to use interrupt 5. This allows me to install two Ethernet cards without making kernel modifications. Note: I was never able to make two 3c509B cards work at the same time. It may be possible to make two of the 3c905B cards work, but I have never tried. The older and slower 3c509B card (10 MBits) is used for connection to the Internet while I use the new 3c905B card (10/100 Mbits) for my internal network.
 
Before putting the drivers you want loaded into the /etc/conf.modules file, it is also possible to manually load them to ensure that they work correctly. You do this using the modprobe program. For example, to load the 3c509 driver, you enter:
  modprobe 3c509.o
  
See the man pages for more details.

Page 4 of Install Page 6 of Install Home

Home: http://www.sibbald.com/
Contact: kern at sibbald dot com
Last Update: