Date: Thu, 8 Dec 2005 14:51:18 -0600 From: "Keith Bottner" <keith@barkinglizards.com> To: "'Svein Halvor Halvorsen'" <svein.h@lvor.halvorsen.cc> Cc: 'FreeBSD Questions' <freebsd-questions@freebsd.org> Subject: RE: Detect hardware changes Message-ID: <002301c5fc39$2403ee60$1801a8c0@Stile> In-Reply-To: <bbe90d1d0512081048uf3cc72ana134c80b64c5ba2b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <keith@barkinglizards.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c5fc39$2403ee60$1801a8c0>