OPNsense on Dell Optiplex 7040

Started by rbabruce, April 12, 2024, 07:24:49 AM

Previous topic - Next topic
I am new to both OPNsense and FreeBSD
I am looking at using OPNsense to replace my Netgear utm9s
have install it on a Dell Optiplex 7040 with an I7 processor.
I have install 3 extra NIC cards in the pc but can only see two of them.

I believe I am missing some chipset drivers for this desktop to support the PCI16 slot

any assistance appreciated.

The output of pciconf -lv would be helpful.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thanks for the command, Patrick.

Can you please let me know how I can capture the output to send it to you

Robert

Copy and paste? Login via SSH, of course ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Managed to capture it to a txt file

(not bad for first time in any form of linux OS)

Just paste the text in the forum post included in code tags like so:

here
goes
your
output
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

April 12, 2024, 09:11:32 AM #6 Last Edit: April 12, 2024, 09:14:16 AM by rbabruce
hostb0@pci0:0:0:0: class=0x060000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x191f subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 rev=0x07 hdr=0x01 vendor=0x8086 device=0x1901 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '6th-10th Gen Core Processor PCIe Controller (x16)'
    class      = bridge
    subclass   = PCI-PCI
vgapci0@pci0:0:2:0: class=0x030000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x1912 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = 'HD Graphics 530'
    class      = display
    subclass   = VGA
xhci0@pci0:0:20:0: class=0x0c0330 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa12f subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller'
    class      = serial bus
    subclass   = USB
pchtherm0@pci0:0:20:2: class=0x118000 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa131 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family Thermal Subsystem'
    class      = dasp
none0@pci0:0:22:0: class=0x078000 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa13a subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family MEI Controller'
    class      = simple comms
ahci0@pci0:0:23:0: class=0x010400 rev=0x31 hdr=0x00 vendor=0x8086 device=0x2822 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = 'SATA Controller [RAID mode]'
    class      = mass storage
    subclass   = RAID
pcib2@pci0:0:28:0: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0xa110 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:6: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0xa116 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib5@pci0:0:29:0: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0xa118 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa146 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = 'Q170 Chipset LPC/eSPI Controller'
    class      = bridge
    subclass   = PCI-ISA
none1@pci0:0:31:2: class=0x058000 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa121 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family Power Management Controller'
    class      = memory
hdac0@pci0:0:31:3: class=0x040300 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa170 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family HD Audio Controller'
    class      = multimedia
    subclass   = HDA
ichsmb0@pci0:0:31:4: class=0x0c0500 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa123 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = '100 Series/C230 Series Chipset Family SMBus'
    class      = serial bus
    subclass   = SMBus
em3@pci0:0:31:6: class=0x020000 rev=0x31 hdr=0x00 vendor=0x8086 device=0x15b7 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection (2) I219-LM'
    class      = network
    subclass   = ethernet
pcib3@pci0:2:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x104c device=0x8240 subvendor=0x1028 subdevice=0x06b9
    vendor     = 'Texas Instruments'
    device     = 'XIO2001 PCI Express-to-PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
em0@pci0:3:0:0: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1010 subvendor=0x8086 subdevice=0x1012
    vendor     = 'Intel Corporation'
    device     = '82546EB Gigabit Ethernet Controller (Copper)'
    class      = network
    subclass   = ethernet
em1@pci0:3:0:1: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1010 subvendor=0x8086 subdevice=0x1012
    vendor     = 'Intel Corporation'
    device     = '82546EB Gigabit Ethernet Controller (Copper)'
    class      = network
    subclass   = ethernet
em2@pci0:4:0:0: class=0x020000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x10b9 subvendor=0x8086 subdevice=0x1083
    vendor     = 'Intel Corporation'
    device     = '82572EI Gigabit Ethernet Controller (Copper)'
    class      = network
    subclass   = ethernet

There seem to be 3 Ethernet interfaces, namely em0, em1 and em2. What's the output of

ifconfig -a

?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

April 12, 2024, 09:22:43 AM #8 Last Edit: April 12, 2024, 09:24:27 AM by rbabruce
Yes, 4 are showing but i have 6 in the machine
one on MB, single in one slot and 2 dual port cards, one dual port card is not active

All 6 work under windows after I installed a chipset driver

em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: LAN (lan)
options=4800028<VLAN_MTU,JUMBO_MTU,NOMAP>
ether 00:04:23:a8:c1:be
inet6 fe80::204:23ff:fea8:c1be%em0 prefixlen 64 tentative scopeid 0x1
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
em1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: WAN (wan)
options=4800028<VLAN_MTU,JUMBO_MTU,NOMAP>
ether 00:04:23:a8:c1:bf
inet6 fe80::204:23ff:fea8:c1bf%em1 prefixlen 64 scopeid 0x2
media: Ethernet autoselect
status: no carrier
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
em2: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: WAN (wan)
options=4800028<VLAN_MTU,JUMBO_MTU,NOMAP>
ether 00:1b:21:20:a8:bc
inet6 fe80::21b:21ff:fe20:a8bc%em2 prefixlen 64 scopeid 0x3
media: Ethernet autoselect
status: no carrier
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em3: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: WAN (wan)
options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
ether f4:8e:38:a5:80:7e
inet 192.168.10.145 netmask 0xffffff00 broadcast 192.168.10.255
inet6 fe80::f68e:38ff:fea5:807e%em3 prefixlen 64 scopeid 0x4
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0<> metric 0 mtu 1536
groups: enc
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
syncpeer: 0.0.0.0 maxupd: 128 defer: off
syncok: 1
groups: pfsync
pflog0: flags=20100<PROMISC,PPROMISC> metric 0 mtu 33160
groups: pflog

So where is the rest of the pciconf -lv output? :)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

That was the entire output, which is why i believe there is a chipset driver missing from the system.

I see - I missed em3 which is above em0 in the list.

Unfortuately there is no such thing as a "chipset driver" that can be installed after the fact like in Windows. Either the hardware is supported by the FreeBSD kernel or it isn't.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

just reading the release notes for FreeBSD 13.3 which says (current Vers 13.2)

Device Drivers
Multiple PCI MCFG regions are now supported on x86 systems, enabling support for PCI config access for domains (segments) other than 0. 0fb0306a89ad

Any chance that this is the issue and is it worth upgrading to it.

You can try booting a standard FreeBSD 13.3 and check if it recognises the interfaces. For OPNsense you will have to wait for the next release 24.7. You cannot upgrade components of OPNsense individually. Well you can sort of "hack it", but the changes will be reverted by every OPNsense update and potentially result in a non-functioning setup, anyway.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

OK will wait for the 24.7 release, any idea on an ETA for it