[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: arrghh 2nd $#@@#$^ nic card



On Tue, 31 Aug 1999, Ray Curtis wrote:

> >>>>> "md" == Mark DeWar <inetmail fiber-net com> writes:
> 
> md> i have tried everything but voodoo on getting two nics to work in this
> md> computer i am building as a firewall.
> md> i have tried several different combiniations of cards with no luck.
> 
> md> right now i have a alta research 10mb card in there configured for 340,10. isa
> md> there is another one cant' recall who's set for 300, 5 isa
> md> i have checked the alta and it passed diagnostics.
> md> i am using the n2000 compatible driver for both
> md> the linux will find the 300,5 on install.
> md> i have read the linuxconf docs and i did the basic hostname setup.
> md> i tried putting one card as adapter 1 and the other as adapter 2
> md> on reboot eth1 fails initailaztion. and linuxconf shows the second adapters
> md> info in both adapters io and irq info lines.
> md> i read the linuxconf docs and it said to put both together as io
> md> 0x300,0x340 irq 5,10
> md> okay great. however how do i specify the two ips. one will be
> md> 123.213.456.123 and the other 192.168.0.1
> 
> If both are the same ne2000's just add to lilo.conf:
> 
> append="ether=5,0x300,eth0 ether=10,0x340,eth1"
> 

Another way that would avoid passing kernel options and allow one to use
modules would be to add the following to /etc/conf.modules:

alias eth0 ne
options ne io=0x340 irq=10
alias eth1 ne
options ne io=0x300 irq=5

I know this work just fine when 2 different cards are used (using
different modules), I haven't tried it with 2 cards using the same module,
so the syntax may be different for that case. 


Bill Carlson
------------
Systems Programmer    bill-carlson uiowa edu	|  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics	|




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]