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

Re: adding a nic



Hi Mike!

On Thu, 07 Feb 2002, Mike McCue wrote:

> I have an old compaq with 2 nics that I plan to use for a gateway/firewall. 
> Both nics are ne2k compatable, and both are isa.  One works under the 2.2 
> kernel, one works under 2.4 (I guess it's the better isa pnp support).
> 
> I've got the nic that works under 2.2 to use the cable connection, I've 
> upgraded the packages and the kernel (2.4.17) and all is well.  Now I just 
> need to figure what I have to add to get the second nic working... I'm 
> referring to getting a module loaded, I haven't done this before.  I can 
> handle adding the new nic to interfaces and setting the network parameters.

since both nics are ne2 this has nothing to do with the kernel version,
you just don't tell the kernel or module to use 2 nics instead of the
first it detects.

if you use the ne driver as a module edit /etc/modutiles/ne (or create it)
and at a line 

options ne io=<io nic1>,<io nic2> irq=<irq nic1>,<irq nic2>

e.g.
options ne io=0x280,0x300 irq=9,10

if you kompiled ne support into the kernel you have to append it (in
/etc/lilo.conf) add 

append="ether=<irq nic1>,<io nic1>,eth0 ether=<irq nic2>,<io nic2>, eth1"

yours martin
--
<martin@wuertele.net> ------------------------------ NO HTML MAILS PLEASE
             PGP/GPG encrypted and signed messages preferred

Attachment: pgp7IXyl8Rij4.pgp
Description: PGP signature


Reply to: