¿Quieres mejorar esta pregunta? Actualice la pregunta para que esté relacionada con el tema de Unix y Linux Stack Exchange.
Cerrado hace 3 años.
Mejorar esta pregunta
Estoy configurando una PC con XUbuntu y hasta ahora va bastante bien. Sin embargo, tengo problemas para que funcione wifi.
Inicialmente probé con mi Netgear A6200 pero me dijeron que básicamente los controladores no existen y que tendría que usar controladores de Windows, lo cual no me gustaba, así que compré uno de estos:
https://www.amazon.co.uk/gp/product/B06XZ1DBPZ/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
que enumera a Linux como un sistema operativo compatible.
No he tenido mucha suerte para que funcione. Esperaba conectarlo y obtener los controladores mágicamente, pero no tuve suerte.
El chipset aparentemente es realtek RTL8811AU
(Obtuve esto conectándolo a mi PC con Windows).
Encontré esta publicación:
https://ubuntuforums.org/showthread.php?t=2306417
pero make fails* – Tampoco me gusta la idea de tener que volver a hacer esto cada vez que se actualiza Linux…
Miré los controladores que vienen con el dongle y hay un install.sh
para compilar e instalar los controladores (supongo que esto está haciendo algo similar al repositorio de github al que se hace referencia en la publicación anterior). Este script de instalación también falla**…
También hay un archivo tar del código fuente incluido en el disco...
Realmente esperaba que algún comando apt-get hiciera esto que rastreara y actualizara los controladores a medida que salieran nuevas actualizaciones.
Si logro hacer que funcione, ¿realmente tendré que volver a hacerlo cada vez que reciba una actualización?
Me siento un poco enojado por esto, ¡todo iba muy bien hasta ahora!
Gracias
* make failure output
[email protected]:~/git/rtl8811AU_rtl8821A-linux$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-33-generic/build M=/home/andy/git/rtl8811AU_rtl8821A-linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic'
CC [M] /home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_cmd.o
CC [M] /home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_security.o
CC [M] /home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.o
In file included from /home/andy/git/rtl8811AU_rtl8821A-linux/include/drv_types.h:64:0,
from /home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.c:22:
/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/andy/git/rtl8811AU_rtl8821A-linux/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/andy/git/rtl8811AU_rtl8821A-linux/include/rtw_debug.h:240:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/;
^
/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.c:65:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "%s %sn", DRV_NAME, DRIVERVERSION);
^
/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.c:66:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %sn", __DATE__, __TIME__);
^
//snip LOADS of errors
/home/andy/git/rtl8811AU_rtl8821A-linux/include/rtw_debug.h:240:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/;
^
/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.c:1221:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(m, "best_channel_24G = %dn", best_channel_24G);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.o' failed
make[2]: *** [/home/andy/git/rtl8811AU_rtl8821A-linux/core/rtw_debug.o] Error 1
Makefile:1524: recipe for target '_module_/home/andy/git/rtl8811AU_rtl8821A-linux' failed
make[1]: *** [_module_/home/andy/git/rtl8811AU_rtl8821A-linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:1323: recipe for target 'modules' failed
make: *** [modules] Error 2
[email protected]:~/git/rtl8811AU_rtl8821A-linux$
** instale la salida del script de los controladores incluidos:
[email protected]:~/Downloads/wifi dongle$ sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51.tar.gz
rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/
rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/
//snip - loads of files listed
rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51
Authentication requested [root] for make clean:
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-33-generic/build M=/home/andy/Downloads/wifi dongle/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51 modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic'
arch/x86/Makefile:140: CONFIG_X86_X32 enabled but no binutils support
make[1]: *** No rule to make target 'dongle/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
Respuesta aceptada:
Para que el wifi funcione, debe instalar el rtl8812au-dkms
del repositorio oficial de Ubuntu.
sudo apt-get install rtl8812au-dkms
sudo modprobe 8812au
O construyendo el controlador usando dkms
desde diederikdehaas/rtl8812AU git repo (soporte agregado para la versión del kernel>=4.7), como ejecución de root:
apt install dkms
git clone https://github.com/diederikdehaas/rtl8812AU.git
cd rtl8812AU
DRV_NAME=rtl8812AU
DRV_VERSION=4.3.14
mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
modprobe -v 8812au