Ubuntu – Killer Ethernet 2400: no wired internet

driversethernetinternetnetworking

I have a Z170 Gaming K6 motherboard with a killer ethernet 2400. I have just installed Ubuntu but I'm not getting any internet even though I connected it with a wired connection to my router. I have looked around and found this post

Is there any way to install Atheros e2400 drivers?

and this link

http://www.killernetworking.com/support/knowledge-base/17-linux/21-killer-e2400-in-linux-ubuntu-debian

but I get stuck on the first few steps.

sudo apt-get source linux-image-$(uname-r)`

gives me the following error

E: You must put some 'source' URIs in you sources.list

Here is what happens when I use lspci:

sudo lspci -vvnn | grep Ehternet
06:00.0 Ethernet controller [0200]L Qualcomm Atheros Device [1969:e0a1] (rev 10)

and lshw gives me

sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:06:00.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list
configuration: latency=0
resources: memory: df100000-df13ffff ioport:c000(size=128)

Any help would be much appreciated! Thanks!

ifconfig tells me

Link encap: local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr:  ::1/128 SCope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:528 errors:0 dropped:0 overruns:0 frame:0
TX packets:528 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41936 (41.9 KB)  TX bytes:41936 (41.9 KB)

Best Answer

I suggest that you update the ethernet driver alx. Download this package to your desktop. Right-click it and select 'Extract Here.'

Then, go to the directory <extracted backport>/drivers/net/ethernet/atheros/alx/ and make changes in files reg.h and main.c as described here.

Now, back to the terminal:

sudo apt-get update
sudo apt-get install linux-headers-generic build-essential
cd ~/Desktop/backports-20151115
make defconfig-alx
make
sudo make install

Reboot and tell us if there is any improvement. We will probably have one more step.

Related Question