Adding new NIC



  • I have a fairly new pfSense setup.  Just got everything working…
    Decided to add another NIC at the last minute but it's not detected as an interface by pfsense.  Can't add it via the webmenus.

    Is there more to installing a new NIC after running the installation?

    ((Also, should there be any problems bridging two seperate interfaces to my LAN?))

    Thanks,
    Toast



  • Perhaps your new NIC is not recognised by any of the built-in drivers. Please post the output of the shell command
    dmesg



  • I believe this is the NIC showing up bellow.  It's a D-Link DWL-G520
    ath0: <atheros 5212="">mem 0x7ebe0000-0x7ebeffff irq 16 at device 7.0 on pci3
    ath0: [ITHREAD]
    ath0: unable to attach hardware; HAL status 3
    device_attach: ath0 attach returned 6

    $ dmesg
    Copyright (c) 1992-2008 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    	The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    FreeBSD 7.0-RELEASE-p8 #0: Thu Jan  8 22:07:30 EST 2009
        sullrich@freebsd7-releng_1_2_1.pfsense.org:/usr/obj.pfSense/usr/src/sys/pfSense.7
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.53-MHz 686-class CPU)
      Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
      Features=0xbfebfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Features2=0x649d <sse3,rsvd2,mon,ds_cpl,est,cnxt-id,cx16,xtpr>AMD Features=0x20000000 <lm>Logical CPUs per core: 2
    real memory  = 1073414144 (1023 MB)
    avail memory = 1036668928 (988 MB)
    ACPI APIC Table: <a m="" i=""  oemapic="">
    FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
     cpu0 (BSP): APIC ID:  0
     cpu1 (AP): APIC ID:  1
    ioapic0: Changing APIC ID to 2
    ioapic1: Changing APIC ID to 3
    ioapic0 <version 0.3="">irqs 0-23 on motherboard
    ioapic1 <version 0.3="">irqs 24-47 on motherboard
    wlan: mac acl policy registered
    kbd1 at kbdmux0
    ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
    hptrr: HPT RocketRAID controller driver v1.1 (Jan  8 2009 22:07:11)
    cryptosoft0: <software crypto="">on motherboard
    acpi0:</software></version></version> </a><a m="" i="" oemrsdt="">on motherboard
    acpi0: [ITHREAD]
    acpi0: Power Button (fixed)
    acpi0: reservation of 0, a0000 (3) failed
    acpi0: reservation of 100000, 3ff00000 (3) failed
    Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
    acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
    cpu0: <acpi cpu="">on acpi0
    est0: <enhanced speedstep="" frequency="" control="">on cpu0
    est: CPU supports Enhanced Speedstep, but is not recognized.
    est: cpu_vendor GenuineIntel, msr f2d00000f2d
    device_attach: est0 attach returned 6
    p4tcc0: <cpu frequency="" thermal="" control="">on cpu0
    cpu1: <acpi cpu="">on acpi0
    est1: <enhanced speedstep="" frequency="" control="">on cpu1
    est: CPU supports Enhanced Speedstep, but is not recognized.
    est: cpu_vendor GenuineIntel, msr f2d00000f2d
    device_attach: est1 attach returned 6
    p4tcc1: <cpu frequency="" thermal="" control="">on cpu1
    pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
    pci0: <acpi pci="" bus="">on pcib0
    pcib1: <acpi pci-pci="" bridge="">at device 1.0 on pci0
    pci1: <acpi pci="" bus="">on pcib1
    pcib2: <acpi pci-pci="" bridge="">irq 27 at device 2.0 on pci0
    pci2: <acpi pci="" bus="">on pcib2
    vgapci0: <vga-compatible display="">mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 24 at device 0.0 on pci2
    atapci0: <via ata="" controller="">port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f,0xd000-0xd0ff irq 21 at device 15.0 on pci0
    atapci0: [ITHREAD]
    ata2: <ata 0="" channel="">on atapci0
    ata2: [ITHREAD]
    ata3: <ata 1="" channel="">on atapci0
    ata3: [ITHREAD]
    atapci1: <via ata="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0
    ata0: <ata 0="" channel="">on atapci1
    ata0: [ITHREAD]
    ata1: <ata 1="" channel="">on atapci1
    ata1: [ITHREAD]
    uhci0: <via 83c572="" usb="" controller="">port 0xc480-0xc49f irq 20 at device 16.0 on pci0
    uhci0: [GIANT-LOCKED]
    uhci0: [ITHREAD]
    usb0: <via 83c572="" usb="" controller="">on uhci0
    usb0: USB revision 1.0
    uhub0: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usb0
    uhub0: 2 ports with 2 removable, self powered
    uhci1: <via 83c572="" usb="" controller="">port 0xc800-0xc81f irq 22 at device 16.1 on pci0
    uhci1: [GIANT-LOCKED]
    uhci1: [ITHREAD]
    usb1: <via 83c572="" usb="" controller="">on uhci1
    usb1: USB revision 1.0
    uhub1: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usb1
    uhub1: 2 ports with 2 removable, self powered
    uhci2: <via 83c572="" usb="" controller="">port 0xc880-0xc89f irq 21 at device 16.2 on pci0
    uhci2: [GIANT-LOCKED]
    uhci2: [ITHREAD]
    usb2: <via 83c572="" usb="" controller="">on uhci2
    usb2: USB revision 1.0
    uhub2: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usb2
    uhub2: 2 ports with 2 removable, self powered
    uhci3: <via 83c572="" usb="" controller="">port 0xcc00-0xcc1f irq 23 at device 16.3 on pci0
    uhci3: [GIANT-LOCKED]
    uhci3: [ITHREAD]
    usb3: <via 83c572="" usb="" controller="">on uhci3
    usb3: USB revision 1.0
    uhub3: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usb3
    uhub3: 2 ports with 2 removable, self powered
    ehci0: <via vt6202="" usb="" 2.0="" controller="">mem 0xf7fffc00-0xf7fffcff irq 21 at device 16.4 on pci0
    ehci0: [GIANT-LOCKED]
    ehci0: [ITHREAD]
    usb4: EHCI version 1.0
    usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
    usb4: <via vt6202="" usb="" 2.0="" controller="">on ehci0
    usb4: USB revision 2.0
    uhub4: <via 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usb4
    uhub4: 8 ports with 8 removable, self powered
    isab0: <pci-isa bridge="">at device 17.0 on pci0
    isa0: <isa bus="">on isab0
    pcib3: <acpi pci-pci="" bridge="">at device 19.1 on pci0
    pci3: <acpi pci="" bus="">on pcib3
    skc0: <d-link dge-530t="" gigabit="" ethernet="">port 0xe800-0xe8ff mem 0xfebfc000-0xfebfffff irq 17 at device 4.0 on pci3
    skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
    sk0: <marvell semiconductor,="" inc.="" yukon="">on skc0
    sk0: Ethernet address: 00:17:9a:06:09:95
    miibus0: <mii bus="">on sk0
    e1000phy0: <marvell 88e1011="" gigabit="" phy="">PHY 0 on miibus0
    e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
    skc0: [ITHREAD]
    em0: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.7.3="">port 0xec00-0xec3f mem 0xfeba0000-0xfebbffff,0xfeb80000-0xfeb9ffff irq 18 at device 5.0 on pci3
    em0: Ethernet address: 00:1b:21:13:de:3e
    em0: [FILTER]
    em1: <intel(r) 1000="" pro="" network="" connection="" version="" -="" 6.7.3="">port 0xe480-0xe4bf mem 0xfeb40000-0xfeb5ffff,0xfeb20000-0xfeb3ffff irq 19 at device 6.0 on pci3
    em1: Ethernet address: 00:1b:21:12:33:a0
    em1: [FILTER]
    ath0: <atheros 5212="">mem 0x7ebe0000-0x7ebeffff irq 16 at device 7.0 on pci3
    ath0: [ITHREAD]
    ath0: unable to attach hardware; HAL status 3
    device_attach: ath0 attach returned 6
    acpi_button0: <sleep button="">on acpi0
    acpi_button1: <power button="">on acpi0
    speaker0: <pc speaker="">port 0x61 on acpi0
    sio0: configured irq 4 not in bitmap of probed irqs 0
    sio0: port may not be enabled
    sio0: configured irq 4 not in bitmap of probed irqs 0
    sio0: port may not be enabled
    sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
    sio0: type 16550A
    sio0: [FILTER]
    pmtimer0 on isa0
    orm0: <isa option="" roms="">at iomem 0xcf000-0xcffff,0xd0000-0xd0fff pnpid ORM0000 on isa0
    atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
    atkbd0: <at keyboard="">irq 1 on atkbdc0
    kbd0 at atkbd0
    atkbd0: [GIANT-LOCKED]
    atkbd0: [ITHREAD]
    ppc0: parallel port not found.
    sc0: <system console="">at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sio1: configured irq 3 not in bitmap of probed irqs 0
    sio1: port may not be enabled
    vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    Timecounters tick every 1.000 msec
    Fast IPsec: Initialized Security Association Processing.
    hptrr: no controller detected.
    ad4: 76319MB <samsung hd080hj="" wt100-33="">at ata2-master UDMA33
    SMP: AP CPU #1 Launched!
    Trying to mount root from ufs:/dev/ad4s1a
    em0: link state changed to UP
    em0: link state changed to DOWN
    sk0: link state changed to UP
    sk0: link state changed to DOWN
    em1: link state changed to UP
    bridge0: Ethernet address: 22:8a:06:a5:0c:f2
    em1: link state changed to DOWN
    em1: promiscuous mode enabled
    em0: promiscuous mode enabled
    pflog0: promiscuous mode enabled
    sk0: link state changed to UP
    em1: link state changed to UP
    em0: link state changed to UP
    sk0: promiscuous mode enabled</samsung></generic></system></at></keyboard></isa></pc></power></sleep></atheros></intel(r)></intel(r)></marvell></mii></marvell></d-link></acpi></acpi></isa></pci-isa></via></via></via></via></via></via></via></via></via></via></via></via></via></via></via></ata></ata></via></ata></ata></via></vga-compatible></acpi></acpi></acpi></acpi></acpi></acpi></cpu></enhanced></acpi></cpu></enhanced></acpi></a></lm></sse3,rsvd2,mon,ds_cpl,est,cnxt-id,cx16,xtpr></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe> 
    ```</atheros>


  • I believe this is the NIC showing up bellow.  It's a D-Link DWL-G520
    ath0: <atheros 5212="">mem 0x7ebe0000-0x7ebeffff irq 16 at device 7.0 on pci3
    ath0: [ITHREAD]
    ath0: unable to attach hardware; HAL status 3
    device_attach: ath0 attach returned 6</atheros>

    Yes, that NIC won't be visible because the ath driver wasn't entirely happy with it.

    You might get further by using a pfSense built on a more modern FreeBSD. Try one of the recent 1.2.3 snapshot builds which can be downloaded from http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/


Log in to reply