【Linux】Aquantia AQC107 网卡驱动安装

Posted by 西维蜀黍 on 2021-04-24, Last Modified on 2021-09-21
# Make sure you have all the packages required to build a standalone kernel module.
sudo apt install build-essential
sudo apt-get install linux-headers-`uname -r`

# Untar/unzip archive:

cd Aquantia-AQtion-x.y.z/

# Compile the driver module:
$ make

# Load the dependencies and the module itself:
$ sudo make load
	
# Unload the driver, if an older version is in use:
# $ sudo rmmod atlantic
	
# Load the module: 
$ sudo insmod atlantic.ko

# Install the driver
$ sudo make install

# check your kernel version
$ uname -r
5.8.0-50-generic

# Install the driver in the system
$ sudo make && sudo make install

Leaving directory '/usr/src/linux-headers-5.8.0-50-generic'

Check that the driver is working

Verify ethernet interface appears:

$ ifconfig -a

If not new interface appears, check dmesg output. If you see “Bad firmware detected” please update firmware on your ethernet card.

$ dmesg -T | grep "atlantic"

Reference


TOC