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

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



Mark DeWar <inetmail fiber-net com> wrote:
>> 
>> 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.

[snip]

>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. 

The above should work fine with 2 cards using the same module.  I have
something similar on a box with 3 network cards, 2 of which use the same
module.

I would forgo using Linuxconf and edit the ifcfg-eth0 and ifcfg-eth1 files
in /etc/sysconfig/network-scripts directly.  One thing that I've tripped
over is the 'device=' line.  I've copied ifcfg-eth0 to ifcfg-eth1 and
changed all the IP settings but forgotten to change the device entry, so I
wound up with both trying to use eth0. '/etc/rc.d/init.d/network reload'
should force Linux to re-read the config files, you may want to do
'/etc/rc.d/init.d/network stop', then reload then start to be safe.

If eth1 still won't come up, 'cat /proc/interrupts' and 'cat /proc/ioports'
and see if the devices are listed.  If not, it's time to investiage the
hardware settings again.  Maybe something is conflicting or the settings
are wrong.

HTH

-Eric


Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
esisler westminster lib co us

Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux



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