I've used Ubuntu in the past and have moved just now to Debian for first time.
The internal wireless on my laptop does not work, so I bought a wireless adapter that's supposed
to be Linux compatible. The model is TL-WN725N (tp-link)
I've discovered the manufacturer does not provide an official driver for Debian.
Searched online, and found : https://github.com/ilnanny/TL-WN725N-TP-Link-Debian
I assumed (hope) that this was trustworthy, so following the instructions for install -
Dependencies :
----------------------
0. I've run apt update, apt upgrade and apt dist-upgrade : they seem to be saying everything is up-to-date
1. I think I managed to install build-essential
2. apt-get install linux-headers-$(uname -r) : this has been a problem, I'm assuming this is the point where am stuck at the moment. I've detailed my attempt at the end,
since I've not been able to resolve #2 well, I hoped the headers were present, went ahead and cloned the repository, moved to the directory and ran : make all
I get this from the terminal :
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-3-amd64/build M=/home/kaushan/TL-WN725N-TP-Link-Debian modules
make[1]: *** /lib/modules/5.9.0-3-amd64/build: No such file or directory. Stop.
make: *** [Makefile:147: modules] Error 2
I don't get this error well but assumed it was header file related.
-------------------------------------------------------------------------------------
When I run- apt-get install linux-headers-$(uname -r) I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.9.0-3-amd64
E: Couldn't find any package by glob 'linux-headers-5.9.0-3-amd64'
E: Couldn't find any package by regex 'linux-headers-5.9.0-3-amd64'
I searched for solution online, running- apt-cache search linux-headers -prints a list
there is no entry specifically ( linux-headers-5.9.0-3-amd64 )
there are headers entries for version 4 but not 5.
uname -r prints out : 5.9.0-3-amd64
I believe I installed the Debian testing version - lsb_release -a prints as below:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: 10.7
Codename: buster
trying to install linux headers generic did not work.
Searching https://packages.debian.org :
I found Package linux-headers-5.9.0-3 ( but for sid (unstable) )
I found Package linux-headers-5.9.0-4-amd64 (but says bullseye not buster, and its 0-4 not 0-3 (?)
Is 0-3 included in 0-4? would it be compatible?
package manager seems to indicate, linux-headers-4.19.0-13-amd64 ,and, linux-headers-4.19.0-13-common
are installed by default
tried installing linux-headers-amd64, but 'make all' gave the same error
I'm not even sure its the headers that are the problem here. Can you please help, at least to clarify.
