Custom Search

Thursday, May 15, 2008

Detecting 2 ethernet cards

To configure an ethernet card in Linux, you need to enable it in the kernel. Then the kernel will detect your ethernet card if it is at a common IO port. But it will stop there, and will never check if you have 2 ethernet cards.
The trick is to tell the ethernet driver that there are 2 cards in the system. The following line will tell the kernel that there is an ethernet card at IRQ 9 and IO 0x300, and another one at IRQ 10 and IO 0x340:
ether=9,0x300,eth0 ether=10,0x340,eth1
That line can be added up in the /etc/lilo.conf file or at the "boot:" prompt on bootup . YOu also need to run the following command:
lilo
That will reload the lilo.conf file and enable changes.

1 comment:

Unknown said...

Superb post. Many thanks for discussing valuable content material.If you want to get instant solution of HP printer issues then contact us @ 0800-098-8371 HP printer support number UK