OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: fastjp on August 21, 2019, 04:22:33 am

Title: No nics detected
Post by: fastjp on August 21, 2019, 04:22:33 am
Hello I am new to OPNsense but experienced with it's previous fork (do not want to say name don't know if it's allowed but you know what I am talking about). I have previous fork installed on Unraid as vm working just fine. I wanted to try OPNsense since I heard good things about it. I installed succesfully no problems but no nics are detected. I have 2 Intel I211 nics assigned to the vm not being used by anything else that are not being detected by OPNsense. Any help or suggestions would be appreciated. Thanks
Title: Re: No nics detected
Post by: firewall on August 21, 2019, 05:18:17 am
This kind of problem is almost always at the VM mgmt layer, and particularly so with Intel hardware.  I suggest you check your settings there first.
Title: Re: No nics detected
Post by: fastjp on August 21, 2019, 06:56:21 am
I checked my settings and they are exactly the same as previous fork install that works no problems. I turn that off then start OPNsense boots up all the way no issues but the I211 nics not recognized. They are resetable so I'm not sure what is wrong or what I could change in settings to make them get recognized.
Title: Re: No nics detected
Post by: chrz on August 23, 2019, 01:32:31 am
I've got the same problem. In my case "HP NC365T Quad Port" is not recognized. I'm also using OPNsense as VM on Unraid. As workaround I'm using kernel from previous OPNsense release and than everything is properly recognized:

Code: [Select]
root@home-fw:/ # opnsense-version
OPNsense 19.7.2 (amd64/OpenSSL)

root@home-fw:/ # uname -a
FreeBSD home-fw.internal 11.2-RELEASE-p10-HBSD FreeBSD 11.2-RELEASE-p10-HBSD  5e5adf26fc3(stable/19.1)  amd64

root@home-fw:/ # pciconf -lv | grep -A4 igb
igb0@pci0:4:0:0: class=0x020000 card=0x1780103c chip=0x150e8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82580 Gigabit Network Connection'
    class      = network
    subclass   = ethernet
igb1@pci0:5:0:0: class=0x020000 card=0x1780103c chip=0x150e8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82580 Gigabit Network Connection'
    class      = network
    subclass   = ethernet
igb2@pci0:6:0:0: class=0x020000 card=0x1780103c chip=0x150e8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82580 Gigabit Network Connection'
    class      = network
    subclass   = ethernet
igb3@pci0:7:0:0: class=0x020000 card=0x1780103c chip=0x150e8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82580 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

But for sure it's not long term solution  :-\
Title: Re: No nics detected
Post by: hbc on August 23, 2019, 09:50:59 am
Maybe the NIC driver is not compiled into kernel. You just have to load it manually.

My chelsio T540 quadport 10G cards are also not recognized until I load the driver (cxgbe).

Fot testing you can use:

Code: [Select]
# kldload <drivername>
e.g.
# kldload if_cxgbe

When this works, you can insert it into /boot/loader.conf.local for boot time loading.

Code: [Select]
if_<drivername>_load="YES"
e.g.
if_cxgbe_load="YES"

Available driver modules can be found in /boot/kernel