OPNsense Forum

English Forums => Hardware and Performance => Topic started by: 2Stoned on May 15, 2020, 09:52:36 PM

Title: AQC107 NIC not listed
Post by: 2Stoned on May 15, 2020, 09:52:36 PM
Hi there

I'm trying to setup OPNsense in a KVM VM under Arch Linux. I would like to use the firewall for the host and other VMs. So internally I'd like to use vswitches. However, on the WAN  side I'd like to use a physical NIC. But my passed-through Aquantia AQC107 won't show up. I installed OPNsense, but haven't done any configuration yet. When assigning interfaces I only see a vNIC.

Is this a known issue due to missing drivers or should I look somewhere else?

Any hints that could resolve this issue are highly appreciated. :)
Thank you very much in advance!
Title: Re: AQC107 NIC not listed
Post by: hbc on May 15, 2020, 11:40:04 PM
Check whether driver is included and run
# kldload if_atlantic.ko
on CLI. If nic gets listed, add a load option to /boot/loader.conf.local
Title: Re: AQC107 NIC not listed
Post by: 2Stoned on May 16, 2020, 11:19:50 PM
Thank you very much @hbc for your reply. The command returns:
kldload: can't load if_atlantic.ko: No such file or directoy

How can I insert the driver at this point?

Thank you very much in advance.
Title: Re: AQC107 NIC not listed
Post by: hbc on May 16, 2020, 11:47:33 PM
Type
# sysctl kern.module_path
or
# kldconfig -r

to get the module path and check for the module. If it's listed, add path to kdload command. If not listed, then drivers for your nic are not compiled in.
Title: Re: AQC107 NIC not listed
Post by: 2Stoned on May 17, 2020, 01:38:32 PM
Thank you for you assistance!

The paths are:
/boot/kernel
/boot/modules
/boot/dtb
/boot/dtb/overlays


Have can I read these files? Nano is not installed and vi just returned garbage. :/

Sorry, I never used a *BSD based OS...
Title: Re: AQC107 NIC not listed
Post by: hbc on May 17, 2020, 10:25:43 PM
These are directories. Just use ls to list its content.
Title: Re: AQC107 NIC not listed
Post by: 2Stoned on May 18, 2020, 10:07:26 PM
This does not speak for my deductive skills... :o The presence of /boot/dtb/overlays would have told me that...

Unfortunately, a if_atlantic.ko is nowhere to be seen.
There is a freeBSD driver available on the aquantia Website. (Or at least a zip package with a makefile) How can I add it to the VM / the install ISO?

Thank you for your patience! Very kind of you!
Title: Re: AQC107 NIC not listed
Post by: monty11ez on May 26, 2020, 10:32:55 PM
The port for aquantia-atlantic-kmod should be available to install with pkg if you can pass in another NIC to your VM.