How To Detect Two Ethernet Cards in Linux

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 10 and IO 0×300, and another one at IRQ 9 and IO 0×340:

ether=10,0×300,eth0 ether=9,0×340,eth1

You can add that line on bootup at the “boot:” prompt, or in the /etc/lilo.conf file. Don’t forget to run:

lilo

That will reload the lilo.conf file and enable changes.

Related posts:

  1. Linux & Unix Tricks
  2. What Is a Linux Distribution?
  3. 10 things you should do to prepare a new Linux installation
  4. Basic Linux Commands
  5. Zotac brings GTX 400 Fermi Graphic Cards

Filed Under: Linux and Unix

Tags: ,

About the Author

Weston Campbell is a geek who professes on trying out new things and getting deep into stuff. He is a science graduate who has taken keen interest in computers off late.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.