home *** CD-ROM | disk | FTP | other *** search
/ Login Magazine 68 / LoginMagazineNo68.bin / modules / README < prev    next >
Text File  |  1999-11-07  |  2KB  |  38 lines

  1.  
  2. These are modules that can be loaded into the Linux kernel, providing extra
  3. support for mice, CD-ROM drives, ethernet cards, and other devices.
  4.  
  5. See these files in the "docs" directory for more information on loading these
  6. kernel modules: CDROM-HOWTO, ELF-HOWTO, Ethernet-HOWTO, Ftape-HOWTO, HAM-HOWTO,
  7. Hardware-HOWTO, Kernel-HOWTO, NET-2-HOWTO, PCI-HOWTO, PCMCIA-HOWTO, SCSI-HOWTO,
  8. SCSI-Programming-HOWTO, Serial-HOWTO, Sound-HOWTO, UMSDOS-HOWTO.
  9.  
  10. Also see the documentation in /usr/doc/modules, and the Documentation directory
  11. in newer Linux kernel source.  (/usr/src/linux/Documentation)
  12.  
  13. As a simple example, this line in your /etc/rc.d/rc.modules will load the
  14. driver for a 3com 3c509b ethernet card (PnP mode on the card disabled):
  15.  
  16. /sbin/modprobe 3c509
  17.  
  18. Note that this must happen *before* using ifconfig on eth0 or setting up
  19. eth0 related routes!
  20.  
  21. Here's how this will look when you boot your machine:
  22.  
  23. INIT: Entering runlevel: 3
  24. Going multiuser...
  25. loading device 'eth0'...
  26. eth0: 3c509 at 0x360 tag 1, 10baseT port, address  00 a0 24 28 ec a0, IRQ 10.
  27. 3c509.c:1.12 6/4/97 becker@cesdis.gsfc.nasa.gov
  28. eth0: Setting Rx mode to 1 addresses.
  29. Mounting remote file systems...
  30. Starting daemons: syslogd klogd portmap inetd lpd mountd nfsd
  31.  
  32. If you've installed the modules.tgz package, you'll have all of these modules
  33. installed on your machine under /lib/modules/ already.  So, to start
  34. using kernel modules you'll want to edit the /etc/rc.d/rc.modules file to
  35. select which modules you want loaded at boot time.  You can also use kerneld,
  36. a daemon which load and unloads kernel modules automatically on demand.
  37.  
  38.