Two CNET PRO120s in same box

Stephen Host shost@uoguelph.ca
Tue Feb 22 12:26:25 2000


The solution is simple: edit /etc/lilo.conf and put the following inside
your main boot kernel:

append= "ether=0,0,eth0 ether=0,0,eth1"

Once done, rerun lilo
/sbin/lilo -t , then if it works OK, /sbin/lilo

(use -t to test the configuration, i make a habit of it)

Say, you put a third netcard in the mahcine.. just add another
ether=0,0,eth2 into the append section.

Just for your reference, one of my entries (main boot entry) for lilo.conf
is:
image=/boot/vmlinuz
      label=linux
      root=/dev/sda1
      read-only
      append="ether=0,0,eth0 ether=0,0,eth1"

all entries before and after this are fine, you can leave them untouched.


Once you have entered this, re-ran lilo, and rebooted, it should detect
two ethernet cardsof the same type.. or three (or four) if you add more.. =)
       
Hope this works for you.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Steve Host - Engineering Systems & Computing Student, University of Guelph
       http://godiva.eos.uoguelph.ca/~shost/ - shost@uoguelph.ca
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Mon, 21 Feb 2000, root wrote:

> I have installed two CNET PRO120s in the same box.  One is for local
> machines,
> the other is to be for a DSL connection which will soon be made, but is
> not set up yet.  In readiness for this I have tried putting both cards
> in the machine, which
> is running RedHat Linux 6.1.  My problem is that I cannot figure out the
> way to get the system to recognize both cards.  As long as I put only
> one ethernet interface
> (eth0) into /etc/conf.modules, all is well.  And I can use either card -
> the local lan works.
> 
> However, when I try to get the system to recognize both cards, neither
> works.
> Since the box boots both Linux and Win95, I am able to go into Win95 and
> learn that
> one card is at IRQ 10, IO address 0xF800-0xFBFF, and the other is IRQ
> 11, IO address 0xFC00-0xFCFF
> 
> 
> No matter how I try to put this information in, and I've tried all the
> configurations in the Ethernet HOWTO for dealing with two cards, it
> fails to initialize either one.
> 
> Only this configuration works 
> 
> alias tulip eth0
> 
> If I try both
> 
> alias tulip eth0
> alias tulip eth1
> options tulip irq=10,11 io=0xf800,0xfc00
> 
> it fails.  If I try to do it on two lines, that is
> 
> options tulip -o tulip-lan irq=10 io=0xf800
> options tulip -o tulip-inet irq=11 io=0xfc00
> 
> this also fails.
> 
> Doh! I just thought of something - do the irq#s have to be hexadecimal
> also?
> I doubt it will work but I will give it a try.  In the meantime, if
> anyone has any other ideas please let me hear them.
> -------------------------------------------------------------------
> To unsubscribe send a message body containing "unsubscribe"
> to linux-tulip-request@beowulf.org
> 

-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org