Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 13:28:37 -0500 (EST)
From:      Stephen Hovey <shovey@buffnet.net>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "'Chameleon'" <swen@wavefire.com>, "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Network Card Troubleshooting (was How To Configure 2nd  NIC?)
Message-ID:  <Pine.BSF.4.05.10011101328210.4795-100000@buffnet11.buffnet.net>
In-Reply-To: <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF708@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

I had trouble with a ne2000 on irq9 due to the vga card using it.

On Fri, 10 Nov 2000, Drew Tomlinson wrote:

> > -----Original Message-----
> > From: Chameleon [mailto:swen@wavefire.com]
> > Sent: Friday, November 10, 2000 8:39 AM
> > To: 'FreeBSD Questions (E-mail)'; Drew Tomlinson
> > Subject: Re: Network Card Troubleshooting (was How To Configure 2nd
> > NIC?)
> >
> >
> > first thing... do the nics have boot proms in it? if they
> 
> No boot proms.  Just simple 10-baseT ISA network cards.
> 
> > don't then as far
> > as i know,
> > the iomem won't affect anything...
> > what does ifconfig -a give you?
> 
> Nothing valid at the moment because I tried recompiling my kernel with the
> following lines hoping that the probe would fill in the details.  (I think
> that's what "at isa?" means?):
> 
> device          ed0     at isa?
> device          ed1     at isa?
> 
> Anyway, only ed0 was found.  ed1 was not defined so now I'm recompiling with
> the following:
> 
> device          ed0     at isa? port 0x240 irq 9 iomem 0xd8000
> device          ed1     at isa? port 0x260 irq 11 iomem 0xd0000
> 
> I assume the iomem parameter for ed0 was determine during setup somehow.  I
> didn't write the line originally.  It was in my GENERIC config after the
> original install of 4.0.  The other interesting part is that the port and
> irq were set to 0x280 and 10, respectively but the card was set to 0x240 and
> 9.  The motherboard doesn't have PnP but the network card still worked.
> 
> In any case, I thought it would be better to set it correctly.  Then when I
> added the 2nd NIC, I just copied the first line and changed the values.
> 
> > did you add 'ed1' to your network interfaces in rc.conf?
> 
> Yes.  Here's my entries:
> 
> network_interfaces="ed0 ed1 lo0"
> ifconfig_ed0="inet 192.168.0.2  netmask 255.255.255.0"
> ifconfig_ed1="inet 192.168.0.3  netmask 255.255.255.0"
> defaultrouter="192.168.0.1"
> 
> Am I missing something?
> 
> > i recently had a problem with an NE2000 nic in a NEC which
> > had onboard
> > video and sound
> > that used most of the irq's...
> > i got around it somehow by defining the same nic with different irq
> > settings in the kernel.
> 
> I don't think this is the problem here.  They are just simple network cards
> with no added features.
> 
> Thanks for your help!  I'd really like to get this working so I can venture
> into firewalls, NAT, and routing.  That should be fun,  :)
> 
> Drew
> 
> > Swen
> >
> >
> > At 10:37 PM 11/9/00, Josh Paetzel wrote:
> >
> > > >
> > > > I do have a utility but there is no choice for setting
> > anything like
> > >iomem.
> > > > I picked different settings for what they call I/O base
> > address which
> > > > corresponds to the 0x240 line on ed0 and the 0x260 line
> > on ed1.  I can
> > >also
> > > > set the IRQs which I did; ed0=9 & ed1=11.  There are no
> > conflicts AFAIK as
> > > > self-testing shows both cards working OK.  Do you have
> > any other ideas?
> > >
> > >Well, there is a conflict, as the cards are both using the
> > same iomem space.
> > >They are both mapping memory to the same address space in
> > RAM and therefore
> > >are overwriting each other.  If there really is no way to
> > change that then
> > >you will not be able to use the cards together.
> > >
> > >
> > >
> > >
> > >  The
> > > > cards are LinkSys Ether16 LAN cards if that helps.
> > > >
> > > > > of a software utility.  Plug and Play has kind of removed us
> > > > > from the joys
> > > > > of configuring hardware, but most cards require one or more
> > > > > irqs, a range of
> > > >
> > > > Yeah, I haven't done this for a long time.  Brings back memories.
> > > >
> > > > I know I keep saying it but thank you again for your time
> > on this.  I
> > >really
> > > > appreciate it and am anxious to take on the task of
> > setting up NAT and
> > > > filters.  Now if I could just get both interfaces working...  :)
> > > >
> > >
> > >
> > >The pleasure is all mine.  I got a lot of help from the
> > FreeBSD community
> > >when I was first starting out, and now it's payback time.
> > >
> > >Josh
> > >
> > >
> > >
> > >To Unsubscribe: send mail to majordomo@FreeBSD.org
> > >with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> >
> > Pobody's Nerfect!
> >
> >
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10011101328210.4795-100000>