Detect hardware changes

Keith Bottner keith at barkinglizards.com
Thu Dec 8 12:51:50 PST 2005


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 at pci2:9:0:  class=0x020000 card=0x00241737 chip=0x10321737 rev=0x10
hdr=0x00
    vendor   = 'Linksys'
    device   = 'EG1032 Gigabit Ethernet'
    class    = network
    subclass = ethernet
xl0 at 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 at gmail.com [mailto:sveinhal at 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 at 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




More information about the freebsd-questions mailing list