From owner-freebsd-questions Fri Nov 10 10:33:28 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 5FCD837B479 for ; Fri, 10 Nov 2000 10:33:22 -0800 (PST) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G3T00N01NIYW2@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Fri, 10 Nov 2000 10:33:00 -0800 (PST) Received: from tagalong ([165.107.42.185]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0G3T00NBANIY4W@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Fri, 10 Nov 2000 10:32:58 -0800 (PST) Date: Fri, 10 Nov 2000 10:33:17 -0800 From: Drew Tomlinson Subject: RE: Network Card Troubleshooting (was How To Configure 2nd NIC?) In-reply-to: To: 'Stephen Hovey' Cc: 'Chameleon' , "'FreeBSD Questions (E-mail)'" 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: Stephen Hovey [mailto:shovey@buffnet.net] > Sent: Friday, November 10, 2000 10:29 AM > To: Drew Tomlinson > Cc: 'Chameleon'; 'FreeBSD Questions (E-mail)' > Subject: RE: Network Card Troubleshooting (was How To Configure 2nd > NIC?) > > > > I had trouble with a ne2000 on irq9 due to the vga card using it. Thanks but I don't think that's my problem here as the self-tests were OK using the setup utility with both cards. Plus the one that is found and working is using irq 9. The other is using irq 11. Drew > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message