Article Title: how to use two identical NICs through the Module. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I have installed two NE2000 compatible ISA NICs on a computer (using RedHat Linux 6.0), both of which are in Jumperless mode and occupy resources (I/O address/IRQ) the values are 0x240/10 and 0x300/3 respectively. in Linux, the first block can only be used for loading with the modprobe command. what can be done?
In Linux, a module with the same name can only be loaded once when the device driver is loaded using the module method. Someone has provided a solution: Copy the NE2000 driver ne. o and take another name, such as ne1.o. then use modprobe ne1 io = xxx. This method is cumbersome, because when you upgrade to the new version of kernel, the newly compiled module should do the same.
If you select kerneld support during kernel Compilation (this option is set by default for common RedHat), you can implement it through module alias. the specific method is as follows: modify/etc/conf. modules: add the correspondence between eth * and the NIC driver module name. For example, take 0x240/10 and 0x300/3 as an example:
Alias eth0 ne
Alias eth1 ne
Options ne io = 0x300, 0 x
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.