Ubuntu – Install atheros e2600 drivers

16.04atherosdriversethernetnetworking

I have got a laptop on ubuntu 16.04 and I can't configure the ethernet card …
I don't have wifi and ethernet connexion…
I believe that it is a atheros e2600 but I am not sure.

when I type modinfo alx I have this :

    filename:       /lib/modules/4.4.0-31-generic/kernel/drivers/net/ethernet/atheros/alx/alx.ko
license:        GPL
description:    Qualcomm Atheros(R) AR816x/AR817x PCI-E Ethernet Network Driver
author:         Qualcomm Corporation, <nic-devel@qualcomm.com>
author:         Johannes Berg <johannes@sipsolutions.net>
srcversion:     25B6ABE36E6CB50C1A7E6DF
alias:          pci:v00001969d000010A0sv*sd*bc*sc*i*
alias:          pci:v00001969d000010A1sv*sd*bc*sc*i*
alias:          pci:v00001969d00001090sv*sd*bc*sc*i*
alias:          pci:v00001969d0000E0A1sv*sd*bc*sc*i*
alias:          pci:v00001969d0000E091sv*sd*bc*sc*i*
alias:          pci:v00001969d00001091sv*sd*bc*sc*i*
depends:        mdio
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions'

If I do lspci -nn I have this:

02:00.0 Network controller [0280]: Inter Corporation Device [8086:24fb] (rev 10)
03:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [1969:e0b1] (rev 10)

I have download linux-firmware_1.127.22_all.deb and installed doing:
sudo dpkg -i linux-firmware____.deb

I have tried this solution as weel:
[Is there any way to install Atheros e2400 drivers?

without success either.

I added :
enter code #define ALX_DEV_ID_E2600 0xe0b1
in reg.h
and :

{ PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_E2600),  .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },

in main.c

but when I do

`make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

(when I am in /ubuntu-xenial/drivers/net/ethernet/atheros/alx, is that where I should do it ?)
I don't have any error.
(make entering directory /usr/src/linux-headers-4.4.0-31-generic etc … and then make leaving directory same one)

but when I do :

sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) modules_install

I have an error:
"no such file: bss_file.c:178 sign-file: certs/signing_key.pem no such file or directory".

any Idea ?

Regards,

Best Answer

You should be able to

sudo modprobe alx
echo '1969 e0b1' | sudo tee /sys/bus/pci/drivers/alx/new_id
Then the ethernet should function so you can install the 4.8 kernel with

sudo apt-get install linux-generic-hwe-16.04

Reboot

If uname -a shows that you have x86_64 kernel you can download the following package using a computer with internet access

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe/linux-image-4.8.0-41-generic_4.8.0-41.44~16.04.1_amd64.deb

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe/linux-image-extra-4.8.0-41-generic_4.8.0-41.44~16.04.1_amd64.deb

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-meta-hwe/linux-image-generic-hwe-16.04_4.8.0.41.12_amd64.deb

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe/linux-headers-4.8.0-41_4.8.0-41.44~16.04.1_all.deb

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-meta-hwe/linux-headers-generic-hwe-16.04_4.8.0.41.12_amd64.deb

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-meta-hwe/linux-generic-hwe-16.04_4.8.0.41.12_amd64.deb

Copy them to the Desktop of the Ubuntu computer, then in terminal

cd Desktop

sudo dpkg -i *.deb

It should install the 4.8 kernel files, reboot when finished

Related Question