# Installing ACQ107 drivers on IPFire

**URL:** <https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161>\
**Category:** Hardware\
**Created:** [3 May 2020 20:34 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161 "2020-05-03T20:34:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [3 May 2020 20:34 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/1 "2020-05-03T20:34:23Z")

</div>

Greetings all.

I recently built my own pfSense box to replace my Asus router at home and wanted to install IPFire to give it a try to seen which one I prefer. I’ve got everything working except the Aquantia AQC107 NIC (2 of them). I know this card has a working linux driver since I’m using the same card in a home server running linux (Ubuntu Server since 18.04, currently 20.04). I’ve never had to install the driver so I didn’t expect to have to with IPFire but it looks like its not included. I have tried compiling and installing the driver but it seems like it needs to be signed and none of the tools to do so are available on the IPfire box. At this point I’m wondering if I’m doing something wrong so I thought I’d post up here and ask what the proper method of getting this card working is.

The card in question is:  
Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)

Any help appreciated.  
Thanks

---

<div class="post-metadata">

**Author:** ![sweetman-1](https://community.ipfire.org/user_avatar/community.ipfire.org/sweetman-1/32/16287_2.png) [@sweetman-1](https://community.ipfire.org/u/sweetman-1)\
**Post date:** [3 May 2020 20:46 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/2 "2020-05-03T20:46:29Z")

</div>

Hi,

I will admit upfront that am a total newbie to IPFire myself but upon checking the Wiki Pages for the list of compatibile cards (found here \>\>\>\> [https://wiki.ipfire.org/hardware/networking](https://wiki.ipfire.org/hardware/networking)) I cannot actually find your card listed so not sure that it will ever work.

It does also say on this link ’ If you can not find any information about your network card on the wiki, please begin a thread in the [appropriate forum](https://community.ipfire.org/c/hardware/12).’ so hopefully someone can advise you properly.

Regards

S

---

<div class="post-metadata">

**Author:** ![pike\_it](https://community.ipfire.org/user_avatar/community.ipfire.org/pike_it/32/16425_2.png) [@pike\_it](https://community.ipfire.org/u/pike_it)\
**Post date:** [3 May 2020 22:50 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/3 "2020-05-03T22:50:12Z")

</div>

Is your card a 2.5G Ethernet device, @gcolds?  
Which kernel are you using on your server?

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [3 May 2020 23:43 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/4 "2020-05-03T23:43:58Z")

</div>

It’s a 10G Ethernet device. I’m using ubuntu 20.04 on the server with kernel 5.4.

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [4 May 2020 06:34 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/5 "2020-05-04T06:34:43Z")

</div>

After poking around some more, I found that the driver for my card indeed seems to be there. I tried starting it with ‘modprobe atlantic’. The module seems to load but ‘ip a’ does not show any new interfaces brought up. Any idea what I should do next?

-Greg

---

<div class="post-metadata">

**Author:** ![arne\_f](https://community.ipfire.org/user_avatar/community.ipfire.org/arne_f/32/12760_2.png) [@arne\_f](https://community.ipfire.org/u/arne_f)\
**Post date:** [5 May 2020 06:54 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/6 "2020-05-05T06:54:13Z")

</div>

Please post the PCI vendor and device ID’s  
you can check this with lspci -n

---

<div class="post-metadata">

**Author:** ![krasnal](https://community.ipfire.org/user_avatar/community.ipfire.org/krasnal/32/345_2.png) [@krasnal](https://community.ipfire.org/u/krasnal)\
**Post date:** [5 May 2020 08:07 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/7 "2020-05-05T08:07:01Z")

</div>

Did you ever get this to work?

Generally, on Linux systems, if the driver isn’t automatically picked up during startup, you’ll need to add the driver name to a file with a name like /etc/modules. (On ipFire that would be /etc/modules.conf.) Then reboot.

---

<div class="post-metadata">

**Author:** ![arne\_f](https://community.ipfire.org/user_avatar/community.ipfire.org/arne_f/32/12760_2.png) [@arne\_f](https://community.ipfire.org/u/arne_f)\
**Post date:** [5 May 2020 09:50 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/8 "2020-05-05T09:50:23Z")

</div>

No I don’t have such card. I ask for the ID’s to look inside the driver. Sometimes such ID’s are simply missing in older kernel versions and can easily added.

Manually load a driver will not work. Drivers contain a list of supported hardware ID’s.

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 15:44 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/9 "2020-05-05T15:44:40Z")

</div>

‘lspci -n’ output for the 2 cards is:  
05:00.0 0200: 1d6a:87b1 (rev 02)  
06:00.0 0200: 1d6a:07b1 (rev 02)

‘lspci’ gives me this output for the cards in question if it helps:  
05:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)  
06:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 15:48 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/10 "2020-05-05T15:48:03Z")

</div>

I added  
alias aq0 atlantic  
alias aq1 atlantic

to my /etc/modprobe.conf file but it did not seem to have any effect after multiple reboots. I don’t even see atlantic driver loaded when I do lsmod.

-Greg

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 15:48 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/11 "2020-05-05T15:48:58Z")

</div>

Where do I add the id’s?

-Greg

---

<div class="post-metadata">

**Author:** ![krasnal](https://community.ipfire.org/user_avatar/community.ipfire.org/krasnal/32/345_2.png) [@krasnal](https://community.ipfire.org/u/krasnal)\
**Post date:** [5 May 2020 15:51 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/12 "2020-05-05T15:51:41Z")

</div>

Just add the module name `atlantic` and remove the aliases. Then reboot. If it doesn’t work, check /var/log/messages for clues.

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 18:01 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/13 "2020-05-05T18:01:27Z")

</div>

I made the change and it didn’t work. lsmod does not show the module loaded and /var/log/messages does not show any messages related the atlantic module loading or failing to load. I don’t see any other unexpected messages regarding interfaces. I doesn’t look like it even tried to start the module.

-Greg

---

<div class="post-metadata">

**Author:** ![krasnal](https://community.ipfire.org/user_avatar/community.ipfire.org/krasnal/32/345_2.png) [@krasnal](https://community.ipfire.org/u/krasnal)\
**Post date:** [5 May 2020 18:42 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/14 "2020-05-05T18:42:52Z")

</div>

modinfo shows that the atlantic driver supports the following VID:PID combinations:

```
1D6A:D109
1D6A:D108
1D6A:D107
1D6A:D100
1D6A:0001

```

I see that you provided two VID:PIDs of two cards

```
05:00.0 0200: 1d6a:87b1 (rev 02)
06:00.0 0200: 1d6a:07b1 (rev 02)

```

so you have a problem. There is a hack that might work but it usually requires you to plug the device in after running a command, so more suitable for USB devices. It might also cause instabiity on ipFire, but will be cleared after a reboot, so is relatively safe. You need to run the following commands:

```
modprobe atlantic 
echo "1d6a 87b1" > /sys/module/atlantic/drivers/pci:atlantic/new_id

```

You might be able to power the device off/on but you’d need to experiment. See [https://askubuntu.com/questions/4546/how-do-i-turn-off-pci-devices](https://askubuntu.com/questions/4546/how-do-i-turn-off-pci-devices) for some ideas.

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 19:35 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/15 "2020-05-05T19:35:50Z")

</div>

I have 2 ACQ107 10G cards in my box. That’s why there are 2 ids, there is no mistake. IPFire is seeing PCI devices.  
I’ll give the commands a try.

-Greg

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 19:54 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/16 "2020-05-05T19:54:31Z")

</div>

Ok, this problem is making me feel like quite the newbie.

I keep getting:  
-bash: echo: write error: Invalid argument  
when I try to echo the id to the new\_id file. I’ve tried changing permissions but still I get the same message.

-Greg

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 20:16 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/17 "2020-05-05T20:16:04Z")

</div>

I tried  
echo 1d6a 87b1 \> /sys/module/atlantic/drivers/pci:atlantic/new\_id  
and that didn’t return an error, but I still don’t see a new interface.

-Greg

---

<div class="post-metadata">

**Author:** ![krasnal](https://community.ipfire.org/user_avatar/community.ipfire.org/krasnal/32/345_2.png) [@krasnal](https://community.ipfire.org/u/krasnal)\
**Post date:** [5 May 2020 20:16 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/18 "2020-05-05T20:16:23Z")

</div>

Aargh!. It’s a formatting glitch. Markdown (I think that’s what we’re using) has transformed doubl quotes into 66/99 quotes. I’ll edit it for posterity but just change the quotes and it should work. Yep, you can omit them too.

---

<div class="post-metadata">

**Author:** ![krasnal](https://community.ipfire.org/user_avatar/community.ipfire.org/krasnal/32/345_2.png) [@krasnal](https://community.ipfire.org/u/krasnal)\
**Post date:** [5 May 2020 20:17 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/19 "2020-05-05T20:17:50Z")

</div>

> [@gcolds](#):
>
> but I still don’t see a new interface.

As already mentioned, you’d probably need to stop/start the card.

---

<div class="post-metadata">

**Author:** ![gcolds](https://community.ipfire.org/user_avatar/community.ipfire.org/gcolds/32/4720_2.png) [@gcolds](https://community.ipfire.org/u/gcolds)\
**Post date:** [5 May 2020 20:32 UTC](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161/20 "2020-05-05T20:32:27Z")

</div>

It’s still not working but I’m seeing some error messages finally in /var/log/messages.

May 5 16:29:19 phoenix kernel: atlantic 0000:05:00.0: enabling device (0000 -\> 0002)  
May 5 16:29:19 phoenix kernel: atlantic: probe of 0000:05:00.0 failed with error -12  
May 5 16:29:19 phoenix kernel: atlantic: probe of 0000:06:00.0 failed with error -12

I’m googling what they mean now.

-Greg

[Next page](https://community.ipfire.org/t/installing-acq107-drivers-on-ipfire/2161.md?page=2)
