Get Wake on LAN working on Linux with Atheros network adaptor

If you’re using an Atheros network adaptor and running Linux, you may have found that Wake on LAN (WOL) doesn’t work.

This is caused by a known bug/workaround to a previous Linux issue with Wake on LAN on Atheros network adaptors:

I’ve been monitoring this bug for some time now, but have frustrated that a permanent fix hasn’t made its way into the Linux kernel yet. I can however confirm that the latest fix on the site works, and wanted to share basic instructions for those not used to executing scripts in Linux (in my case Ubuntu).


1. Download the latest file from the above address
2. Extract the tarball somewhere
3. Open a terminal window, and navigate to the folder you extracted the files too
4. run “sudo ./setup”
5. The install should happen

Following a reboot, I was able to use Wake on LAN.

I hope this works for you too

Example output:

[email protected]:~/alx-dmks-installer$ sudo ./setup

Checking dependencies…


Downloading kernel source for 4.15 by git…

Cloning into ‘linux-4.15’…

remote: Counting objects: 66281, done.

remote: Compressing objects: 100% (63014/63014), done.

remote: Total 66281 (delta 5908), reused 23470 (delta 2273)

Receiving objects: 100% (66281/66281), 174.53 MiB | 1.31 MiB/s, done.

Resolving deltas: 100% (5908/5908), done.

Note: checking out ‘d8a5b80568a9cb66810e75b182018e9edb68e8ff’.

You are in ‘detached HEAD’ state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

Checking out files: 100% (62303/62303), done.


Preparing dkms module source…

Using 4.9+ patch…


Adding dkms module

Creating symlink /var/lib/dkms/alx/4.15/source ->


DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping…

Building module:

cleaning build area…(bad exit status: 2)

make -j4 KERNELRELEASE=4.15.0-43-generic -C /lib/modules/4.15.0-43-generic/build M=/var/lib/dkms/alx/4.15/build/src modules….

cleaning build area…(bad exit status: 2)

DKMS: build completed.


Running module version sanity check.

– Original module

– This kernel never originally had a module by this name

– Multiple same named modules!

– 2 named alx.ko in /lib/modules/4.15.0-43-generic/

– Installation

– Installing to /lib/modules/4.15.0-43-generic/updates/dkms/


DKMS: install completed.

[email protected]:~/alx-dmks-installer$


I'm passionate about technology, and particularly helping people make the most of it. I've spent the last 30 years helping others make the most of technology. My career started in IBM, but I choose to move into smaller business environments, to use a breadth of skills, and help businesses step change their IT services. My skills range from user based technology, through business systems (applications) to infrastructure. I also have a long background in IT security. I focus on what I consider to be "productive technology", i.e. adding genuine value to peoples lives. I'm not a big gamer, and don't hold much interest in what I consider to be disposable consumer technologies. During the day, you'll find me consulting with businesses or heading up an IT department. At the weekend, you'll find me sat at my Linux PC, writing PHP or Python code, or trying to help others on Twitter, this blog, or my YouTube channel: Artexic.