Então, eu tenho uma placa USB Wifi, eu quero instalar. Felizmente, eu tenho um CD com etapas de instalação para o driver! Infelizmente, a execução do install.sh
fornecido pelo CD falha da seguinte maneira.
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
CC [M] /home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/core/rtw_cmd.o
In file included from /home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/include/osdep_service.h:51:0,
from /home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/include/drv_types.h:32,
from /home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/core/rtw_cmd.c:22:
/home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/include/osdep_service_linux.h:288:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/josh/WiFiDriverCD/Linux/driver/rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/core/rtw_cmd.o' failed
Dado que um deles é um erro do compilador e não apenas um aviso, não tenho certeza de que o driver funcionará.
Abaixo está a saída de sudo lshw -C network
.
*-network
description: Ethernet interface
product: 88E8071 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 16
serial: 90:fb:a6:2b:75:45
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.184 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:24 memory:fe9fc000-fe9fffff ioport:d800(size=256) memory:fe9c0000-fe9dffff
*-network UNCLAIMED
description: Network controller
product: RTL8190 802.11n PCI Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 5
bus info: pci@0000:05:05.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=64 maxlatency=64 mingnt=32
resources: ioport:e800(size=256) memory:febff000-febfffff
Existe uma fonte alternativa com um driver em funcionamento ou há alguma configuração que eu precise fazer de forma diferente?