Skip to Main Content
Learning Debian GNU/Linux
book

Learning Debian GNU/Linux

by Bill McCarty
October 1999
Beginner to intermediate content levelBeginner to intermediate
360 pages
10h 18m
English
O'Reilly Media, Inc.
Content preview from Learning Debian GNU/Linux

Using Loadable Ethernet Drivers

Early versions of Linux used a so-called monolithic kernel. At that time, Linux distributions typically included several kernels, offering support for a variety of devices that might be needed to boot and install a Linux system. Devices not needed to boot and install a system—so-called special devices—had second-class status. To access special devices, users had to compile customized kernels that included support for those devices. When a user added a device to a system, it was often necessary to compile a new kernel, which was something of an inconvenience.

More recent versions of Linux feature a modular kernel, which allows drivers to be dynamically loaded on command. This makes it much easier than before to configure your Linux system to support Ethernet cards and other special devices. Debian GNU/Linux is generally able to configure your primary Ethernet card automatically, by probing for it during installation of Linux.

However, the autoprobe doesn’t always succeed. Moreover, if you have more than one Ethernet card, the installation program sets up only the first card it finds. To set up additional cards, you need to know a bit about Linux’s loadable modules.

Dynamically Loading a Modular Driver

To dynamically load a modular driver, you issue the following command:

insmod driver

Where driver specifies the module to be loaded. Table 4-9 lists modular Ethernet drivers and the cards they support. As an example, the command:

insmod ne2k-pci

loads the modular ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux in Action

Linux in Action

David Clinton

Publisher Resources

ISBN: 1565927052Supplemental ContentCatalog PageErrata