From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 20:51:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D535216A424 for ; Thu, 8 Dec 2005 20:51:49 +0000 (GMT) (envelope-from keith@barkinglizards.com) Received: from pluto.phpwebhosting.com (pluto.phpwebhosting.com [69.0.209.128]) by mx1.FreeBSD.org (Postfix) with SMTP id B930943D90 for ; Thu, 8 Dec 2005 20:51:23 +0000 (GMT) (envelope-from keith@barkinglizards.com) Received: (qmail 18130 invoked from network); 8 Dec 2005 20:51:20 -0000 Received: from unknown (HELO Stile) (keith%barkinglizards.com@209.117.233.18) by pluto.phpwebhosting.com with SMTP; Thu, 08 Dec 2005 15:51:20 -0500 From: "Keith Bottner" To: "'Svein Halvor Halvorsen'" Date: Thu, 8 Dec 2005 14:51:18 -0600 Organization: Barking Lizards Technologies Message-ID: <002301c5fc39$2403ee60$1801a8c0@Stile> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-index: AcX8J+/6rQJysI3vQvao4XiKykTAIwAEBLTw Cc: 'FreeBSD Questions' Subject: RE: Detect hardware changes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 20:51:50 -0000 I realized I had the problem when ifconfig did not pickup the network card after a reboot. I went ahead and ran "pciconf -lv" like you suggested and the relevant output looks like this: skc0@pci2:9:0: class=0x020000 card=0x00241737 chip=0x10321737 rev=0x10 hdr=0x00 vendor = 'Linksys' device = 'EG1032 Gigabit Ethernet' class = network subclass = ethernet xl0@pci2:12:0: class=0x020000 card=0x00c71028 chip=0x920010b7 rev=0x78 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class = network subclass = ethernet The new NIC that I added is the first one and the old NIC is the second. It seems that the system is detecting it fine but ifconfig still does not display it and there does not appear to be a dev node for it as well. I added the appropriate line in rc.conf and rebooted the system hoping that would cause something to update properly but there was no change. Are there additional steps that have to be taken? Thanks for your help so far, Keith -----Original Message----- From: sveinhal@gmail.com [mailto:sveinhal@gmail.com] On Behalf Of Svein Halvor Halvorsen Sent: Thursday, December 08, 2005 12:48 PM To: Keith Bottner Cc: FreeBSD Questions Subject: Re: Detect hardware changes On 12/8/05, Keith Bottner wrote: > Does anyone know of a utility that can run on FreeBSD and detect the > addition of new hardware? Specifically network cards? When I > originally installed FreeBSD I only had a single NIC and since I > installed a second but FreeBSD does not recognize it. Any ideas on how > I can get FreeBSD to be aware of the new NIC? I think someone replied to you (or someone with a similar problem) just the other day. Use "pciconf -lv" to list all hardvare. If you see none@ lines, this means that no drivers did attach to the hardware. Then you either need to recompile you kernel og load the correct kernel module or, if the hardware is not supported, either write a new driver yourself or replace the hardware (or the os). You can use the ifconfig utility to list all recognized NICs installed. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 12/7/2005