From owner-freebsd-questions Fri Nov 10 10:25:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id E3EF337B479 for ; Fri, 10 Nov 2000 10:25:38 -0800 (PST) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G3T00M01N61K0@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Fri, 10 Nov 2000 10:25:14 -0800 (PST) Received: from tagalong ([165.107.42.185]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0G3T00N8VN604W@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Fri, 10 Nov 2000 10:25:12 -0800 (PST) Date: Fri, 10 Nov 2000 10:25:30 -0800 From: Drew Tomlinson Subject: RE: Network Card Troubleshooting (was How To Configure 2nd NIC?) In-reply-to: To: 'Chameleon' , "'FreeBSD Questions (E-mail)'" , 'Drew Tomlinson' Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----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