4

Is there anything you need to do to get this network card working in 18.04? It was working fine in 16.04 with the “atlantic” driver built from sources provided by Asus. After upgrading to 18.04, I can see that driver now seems to be included in Ubuntu, and I can see the card using lshw -class network, but syslog shows the ethernet link is down.

There were bigger issues with networking. It wouldn’t work with the built in gigabit ethernet port either. I had to setup netplan to get that working. However, for the 10G card, running “networkctl” it shows “no-carrier” / “configuring” for this interface, even if the ethernet cable is connected.

So I'm not sure if I@m missing something? Are there more steps to take to get it working? or is there a bug in the 18.04 atlantic driver?

Also, do I now need to remove any packages to get rid of the old style “ifup / ifdown” and avoid any conflicts with netplan?

cheers


Edit: I tried a fresh install of Ubuntu 18.04 Server, and the installer has the same problem (i.e. shows 'no-link' for this NIC).

As pointed out in the comments below by @binaryanomaly, there's a bug in the kernel supplied with 18.04 for this NIC. It's fixed in kernel 4.16.6.


Edit: added the /etc/netplan/01-network-manager-all.yaml file

# Let NetworkManager manage all devices on this system
network:
  version: 2
#  renderer: NetworkManager
  renderer: networkd
  ethernets:
    enp1s0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.0.12/24]
      gateway4: 192.168.0.1
      nameservers:
        addresses: [192.168.0.2,192.168.0.1]
    enp5s0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.0.11/24]
      gateway4: 192.168.0.1
      nameservers:
        addresses: [192.168.0.2,192.168.0.1]
Musaul
  • 141

3 Answers3

1

I have downloaded the driver from https://www.asus.com/Networking/XG-C100C/HelpDesk_download/ for my linux 32 bit

if you unpack the downloaded file and check asus/XG-C100C_v.5.0.1.6/LinuxDriver/Linux_2.0.15.0

From the readme file Building and Installation

To manually build this driver:

  1. Make sure you have all the environment to build standalone kernel module. On debian based systems you may do the following:

    sudo apt install linux-headers build-essential

  2. Move the base driver tar file to the directory of your choice. For example, use /home/username/aquantia. Untar/unzip archive:

    cd ~/aquantia tar zxf Aquantia-AQtion-x.y.z.tar.gz

  3. Change to the driver src directory:

    cd Aquantia-AQtion-x.y.z/

  4. Compile the driver module: make

  5. Load the module: sudo insmod atlantic.ko

  6. Unload the driver sudo rmmod atlantic

  7. Install the driver in the system make && make install

driver will be in:

/lib/modules/`uname -r`/aquantia/atlantic.ko
  1. Uninstall the driver: make uninstall or run the following commands: sudo rm -f /lib/modules/uname -r/aquantia/atlantic.ko depmod -a uname -r
Valentyn
  • 359
0

You do not need to remove any packages to eliminate ifup and ifdown from your system. These commands will only have an effect for network interfaces configured in /etc/network/interfaces. You can even have some interfaces managed through /etc/network/interfaces and some managed through netplan on the same system.

If your interface is showing as "no carrier", this is most likely a driver issue, not a netplan issue. You can rule out netplan by removing the interface from your yaml and attempting to configure it directly using ifconfig or ip.

slangasek
  • 5,828
0

Musaul had good information

in Kernel 4.15 and 14.16 you may encounter instability due to Debian kernel incompatibility with dirty wake WOL feature in the firmware of XG-C100C.

Details in comment 41 of kernel bug #199177

Workaround might be included with Kernel 4.16.6 in release app june 2018, so make sure you avoid kernel between 4.15.16 and 4.16.5 with your network card.

Pablo Bianchi
  • 17,371
rhummie
  • 11