Pergunta original
Não encontrei nenhuma resposta específica para a minha pergunta, todos os problemas de instalação do driver que encontrei para o T4U estão relacionados à versão do kernel e a solução pode ser proposta, a minha é diferente, eu acho ...
Comprei um Archer T4U AC1300 da TP Link e tentei instalar o driver de código aberto de aqui .
Eu uso hortelã 17:
beljs@beljs-Inspiron-580 ~ $ cat /etc/*-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.3
DISTRIB_CODENAME=rosa
DISTRIB_DESCRIPTION="Linux Mint 17.3 Rosa"
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
cat: /etc/upstream-release: est un dossier
beljs@beljs-Inspiron-580 ~ $ uname -a
Linux beljs-Inspiron-580 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:37:25 UTC 2015 i686 i686 i686 GNU/Linux
mas acredito que o problema que tenho ao instalar o driver é mais um problema de compilação ou um bug no próprio código (?).
Eu segui o procedimento básico de instalação do driver recomendado em diferentes sites:
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux/
make
sudo make install
mas eu sempre recebo um erro durante o processo de make em ioctl_cfg80211.c (desculpe pelos franceses):
beljs@beljs-Inspiron-580 ~ $ git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
Clonage dans 'rtl8812AU_8821AU_linux'...
remote: Counting objects: 1498, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1498 (delta 1), reused 0 (delta 0), pack-reused 1492
Réception d'objets: 100% (1498/1498), 3.53 MiB | 692.00 KiB/s, done.
Résolution des deltas: 100% (909/909), done.
Vérification de la connectivité... fait.
beljs@beljs-Inspiron-580 ~ $ cd rtl8812AU_8821AU_linux/
beljs@beljs-Inspiron-580 ~/rtl8812AU_8821AU_linux $ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.19.0-32-generic/build M=/home/beljs/rtl8812AU_8821AU_linux modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.19.0-32-generic »
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_cmd.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_security.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_debug.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_io.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_ioctl_query.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_ioctl_set.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_ieee80211.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_mlme.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_mlme_ext.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_wlan_util.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_vht.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_pwrctrl.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_rf.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_recv.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_sta_mgt.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_ap.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_xmit.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_p2p.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_tdls.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_br_ext.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_iol.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_sreset.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_btcoex.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_beamforming.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/rtw_odm.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/core/efuse/rtw_efuse.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/osdep_service.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/usb_intf.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/usb_ops_linux.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_linux.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/xmit_linux.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/mlme_linux.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/recv_linux.o
CC [M] /home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_cfg80211.o
/home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_cfg80211.c:5971:2: error: initialization from incompatible pointer type [-Werror]
.del_station = cfg80211_rtw_del_station,
^
/home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_cfg80211.c:5971:2: error: (near initialization for ‘rtw_cfg80211_ops.del_station’) [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/home/beljs/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_cfg80211.o] Erreur 1
make[1]: *** [_module_/home/beljs/rtl8812AU_8821AU_linux] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-3.19.0-32-generic »
make: *** [modules] Erreur 2
Eu também tentei instalar o driver de:
github.com/Grief/archer-t4u
mas também tem erros semelhantes (não exatamente no mesmo local, mas no mesmo arquivo)
Talvez isso seja algo estúpido, mas qualquer ajuda é bem vinda!
Obrigado antecipadamente!