From owner-freebsd-hardware Thu Aug 7 08:02:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA11633 for hardware-outgoing; Thu, 7 Aug 1997 08:02:51 -0700 (PDT) Received: from netrail.net (netrail.net [205.215.10.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA11628 for ; Thu, 7 Aug 1997 08:02:46 -0700 (PDT) Received: from lex (ppp-96.ATL.netrail.net [205.215.11.96]) by netrail.net (8.8.6/8.8.6) with ESMTP id LAA29023 for ; Thu, 7 Aug 1997 11:02:05 GMT Message-ID: <33E9E51B.39B49D8D@classfinder.com> Date: Thu, 07 Aug 1997 11:09:15 -0400 From: Aaron Hillegass Reply-To: ahill@classfinder.com Organization: ClassFinder.com X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Subject: AMD PCNet PCI ethernet card X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings, hardware gurus, I sent this to freebsd-questions two days ago and received no response. I hope this is not an inappropriate question for this list: I'm having trouble configuring an AMD PCNet ethernet card. I have system with a DEC PCI Etherworks card that works perfectly, and the Hitachi laptop with an AMD PCNet PCI Ethernet card that I just bought and can't get to talk to the ethernet. Both machines are running FreeBSD 2.2.2. Looking at the the working machine's kernel config file I noted the following line: device de0 and in the /etc/rc.conf file the following: network_interfaces="de0 lo0" ifconfig_lo0="inet 127.0.0.1" ifconfig_de0="inet 205.215.27.49" Being a simple-minded guy, I search the FreeBSD questions and found that the PCNet ethernet card uses the lnc driver. Thus I substituted lnc for de in both files: device lnc0 and network_interfaces="lnc0 lo0" ifconfig_lo0="inet 127.0.0.1" ifconfig_lnc0="inet 205.215.27.51" When I rebuild the kernel and boot the machine, I get: Aug 3 20:28:49 toad /kernel: lnc1 rev 22 int a irq 9 on pci0:18 Two things strike me as odd: First, it says lnc1 instead of lnc0. Second, it doesn't mention its Ethernet address at all. The ifconfig fails because it can't find lnc0. So I try to manually ifconfig lnc1: # ifconfig lnc1 inet 215.205.27.51 ifconfig: interface lnc1 does not exist In hopes of getting more data points, I boot the machine -c and remove the lnc driver. I get the following: Aug 3 20:28:49 toad /kernel: pci0:18: AMD, device=0x2000, class=network(ethernet) int a irq 9 [no driver assigned] Then, I went back to the man page, and copied out the synopsis (changing the irq) device lnc0 at isa? port 0x280 net irq 9 drq 0 vector lncintr Rebuilding the kernel and rebooting gets me: Aug 3 20:28:49 toad /kernel: lnc1 rev 22 int a irq 9 on pci0:18 . . . Aug 3 20:28:49 toad /kernel: lnc0 not found at 0x280 I hope that you can help me. Thanks in advance, Aaron Hillegass