Ver en ESPAÑOL
NOTE: This script has been tested in Canaima GNU / Linux 3.0 (Debian Squeeze) but in theory should be valid for most distributions.
Some time ago I’ve been fighting with linux and my WiFi antenna TP-LINK TL-WN722N, because every time I update the kernel or do a fresh install of Linux wifi is disabled because the kernel does not have the drivers.
That is why I decided to automate the process and also help those who have the same problem as me with this antenna.
I developed a small console program that does all the installation process and all you have to do is insert the antenna once the process end. It is noteworthy that I have developed in the English language as it may be useful not only to Spanish-speaking users but also from other parts of the planet.
The source code of the program is totally free and you can find here:
https://github.com/erickcion/tlwn722n-linux-install
If you do not use git or just want to download a zipped package, use this link:
Download the latest version
To execute, just unzip the package you downloaded and into the console go to the unzipped folder. Then you give the script execute permissions and run «install.sh» as root and the party should begin … example:
$ cd unzipped_folder_name $ chmod +x ./install.sh $ su root -c ./install.sh
If you have any problems, suggestions or comments i will be grateful to receive it.
I hope you find it useful.
Other Devices Compatible with Driver «ath9k_htc» Linux
As promised, here is the list of devices supported by the driver for linux ath9k_htc up to 08/May/2012, so if you have any of these devices, the installer should work to activate it:
Vendor | Product | Chipset | USB Vendor | USB Product | MaxPower |
Atheros | AR7010 | 0x0cf3 | 0x7010 | ||
Atheros | AR7010+AR9287 | 0x0cf3 | 0x7015 | ||
Azurewave | AR9271 | 0x13d3 | 0x3327 | ||
Azurewave | AR9271 | 0x13d3 | 0x3328 | ||
D-Link | 150 | AR9271 | 0x07d1 | 0x3a10 | |
LiteOn | AR9271 | 0x04ca | 0x4605 | ||
Netgear | WNA1100 | AR9271 | 0x0846 | 0x9030 | |
Netgear | WNDA3200 | AR7010+AR9280 | 0x0846 | 0x9018 | |
Panasonic | N5HBZ0000055 | AR7010+AR9280 | 0x04da | 0x3904 | |
Networks | AR9271 | 0x083a | 0xa704 | ||
Sony | UWA-BR100 | AR7010+AR9280 | 0x0411 | 0x017f | |
TP-Link | TL-WN821Nv3 | AR7010+AR9287 | 0x0cf3 | 0x7015 | |
TP-Link | TL-WN721N | AR9271 | 0x0cf3 | 0x9271 | 500mA |
TP-Link | TL-WN722N | AR9271 | 0x0cf3 | 0x9271 | |
TP-Link | TL-WN322G v3 | AR9271 | 0x0cf3 | 0x1006 | |
TP-Link | TL-WN422G v2 | AR9271 | 0x0cf3 | 0x1006 | |
Unex | DNUA-93F | AR9271 | 0x0cf3 | 0x9271 |
The original and updated list of devices is:
http://linuxwireless.org/en/users/Drivers/ath9k_htc/devices.
root@kali:~/Desktop/tlwn722n-linux-install# su root -c ./install.sh
Installing firware…
Changing to directory «compat-drivers-source»…
Trying to select the ath9k_htc diver to be compiled…
Processing new driver-select request…
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/wireless/Makefile.bk
Backup exists: drivers/net/wireless/ath/Makefile.bk
Backup exists: net/wireless/Makefile.bk
Backup exists: drivers/ssb/Makefile.bk
Backup exists: drivers/bcma/Makefile.bk
Backup exists: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
Compiling modules…
make -C /lib/modules/4.13.0-kali1-amd64/build M=/root/Desktop/tlwn722n-linux-install/compat-drivers-source modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.13.0-kali1-amd64’
/root/Desktop/tlwn722n-linux-install/compat-drivers-source/config.mk:21: *** «ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though». Stop.
/usr/src/linux-headers-4.13.0-kali1-common/Makefile:1529: recipe for target ‘_module_/root/Desktop/tlwn722n-linux-install/compat-drivers-source’ failed
make[3]: *** [_module_/root/Desktop/tlwn722n-linux-install/compat-drivers-source] Error 2
Makefile:145: recipe for target ‘sub-make’ failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.13.0-kali1-amd64’
Makefile:90: recipe for target ‘modules’ failed
make: *** [modules] Error 2
There was a problem compiling the package.
Hi mate, thanks a lot for your so useful script ! Unfortunately I’m having some problems when I execute the installer.sh.
I have :
…
…
Backup exists: Makefile.bk
Compiling modules…
make -C /lib/modules/4.6.0-kali1-amd64/build M=/root/tlwn722n-linux-install/compat-drivers-source modules
make[1]: *** /lib/modules/4.6.0-kali1-amd64/build : Aucun fichier ou dossier de ce type. Arrêt.
Makefile:90 : la recette pour la cible « modules » a échouée
make: *** [modules] Erreur 2
There was a problem compiling the package.
I’m reading on the comment than others have the same problem, so it could be very helpful if you could give us an help.
When I’m trying to download the header by doing : apt-get install linux-header-$(uname -r)
I have this error :
E: Couldn’t find any package linux-headers-4.6.0-kali1-amd64
E: Couldn’t find any package by glob ‘linux-headers-4.6.0-kali1-amd64’
E: Couldn’t find any package corresponding to « linux-headers-4.6.0-kali1-amd64 »
I hope you know what we have to do ! 🙂
Thanks
after executing this command :su root -c ./install.sh
Installing firware…
Changing to directory «compat-drivers-source»…
Trying to select the ath9k_htc diver to be compiled…
Processing new driver-select request…
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backing up makefile: drivers/net/wireless/ath/Makefile.bk
Backing up makefile: net/wireless/Makefile.bk
Backing up makefile: drivers/ssb/Makefile.bk
Backing up makefile: drivers/bcma/Makefile.bk
Backing up makefile: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
Compiling modules…
./scripts/gen-compat-autoconf.sh /home/captain/tlwn722n-linux-install-latest/compat-drivers-source/.config /home/captain/tlwn722n-linux-install-latest/compat-drivers-source/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/4.2.0-41-generic/build M=/home/captain/tlwn722n-linux-install-latest/compat-drivers-source modules
make[1]: Entering directory `/usr/src/linux-headers-4.2.0-41-generic’
/home/captain/tlwn722n-linux-install-latest/compat-drivers-source/config.mk:21: *** «ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though». Stop.
make[1]: *** [_module_/home/captain/tlwn722n-linux-install-latest/compat-drivers-source] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.2.0-41-generic’
make: *** [modules] Error 2
There was a problem compiling the package.
en realidad mi problema inicial se debia a haber pasado la instalación de los linux-headers para mi kernel por alto. hoy dia creo que ya no hace falta recurrir a compat-drivers salvo casos raros, para casi todos los distribuciones basadas en debian (desde wheezy seguro y de modo oficial) hay un paquete que provee ath9 , atheros-firmware , vease https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=all&keywords=firmware-atheros , o bien buscarlo con aptitude, synaptic, apt-get. Solo que no es codigo abierto, y compat, parece que si.
[…] посмотрите https://erickcion.wordpress.com/2012/05/08/linux-installer-for-tp-link-tl-wn722n-usb-wifi-antenna/сам столкнулся, […]
En inglés, pa’ provecho universal:
tried the script on iBook G4 PPC running Ubuntu 10.4, port by Ubuntu Community unsupported by Canonical.
Here’s the output:
——–
root@jh-laptop:/usr/722# ./install.sh
Installing firware…
Changing to directory «compat-drivers-source»…
Trying to select the ath9k_htc diver to be compiled…
Processing new driver-select request…
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backing up makefile: drivers/net/wireless/ath/Makefile.bk
Backing up makefile: net/wireless/Makefile.bk
Backing up makefile: drivers/ssb/Makefile.bk
Backing up makefile: drivers/bcma/Makefile.bk
Backing up makefile: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
Compiling modules…
./scripts/gen-compat-autoconf.sh /usr/722/compat-drivers-source/.config /usr/722/compat-drivers-source/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.32-32-powerpc/build M=/usr/722/compat-drivers-source modules
make: *** /lib/modules/2.6.32-32-powerpc/build: No such file or directory. Stop.
make: *** [modules] Error 2
There was a problem compiling the package.
———
Just trying to do something, , I created a directory /lib/modules/2.6.32-32-powerpc/build, the script stopped at the same command, but different errmsg;
———-
root@jh-laptop:/usr/722# ./install.sh
Installing firware..
[…]
Compiling modules…
make -C /lib/modules/2.6.32-32-powerpc/build M=/usr/722/compat-drivers-source modules
make[1]: Entering directory `/lib/modules/2.6.32-32-powerpc/build’
make[1]: *** No rule to make target `modules’. Stop.
make[1]: Leaving directory `/lib/modules/2.6.32-32-powerpc/build’
make: *** [modules] Error 2
There was a problem compiling the package.
———
I know that I should learn about compiling and makefiles one day, but since I haven’t yet, you could save me an enormous amount of work helping me troubelshooting.
Another wish would be a port for the (BSD Unix based) MacOs X side of my iBook, or links to folks who’ve done that already, or instructions on how to do it, although I’m not sure if I’m ready to do compiling from source. Last time I did that was on an Apple IIe, in Pascal. That’s talking 1987, 1 MHz 8 Bit CPU, 64kB address space, really floppy floppy disks… 🙂
Thanx for your work, I bet it will work, might try older versions to see if maybe just a typo has slipped into the latest version of the install script, but would be very happy if you have a look at this bug.
J,
the first question is: you have the linux-headers installed?
Ok, I had not seen the README first, and after that, I guessed the script would tell me about missing linux-headers:
>
if [ -d $MOD_DIR ]; then
echo «»
else
if [ -x «`which apt-get`» ]; then
apt-get install linux-headers-$(uname -r)
if [ $? -ne 0 ]; then
echo «There was a problem installing your linux headers.» 1>&2
exit 1
fi
else
echo «The linux headers can not be found nor installed.» 1>&2
exit 1
fi
fi
—–
apt-get would tell me
>
root@jh-laptop:/usr/722# apt-get install linux-headers
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package linux-headers is a virtual package provided by:
linux-headers-2.6.32-52-powerpc64-smp 2.6.32-52.114
linux-headers-2.6.32-52-powerpc-smp 2.6.32-52.114
linux-headers-2.6.32-52-powerpc 2.6.32-52.114
linux-headers-2.6.32-52 2.6.32-52.114
linux-headers-2.6.32-51-powerpc64-smp 2.6.32-51.113
linux-headers-2.6.32-51-powerpc-smp 2.6.32-51.113
linux-headers-2.6.32-51-powerpc 2.6.32-51.113
linux-headers-2.6.32-51 2.6.32-51.113
linux-headers-2.6.32-50-powerpc64-smp 2.6.32-50.112
linux-headers-2.6.32-50-powerpc-smp 2.6.32-50.112
linux-headers-2.6.32-50-powerpc 2.6.32-50.112
linux-headers-2.6.32-50 2.6.32-50.112
linux-headers-2.6.32-49-powerpc64-smp 2.6.32-49.111
linux-headers-2.6.32-49-powerpc-smp 2.6.32-49.111
linux-headers-2.6.32-49-powerpc 2.6.32-49.111
linux-headers-2.6.32-49 2.6.32-49.111
linux-headers-2.6.32-48-powerpc64-smp 2.6.32-48.110
linux-headers-2.6.32-48-powerpc-smp 2.6.32-48.110
linux-headers-2.6.32-48-powerpc 2.6.32-48.110
linux-headers-2.6.32-48 2.6.32-48.110
linux-headers-2.6.32-47-powerpc64-smp 2.6.32-47.109
linux-headers-2.6.32-47-powerpc-smp 2.6.32-47.109
linux-headers-2.6.32-47-powerpc 2.6.32-47.109
linux-headers-2.6.32-47 2.6.32-47.109
linux-headers-2.6.32-46-powerpc64-smp 2.6.32-46.108
linux-headers-2.6.32-46-powerpc-smp 2.6.32-46.108
linux-headers-2.6.32-46-powerpc 2.6.32-46.108
linux-headers-2.6.32-46 2.6.32-46.108
linux-headers-2.6.32-45-powerpc64-smp 2.6.32-45.104
linux-headers-2.6.32-45-powerpc-smp 2.6.32-45.104
linux-headers-2.6.32-45-powerpc 2.6.32-45.104
linux-headers-2.6.32-45 2.6.32-45.104
linux-headers-2.6.32-44-powerpc64-smp 2.6.32-44.98
linux-headers-2.6.32-44-powerpc-smp 2.6.32-44.98
linux-headers-2.6.32-44-powerpc 2.6.32-44.98
linux-headers-2.6.32-44 2.6.32-44.98
linux-headers-2.6.32-43-powerpc64-smp 2.6.32-43.97
linux-headers-2.6.32-43-powerpc-smp 2.6.32-43.97
linux-headers-2.6.32-43-powerpc 2.6.32-43.97
linux-headers-2.6.32-43 2.6.32-43.97
linux-headers-2.6.32-42-powerpc64-smp 2.6.32-42.96
linux-headers-2.6.32-42-powerpc-smp 2.6.32-42.96
linux-headers-2.6.32-42-powerpc 2.6.32-42.96
linux-headers-2.6.32-42 2.6.32-42.96
linux-headers-2.6.32-41-powerpc64-smp 2.6.32-41.94
linux-headers-2.6.32-41-powerpc-smp 2.6.32-41.94
linux-headers-2.6.32-41-powerpc 2.6.32-41.94
linux-headers-2.6.32-41 2.6.32-41.94
linux-headers-2.6.32-40-powerpc64-smp 2.6.32-40.87
linux-headers-2.6.32-40-powerpc-smp 2.6.32-40.87
linux-headers-2.6.32-40-powerpc 2.6.32-40.87
linux-headers-2.6.32-40 2.6.32-40.87
linux-headers-2.6.32-39-powerpc64-smp 2.6.32-39.86
linux-headers-2.6.32-39-powerpc-smp 2.6.32-39.86
linux-headers-2.6.32-39-powerpc 2.6.32-39.86
linux-headers-2.6.32-39 2.6.32-39.86
linux-headers-2.6.32-38-powerpc64-smp 2.6.32-38.83
linux-headers-2.6.32-38-powerpc-smp 2.6.32-38.83
linux-headers-2.6.32-38-powerpc 2.6.32-38.83
linux-headers-2.6.32-38 2.6.32-38.83
linux-headers-2.6.32-37-powerpc64-smp 2.6.32-37.81
linux-headers-2.6.32-37-powerpc-smp 2.6.32-37.81
linux-headers-2.6.32-37-powerpc 2.6.32-37.81
linux-headers-2.6.32-37 2.6.32-37.81
linux-headers-2.6.32-36-powerpc64-smp 2.6.32-36.79
linux-headers-2.6.32-36-powerpc-smp 2.6.32-36.79
linux-headers-2.6.32-36-powerpc 2.6.32-36.79
linux-headers-2.6.32-36 2.6.32-36.79
linux-headers-2.6.32-35-powerpc64-smp 2.6.32-35.78
linux-headers-2.6.32-35-powerpc-smp 2.6.32-35.78
linux-headers-2.6.32-35-powerpc 2.6.32-35.78
linux-headers-2.6.32-35 2.6.32-35.78
linux-headers-2.6.32-34-powerpc64-smp 2.6.32-34.77
linux-headers-2.6.32-34-powerpc-smp 2.6.32-34.77
linux-headers-2.6.32-34-powerpc 2.6.32-34.77
linux-headers-2.6.32-34 2.6.32-34.77
linux-headers-2.6.32-33-powerpc64-smp 2.6.32-33.72
linux-headers-2.6.32-33-powerpc-smp 2.6.32-33.72
linux-headers-2.6.32-33-powerpc 2.6.32-33.72
linux-headers-2.6.32-33 2.6.32-33.72
linux-headers-2.6.32-32-powerpc64-smp 2.6.32-32.62
linux-headers-2.6.32-32-powerpc-smp 2.6.32-32.62
linux-headers-2.6.32-32-powerpc 2.6.32-32.62
linux-headers-2.6.32-32 2.6.32-32.62
linux-headers-2.6.32-31-powerpc64-smp 2.6.32-31.61
linux-headers-2.6.32-31-powerpc-smp 2.6.32-31.61
linux-headers-2.6.32-31-powerpc 2.6.32-31.61
linux-headers-2.6.32-31 2.6.32-31.61
linux-headers-2.6.32-30-powerpc64-smp 2.6.32-30.59
linux-headers-2.6.32-30-powerpc-smp 2.6.32-30.59
linux-headers-2.6.32-30-powerpc 2.6.32-30.59
linux-headers-2.6.32-30 2.6.32-30.59
linux-headers-2.6.32-29-powerpc64-smp 2.6.32-29.58
linux-headers-2.6.32-29-powerpc-smp 2.6.32-29.58
linux-headers-2.6.32-29-powerpc 2.6.32-29.58
linux-headers-2.6.32-29 2.6.32-29.58
linux-headers-2.6.32-28-powerpc64-smp 2.6.32-28.55
linux-headers-2.6.32-28-powerpc-smp 2.6.32-28.55
linux-headers-2.6.32-28-powerpc 2.6.32-28.55
linux-headers-2.6.32-28 2.6.32-28.55
linux-headers-2.6.32-27-powerpc64-smp 2.6.32-27.49
linux-headers-2.6.32-27-powerpc-smp 2.6.32-27.49
linux-headers-2.6.32-27-powerpc 2.6.32-27.49
linux-headers-2.6.32-27 2.6.32-27.49
linux-headers-2.6.32-26-powerpc64-smp 2.6.32-26.48
linux-headers-2.6.32-26-powerpc-smp 2.6.32-26.48
linux-headers-2.6.32-26-powerpc 2.6.32-26.48
linux-headers-2.6.32-26 2.6.32-26.48
linux-headers-2.6.32-25-powerpc64-smp 2.6.32-25.45
linux-headers-2.6.32-25-powerpc-smp 2.6.32-25.45
linux-headers-2.6.32-25-powerpc 2.6.32-25.45
linux-headers-2.6.32-25 2.6.32-25.45
linux-headers-2.6.32-24-powerpc64-smp 2.6.32-24.43
linux-headers-2.6.32-24-powerpc-smp 2.6.32-24.43
linux-headers-2.6.32-24-powerpc 2.6.32-24.43
linux-headers-2.6.32-24 2.6.32-24.43
linux-headers-2.6.32-23-powerpc64-smp 2.6.32-23.37
linux-headers-2.6.32-23-powerpc-smp 2.6.32-23.37
linux-headers-2.6.32-23-powerpc 2.6.32-23.37
linux-headers-2.6.32-23 2.6.32-23.37
linux-headers-2.6.32-22-powerpc64-smp 2.6.32-22.36
linux-headers-2.6.32-22-powerpc-smp 2.6.32-22.36
linux-headers-2.6.32-22-powerpc 2.6.32-22.36
linux-headers-2.6.32-22 2.6.32-22.36
linux-headers-2.6.32-21-powerpc64-smp 2.6.32-21.32
linux-headers-2.6.32-21-powerpc-smp 2.6.32-21.32
linux-headers-2.6.32-21-powerpc 2.6.32-21.32
linux-headers-2.6.32-21 2.6.32-21.32
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
—–
The bootloader points at a kernel 2.6.32-32-powerpc with 2.6.32-21-powerpc as old kernel backup, 2.6.32-32-powerpc was also what your script picked.
So as I am on Ubuntu, I used Synaptic Package Manager, one of the three 2.6.32-32-powerpc packages is 64bit, my PPC G4 is 32bit, so I tried the two remaining ones.
Most part compiles fine now, but in the end there’s trouble apparantly with conflicting includes of ‘trace’, whatever it means. Since it’s the second run of make, the output in the other response just shows the errors, the good parts are compiled already, but this is where I’m stuck now. Thanx for helping me progress :), I’m looking forward to getting it working altogether, provided you’re still willing to guide an educated ignorant.
J.
– Ok, I had not seen the README first, and after that, I guessed the script would tell me about missing linux-headers:
>
if [ -d $MOD_DIR ]; then
echo «»
else
if [ -x «`which apt-get`» ]; then
apt-get install linux-headers-$(uname -r)
if [ $? -ne 0 ]; then
echo «There was a problem installing your linux headers.» 1>&2
exit 1
fi
else
echo «The linux headers can not be found nor installed.» 1>&2
exit 1
fi
fi
—–
apt-get would tell me
>
root@jh-laptop:/usr/722# apt-get install linux-headers
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package linux-headers is a virtual package provided by:
linux-headers-2.6.32-52-powerpc64-smp 2.6.32-52.114
linux-headers-2.6.32-52-powerpc-smp 2.6.32-52.114
linux-headers-2.6.32-52-powerpc 2.6.32-52.114
linux-headers-2.6.32-52 2.6.32-52.114
linux-headers-2.6.32-51-powerpc64-smp 2.6.32-51.113
linux-headers-2.6.32-51-powerpc-smp 2.6.32-51.113
linux-headers-2.6.32-51-powerpc 2.6.32-51.113
linux-headers-2.6.32-51 2.6.32-51.113
linux-headers-2.6.32-50-powerpc64-smp 2.6.32-50.112
linux-headers-2.6.32-50-powerpc-smp 2.6.32-50.112
linux-headers-2.6.32-50-powerpc 2.6.32-50.112
linux-headers-2.6.32-50 2.6.32-50.112
linux-headers-2.6.32-49-powerpc64-smp 2.6.32-49.111
linux-headers-2.6.32-49-powerpc-smp 2.6.32-49.111
linux-headers-2.6.32-49-powerpc 2.6.32-49.111
linux-headers-2.6.32-49 2.6.32-49.111
linux-headers-2.6.32-48-powerpc64-smp 2.6.32-48.110
linux-headers-2.6.32-48-powerpc-smp 2.6.32-48.110
linux-headers-2.6.32-48-powerpc 2.6.32-48.110
linux-headers-2.6.32-48 2.6.32-48.110
linux-headers-2.6.32-47-powerpc64-smp 2.6.32-47.109
linux-headers-2.6.32-47-powerpc-smp 2.6.32-47.109
linux-headers-2.6.32-47-powerpc 2.6.32-47.109
linux-headers-2.6.32-47 2.6.32-47.109
linux-headers-2.6.32-46-powerpc64-smp 2.6.32-46.108
linux-headers-2.6.32-46-powerpc-smp 2.6.32-46.108
linux-headers-2.6.32-46-powerpc 2.6.32-46.108
linux-headers-2.6.32-46 2.6.32-46.108
linux-headers-2.6.32-45-powerpc64-smp 2.6.32-45.104
linux-headers-2.6.32-45-powerpc-smp 2.6.32-45.104
linux-headers-2.6.32-45-powerpc 2.6.32-45.104
linux-headers-2.6.32-45 2.6.32-45.104
linux-headers-2.6.32-44-powerpc64-smp 2.6.32-44.98
linux-headers-2.6.32-44-powerpc-smp 2.6.32-44.98
linux-headers-2.6.32-44-powerpc 2.6.32-44.98
linux-headers-2.6.32-44 2.6.32-44.98
linux-headers-2.6.32-43-powerpc64-smp 2.6.32-43.97
linux-headers-2.6.32-43-powerpc-smp 2.6.32-43.97
linux-headers-2.6.32-43-powerpc 2.6.32-43.97
linux-headers-2.6.32-43 2.6.32-43.97
linux-headers-2.6.32-42-powerpc64-smp 2.6.32-42.96
linux-headers-2.6.32-42-powerpc-smp 2.6.32-42.96
linux-headers-2.6.32-42-powerpc 2.6.32-42.96
linux-headers-2.6.32-42 2.6.32-42.96
linux-headers-2.6.32-41-powerpc64-smp 2.6.32-41.94
linux-headers-2.6.32-41-powerpc-smp 2.6.32-41.94
linux-headers-2.6.32-41-powerpc 2.6.32-41.94
linux-headers-2.6.32-41 2.6.32-41.94
linux-headers-2.6.32-40-powerpc64-smp 2.6.32-40.87
linux-headers-2.6.32-40-powerpc-smp 2.6.32-40.87
linux-headers-2.6.32-40-powerpc 2.6.32-40.87
linux-headers-2.6.32-40 2.6.32-40.87
linux-headers-2.6.32-39-powerpc64-smp 2.6.32-39.86
linux-headers-2.6.32-39-powerpc-smp 2.6.32-39.86
linux-headers-2.6.32-39-powerpc 2.6.32-39.86
linux-headers-2.6.32-39 2.6.32-39.86
linux-headers-2.6.32-38-powerpc64-smp 2.6.32-38.83
linux-headers-2.6.32-38-powerpc-smp 2.6.32-38.83
linux-headers-2.6.32-38-powerpc 2.6.32-38.83
linux-headers-2.6.32-38 2.6.32-38.83
linux-headers-2.6.32-37-powerpc64-smp 2.6.32-37.81
linux-headers-2.6.32-37-powerpc-smp 2.6.32-37.81
linux-headers-2.6.32-37-powerpc 2.6.32-37.81
linux-headers-2.6.32-37 2.6.32-37.81
linux-headers-2.6.32-36-powerpc64-smp 2.6.32-36.79
linux-headers-2.6.32-36-powerpc-smp 2.6.32-36.79
linux-headers-2.6.32-36-powerpc 2.6.32-36.79
linux-headers-2.6.32-36 2.6.32-36.79
linux-headers-2.6.32-35-powerpc64-smp 2.6.32-35.78
linux-headers-2.6.32-35-powerpc-smp 2.6.32-35.78
linux-headers-2.6.32-35-powerpc 2.6.32-35.78
linux-headers-2.6.32-35 2.6.32-35.78
linux-headers-2.6.32-34-powerpc64-smp 2.6.32-34.77
linux-headers-2.6.32-34-powerpc-smp 2.6.32-34.77
linux-headers-2.6.32-34-powerpc 2.6.32-34.77
linux-headers-2.6.32-34 2.6.32-34.77
linux-headers-2.6.32-33-powerpc64-smp 2.6.32-33.72
linux-headers-2.6.32-33-powerpc-smp 2.6.32-33.72
linux-headers-2.6.32-33-powerpc 2.6.32-33.72
linux-headers-2.6.32-33 2.6.32-33.72
linux-headers-2.6.32-32-powerpc64-smp 2.6.32-32.62
linux-headers-2.6.32-32-powerpc-smp 2.6.32-32.62
linux-headers-2.6.32-32-powerpc 2.6.32-32.62
linux-headers-2.6.32-32 2.6.32-32.62
linux-headers-2.6.32-31-powerpc64-smp 2.6.32-31.61
linux-headers-2.6.32-31-powerpc-smp 2.6.32-31.61
linux-headers-2.6.32-31-powerpc 2.6.32-31.61
linux-headers-2.6.32-31 2.6.32-31.61
linux-headers-2.6.32-30-powerpc64-smp 2.6.32-30.59
linux-headers-2.6.32-30-powerpc-smp 2.6.32-30.59
linux-headers-2.6.32-30-powerpc 2.6.32-30.59
linux-headers-2.6.32-30 2.6.32-30.59
linux-headers-2.6.32-29-powerpc64-smp 2.6.32-29.58
linux-headers-2.6.32-29-powerpc-smp 2.6.32-29.58
linux-headers-2.6.32-29-powerpc 2.6.32-29.58
linux-headers-2.6.32-29 2.6.32-29.58
linux-headers-2.6.32-28-powerpc64-smp 2.6.32-28.55
linux-headers-2.6.32-28-powerpc-smp 2.6.32-28.55
linux-headers-2.6.32-28-powerpc 2.6.32-28.55
linux-headers-2.6.32-28 2.6.32-28.55
linux-headers-2.6.32-27-powerpc64-smp 2.6.32-27.49
linux-headers-2.6.32-27-powerpc-smp 2.6.32-27.49
linux-headers-2.6.32-27-powerpc 2.6.32-27.49
linux-headers-2.6.32-27 2.6.32-27.49
linux-headers-2.6.32-26-powerpc64-smp 2.6.32-26.48
linux-headers-2.6.32-26-powerpc-smp 2.6.32-26.48
linux-headers-2.6.32-26-powerpc 2.6.32-26.48
linux-headers-2.6.32-26 2.6.32-26.48
linux-headers-2.6.32-25-powerpc64-smp 2.6.32-25.45
linux-headers-2.6.32-25-powerpc-smp 2.6.32-25.45
linux-headers-2.6.32-25-powerpc 2.6.32-25.45
linux-headers-2.6.32-25 2.6.32-25.45
linux-headers-2.6.32-24-powerpc64-smp 2.6.32-24.43
linux-headers-2.6.32-24-powerpc-smp 2.6.32-24.43
linux-headers-2.6.32-24-powerpc 2.6.32-24.43
linux-headers-2.6.32-24 2.6.32-24.43
linux-headers-2.6.32-23-powerpc64-smp 2.6.32-23.37
linux-headers-2.6.32-23-powerpc-smp 2.6.32-23.37
linux-headers-2.6.32-23-powerpc 2.6.32-23.37
linux-headers-2.6.32-23 2.6.32-23.37
linux-headers-2.6.32-22-powerpc64-smp 2.6.32-22.36
linux-headers-2.6.32-22-powerpc-smp 2.6.32-22.36
linux-headers-2.6.32-22-powerpc 2.6.32-22.36
linux-headers-2.6.32-22 2.6.32-22.36
linux-headers-2.6.32-21-powerpc64-smp 2.6.32-21.32
linux-headers-2.6.32-21-powerpc-smp 2.6.32-21.32
linux-headers-2.6.32-21-powerpc 2.6.32-21.32
linux-headers-2.6.32-21 2.6.32-21.32
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
—–
The bootloader points at a kernel 2.6.32-32-powerpc with 2.6.32-21-powerpc as old kernel backup, 2.6.32-32-powerpc was also what your script picked.
So as I am on Ubuntu, I used Synaptic Package Manager, one of the three 2.6.32-32-powerpc packages is 64bit, my PPC G4 is 32bit, so I tried the two remaining ones.
Most part compiles fine now, but in the end there’s trouble apparantly with conflicting includes of ‘trace’, whatever it means. Since it’s the second run of make, the output in the other response just shows the errors, the good parts are compiled already, but this is where I’m stuck now. Thanx for helping me progress :), I’m looking forward to getting it working altogether, provided you’re still willing to guide an educated ignorant.
J.
–
Recomendación, deberías de hacer un vídeo, se entendería mejor.
Grate job! It works on TL-WN721N. Im using opensuse 11.4!
thank you very much!
Thanks to you for take the time to test it an comment 🙂
I didn’t test it. My box didn’t have internet connection…! LOL
no sirve te explica bien por que veo q te saltas algunos pasos
Quizás te salga bien leer la versión en español:
Si te fijas en los comentarios a muchos les ha funcionado, espero te ayude.
Hi!
Ty! Perfect tl-wn322g.
jajajajajajajajjajjajjajaaj
[…] septiembre, 2011 38 comentarios See in ENGLISH NOTA: Este Script ha sido probado en Canaima GNU/Linux 3.0 (Debian Squeeze) pero en teoría […]