TP-Link AC600 Archer T2U Nano Driver

Hello. I recently setup my Apple TV with OSMC 2017-01-1 (as later versions don’t support the Crystal HD decoder card). I have a TP-Link AC600 T2U Nano (small form factor USB wifi adapter) that I’d like to use, but the 8812au drivers are not built in.

This guide shows how to install the drivers for Ubuntu, which should work for Debian, but I’m running into issues:
https://ostechnix.com/install-tp-link-ac600-archer-t2u-nano-wifi-usb-adapter-in-linux/#install-tp-link-ac600-archer-t2u-nano-on-ubuntu

When I run “sudo make dkms_install” I get:

Your kernel headers for kernel 4.2.3-22-osmc cannot be found at
/lib/modules/4.2.3-22-osmc/build or /lib/modules/4.2.3-22-osmc/source.

I saw one other thread here about someone asking about the headers, but no solution. I’m not very Linux or Make savvy, but I figure that someone had to have had the headers in the past to be able to compile other drivers for ATV.

Is there any way to accomplish this?

Hi

That article was written in 2021 and it looks the dongle was released end of year 2019.
Have you checked they have support for 4.2 kernel?

Your error doesn’t indicate that this will be a problem, just that headers and sources are missing, but I think it’s worth checking if they will support this kernel before proceeding.

Sam

The oldest branch in that driver git appears to be created in 2016 and is based off of the Realtek drivers from then. It does specifically have a mention of supporting “>4.14 kernel”. So I suppose the actual dongle is based off a chipset from 2016 if not older.

From:

Then it’s unlikely to work on 4.2 kernel

Well, “adding support” for 4.14 kernel. I just mean that’s the oldest specific kernel version in the commit summaries I saw. But I don’t know what the oldest supported is.

I can’t seem to find any minimum Linux kernel version for the aircrack git:

But it appears another fork of the save driver mentions the driver is from 2013 and supports Linux >3.10:

So it seems like it will work if we have the ATV OSMC headers. What would the next step be?

The APT repo for ATV is since removed.
But you could get the headers and entire kernel from sources

Sam

From what sources? Sorry, I’m not very savvy with it. I can’t seem to even find the ATV branch of OSMC if it’s still out there

See GitHub - osmc/osmc: OSMC (Open Source Media Center) is a free and open source media center distribution

You would need to check out an old tag / release which has ATV support.

Sam