Adaptador USB 2.0 Wireless 802.11n [RESOLVIDO]

13. Adaptador USB 2.0 Wireless_quase lá

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 25/07/2022 - 10:34h

Bom dia.

Quero agradecer ao membro Illusion, pois as dicas estão ajudando a avançar vários passos na configuração deste adaptador USB Wireless.
E quando eu for ligar o meu Pc com Void Linux, vou me lembrar de consultar o Kernel em uso e vou postar o uname-a. Também vou digitar estas linhas de comando e rezar para que o headers seja instalado com sucesso.
Vai dar certo, sim: já estou quase lá.

Obrigado, Maurício.


  


14. Adaptador USB 2.0 Wireless 802.11n

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 25/07/2022 - 17:14h

Boa tarde.
Conforme dito hoje de manhã, segue o post do uname-a, contendo informações sobre o Kernel em uso:

Linux Amd_A6VMX_Foxconn 5.18.11_1 #1 SMP PREEMPT_DYNAMIC Wed Jul 13 17:27:44 UTC 2022 x86_64 GNU/Linux

Agora, vou testar os comandos e configurar o Wi-fi.



15. Adaptador USB 2.0 Wireless 802.11n_quase lá.

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 25/07/2022 - 18:44h

Boa noite.

Eu testei os comandos sudo xbps-install bc e sudo xbps-reconfigure -f rtl8812au-dkms-20210427_1 e muita coisa já aconteceu de bom.
Até a configuração do realtek 8812 foi feita com sucesso, apesar do passo do módulo dkms ter sido pulado e o mesmo, não ter sido instalado.
Mas, o dispositivo de internet ainda não foi reconhecido pela conexão Wi-fi.

Os passos avançados com estes comandos, ficam descritos na tela do terminal conforme a cópia a seguir:

sudo xbps-install bc

Name Action Version New version Download size
bc install - 1.07.1_5 83KB

Size to download: 83KB
Size required on disk: 211KB
Space available on disk: 188GB

Do you want to continue? [Y/n] y

[*] Downloading packages
bc-1.07.1_5.x86_64-musl.xbps.sig: 512B [avg rate: 11MB/s]
bc-1.07.1_5.x86_64-musl.xbps: 83KB [avg rate: 101KB/s]
bc-1.07.1_5: verifying RSA signature...

[*] Collecting package files
bc-1.07.1_5: collecting files...

[*] Unpacking packages
bc-1.07.1_5: unpacking ...
bc-1.07.1_5: registered 'bc' alternatives group
Creating 'bc' alternatives group symlink: bc -> /usr/bin/gnu-bc
Creating 'bc' alternatives group symlink: bc.1 -> /usr/share/man/man1/gnu-bc.1
bc-1.07.1_5: registered 'dc' alternatives group
Creating 'dc' alternatives group symlink: dc -> /usr/bin/gnu-dc
Creating 'dc' alternatives group symlink: dc.1 -> /usr/share/man/man1/gnu-dc.1

[*] Configuring unpacked packages
bc-1.07.1_5: configuring ...
bc-1.07.1_5: installed successfully.

1 downloaded, 1 installed, 0 updated, 1 configured, 0 removed.

sudo xbps-reconfigure -f rtl8812au-dkms-20210427_1

rtl8812au-dkms-20210427_1: configuring ...
DKMS module 'rtl8812au-5.9.3.2' already added, skipping.
Skipping kernel-5.13.19_1. kernel-headers package not installed...
Building DKMS module 'rtl8812au-5.9.3.2' for kernel-5.18.11_1... FAILED!
DKMS module 'rtl8812au-5.9.3.2' failed to build, please check /var/lib/dkms
for errors in the log file.
Skipping kernel-5.18.9_1. kernel-headers package not installed...
rtl8812au-dkms-20210427_1: configured successfully.

O log gerado no diretório /var/lib/dkms/ é o seguinte:

DKMS make.log for rtl8812au-5.9.3.2 for kernel 5.18.11_1 (x86_64)
Mon Jul 25 17:28:58 -03 2022
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.11_1/build M=/var/lib/dkms/rtl8812au/5.9.3.2/build modules
make[1]: Entering directory '/usr/src/kernel-headers-5.18.11_1'
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c: In function 'rtw_txpwr_init_regd':
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c:267:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
267 | if (rfctl->regd_name)
| ^
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c:270:2: note: here
270 | default:
| ^~~~~~~
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c: In function 'mgt_dispatcher':
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c:1379:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1379 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mlme_ext.c:1381:2: note: here
1381 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_br_ext.o
/var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_br_ext.c:20:11: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8812au/5.9.3.2/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:1838: /var/lib/dkms/rtl8812au/5.9.3.2/build] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-5.18.11_1'
make: *** [Makefile:2374: modules] Error 2

Mais uma vez, agradeço ao participante Illusion por mais uma informação e se tiver uma linha de comando que recupere a construção do módulo rtl8812au-5.9.3.2

Obrigado, Maurício


16. Re: Adaptador USB 2.0 Wireless 802.11n

Bruno Morato
illusioon

(usa FreeBSD)

Enviado em 25/07/2022 - 20:40h

"fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated."

Pelo que vi o problema é que o header file (net/ipx.h e uapi/linux/ipx.h) que foi removido do kernel nas novas versões, por isso não compila de jeito nenhum o dkms ----> vide: https://lkml.org/lkml/2021/8/13/334

Então as possíveis soluções seriam:

1º usar o kernel LTS + headers -- creio que ainda venha incluso o header file (ipx.h)

2º solução seria clonar o repositorio oficial do rtl8812au e compilar manualmente
https://github.com/morrownr/8812au-20210629

O mantenedor deixa claro quais os kernels compatíveis:

Compatible Kernels

Kernels: 4.19 - 5.11 (Realtek) <-- oficial
Kernels: 5.12 - 5.19 (community support)

-----

---- Recomendo testar com o kernel LTS pra ver se ele compila ou inferior ao 5.11, etc.


17. Adaptador USB 2.0 Wireless 802.11n_quase lá

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 26/07/2022 - 10:33h

Bom dia.

Obrigado pelas instruções. Vou escolher outro Kernel, pois este não encontrou, ou não tem mesmo, o Kernel headers.
É verdade: o melhor a fazer, é compilar manualmente o rtl8812 para o local onde está sendo instalado o driver.

Obrigado, Maurício.



18. Adaptador USB 2.0 Wireless 802.11n_quase lá

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 29/07/2022 - 11:03h

Bom dia.
Li atentamente as recomendações do site https://github.com/morrownr/8812au-20210629 e segui o passo a passo na configuração do driver da Realtek.
E conforme orientações: primeiro executei o script de remoção do driver que havia sido instalado com falha.

sudo ./remove-driver.sh

Depois, repeti os passos da instalação anterior, atualizando os pacotes do sistema:

sudo xbps-install -Syu

Instalei os pacotes necessários:

sudo xbps-install -S linux-headers dkms git

O site da repo, orienta a criar um diretório para segurar o driver de downloader:

mkdir -p ~/src

Depois, mover para o diretório recém-criado:

cd ~/src

Agora, vem a parte que nos interessa: clonar o drive para o diretório criado:

git clone https://github.com/morrownr/8812au-20210629.git

Também, movi para o diretório de driver recém-criado:

cd ~/src/8812au-20210629

Na seqüência, habilitei o modo concorrente mesmo sendo opcional este procedimento:

./cmode-on.sh

Então, veio a parte da configuração para sistemas baseados em ARM ou ARM64:

./ARM64_RPI.sh

E por fim, instalei o driver clonado para o diretório do rtl8812au:

sudo ./install-driver.sh

E cheguei quase lá: apesar de todos os passos anteriores terem sido executados com sucesso, nesta última instalação o erro foi o seguinte:

Running install-driver.sh version 20220705
5.18.14_1
x86_64
Starting installation...
Copying source files to: /usr/src/rtl8812au-5.13.6
Copying 8812au.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl8812au/5.13.6/source ->
/usr/src/rtl8812au-5.13.6

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j1 KVER=5.18.14_1 KSRC=/lib/modules/5.18.14_1/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.14_1 (x86_64)
Consult /var/lib/dkms/rtl8812au/5.13.6/build/make.log for more information.
An error occurred. dkms build error = 10
Please report this error.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

Copiei também, a tela do make.log:

DKMS make.log for rtl8812au-5.13.6 for kernel 5.18.14_1 (x86_64)
Fri Jul 29 00:17:00 -03 2022
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.18.14_1/build M=/var/lib/dkms/rtl8812au/5.13.6/build modules
make[1]: Entering directory '/usr/src/kernel-headers-5.18.14_1'
Makefile:700: arch/arm64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/arm64/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/kernel-headers-5.18.14_1'
make: *** [Makefile:2510: modules] Error 2


Agradeço mais uma vez ao membro participante Illusion por ter ensinado mais estes passos na configuração do driver da Realtek para o adaptador Wireless e se tiver mais alguma idéia para corrigir o erro apontado na cópia da tela do terminal.

Obrigado, Maurício



19. Adaptador USB 2.0 Wireless 802.11n

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 06/08/2022 - 21:56h

Boa noite.

Resolvi testar a configuração do adaptador de WiFi com o CD que acompanha o kit e nele, encontrei o driver RTL8188EUS_linux_v4.1.4_6773.20130222.
Executei o install.sh para instalar o driver:

./install

##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8188EUS_linux_v4.1.4_6773.20130222.tar.gz
rtl8188EUS_linux_v4.1.4_6773.20130222/
rtl8188EUS_linux_v4.1.4_6773.20130222/runwpa
rtl8188EUS_linux_v4.1.4_6773.20130222/core/
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_xmit.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_ioctl_query.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_bt_mp.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/efuse/
rtl8188EUS_linux_v4.1.4_6773.20130222/core/efuse/rtw_efuse.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_recv.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_br_ext.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_wapi.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_eeprom.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_debug.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_tdls.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_p2p.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_ieee80211.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_security.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_mlme.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_mp.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_wapi_sms4.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_sreset.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_sta_mgt.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_rf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_pwrctrl.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_wlan_util.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_mlme_ext.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_io.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_ap.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_led.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_ioctl_rtl.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_mp_ioctl.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_ioctl_set.c
rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_iol.c
rtl8188EUS_linux_v4.1.4_6773.20130222/wlan0dhcp
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/osdep_service.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/ioctl_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/recv_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/os_intfs.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/pci_ops_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/custom_gpio_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/usb_intf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/mlme_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/gspi_intf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/pci_intf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/sdio_intf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/rtw_android.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/xmit_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/gspi_ops_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/usb_ops_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/sdio_ops_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/os_dep/linux/ioctl_cfg80211.c
rtl8188EUS_linux_v4.1.4_6773.20130222/include/
rtl8188EUS_linux_v4.1.4_6773.20130222/include/hal_com.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/wlan_bssdef.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/cmd_osdep.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_recv.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_mlme_ext.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/wifi.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_led.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_recv.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/custom_gpio.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/HalPwrSeqCmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_dm.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_dm.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8192CPhyReg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/gspi_ops_linux.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_pg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8192DPhyCfg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_dm.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_rf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_android.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types_gspi.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_recv.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_recv.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/nic_spec.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/usb_osintf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_dm.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_recv.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_xmit.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_event.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8188EPhyReg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_qos.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_pwrctrl.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_xmit.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_spec.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/gspi_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/osdep_ce_service.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_ops.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_sreset.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_rf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/ieee80211.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/recv_osdep.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types_linux.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_efuse.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/gspi_ops.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_ops_ce.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/usb_ops.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_xmit.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ht.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/HalVerDef.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/ioctl_cfg80211.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/ethernet.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8188EPhyCfg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/mp_custom_oid.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ioctl_rtl.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_ops_linux.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8723APhyCfg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_spec.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_mlme.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_sreset.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/ieee80211_ext.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types_ce.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8192CPhyCfg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8723APhyReg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_cmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_rf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_led.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/swab.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/swabb.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/big_endian.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/little_endian.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/byteorder/generic.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_mp_ioctl.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_ops_xp.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/usb_ops_linux.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_xmit.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_osintf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8723PwrSeq.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_sreset.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_p2p.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/pci_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_conf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/usb_vendor_req.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/linux/
rtl8188EUS_linux_v4.1.4_6773.20130222/include/linux/wireless.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/osdep_service.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_led.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/gspi_osintf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ioctl_query.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_eeprom.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types_xp.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_cmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_byteorder.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_xmit.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_version.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_spec.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_cmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ioctl_set.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/h2clbk.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/pci_osintf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_bt_mp.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_cmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192d_rf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/pci_ops.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_tdls.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_cmd.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_event.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/mlme_osdep.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_debug.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ap.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/osdep_intf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_wapi.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/hal_intf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sta_info.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8188e_spec.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_iol.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_mp_phy_regdef.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_rf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8188EPwrSeq.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/usb_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/autoconf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_security.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/sdio_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_io.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/Hal8192DPhyReg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_br_ext.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/circ_buf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/basic_types.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_hal.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/ip.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_led.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/if_ether.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/xmit_osdep.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8192c_sreset.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_bt-coexist.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_mp.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtw_ioctl.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/drv_types_sdio.h
rtl8188EUS_linux_v4.1.4_6773.20130222/include/rtl8723a_led.h
rtl8188EUS_linux_v4.1.4_6773.20130222/ifcfg-wlan0
rtl8188EUS_linux_v4.1.4_6773.20130222/Makefile
rtl8188EUS_linux_v4.1.4_6773.20130222/Kconfig
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_types.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/HalPhyRf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/HalPhyRf.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_RegDefine11N.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_precomp.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/Hal8188EReg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_BB.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/odm_RTL8188E.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/Hal8188ERateAdaptive.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_RF.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_RF.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_FW.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalPhyRf_8188e.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/odm_RegConfig8188E.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/odm_RTL8188E.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_MAC.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/Hal8188EFWImg_CE.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_MAC.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_BB.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/Hal8188EFWImg_CE.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalHWImg8188E_FW.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/odm_RegConfig8188E.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/Hal8188ERateAdaptive.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/rtl8188e/HalPhyRf_8188e.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_HWConfig.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_debug.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_interface.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_interface.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_HWConfig.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_reg.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_RegDefine11AC.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/OUTSRC/odm_debug.h
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/hal_intf.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_sreset.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_rxdesc.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_cmd.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_rf6052.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/Hal8188EPwrSeq.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_mp.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_phycfg.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_dm.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/usb_halinit.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/rtl8188eu_led.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/rtl8188eu_recv.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/rtl8188eu_xmit.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/usb/usb_ops_linux.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_hal_init.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/rtl8188e/rtl8188e_xmit.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/hal_com.c
rtl8188EUS_linux_v4.1.4_6773.20130222/hal/HalPwrSeqCmd.c
rtl8188EUS_linux_v4.1.4_6773.20130222/clean
rtl8188EUS_linux_v4.1.4_6773.20130222
make[1]: Leaving directory '/usr/src/kernel-headers-5.18.14_1'
make: *** [Makefile:678: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

Mas, pelo que vi: o kernel não foi alterado automaticamente e ainda permanece no 5.18.14_1'. O problema é que eu não sei o procedimento para compilar o kernel LTS. Você poderia informar?
Obrigado, Maurício.



20. Adaptador USB 2.0 Wireless 802.11n

Maurício Naufal
rmnaufal

(usa Linux Mint)

Enviado em 08/08/2022 - 21:15h

Boa noite.

Em mais uma tentativa de configurar o adaptador WiFi 802.11n, clonei o driver da Realtek RTL8188EUS para o diretório ~/src e executei o comando install.sh

cd ~/src

git clone https://github.com/OpenHD/rtl8188eus.git
Cloning into 'rtl8188eus'...
remote: Enumerating objects: 2190, done.
remote: Counting objects: 100% (102/102), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 2190 (delta 43), reused 87 (delta 39), pack-reused 2088
Receiving objects: 100% (2190/2190), 5.71 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (1033/1033), done.

ls

8812au-20210629 RTL8188EUS_linux_v4.1.4_6773.20130222 rtl8188eus
88x2bu rtl8188eu

cd rtl8188eus

./cmode-on.sh
bash: ./cmode-on.sh: No such file or directory

sudo ./install-driver.sh

sudo: ./install-driver.sh: command not found

ls

BUILD_FOR_NETHUNTER.md ReleaseNotes.pdf dkms.conf os_dep
Kconfig core hal platform
Makefile dkms-install.sh include rtw_security.c
README.md dkms-remove.sh ioctl_cfg80211.c rtw_security.h

sudo make install

cut: /etc/redhat-release: No such file or directory
install -p -m 644 8188eu.ko /lib/modules/5.18.14_1/kernel/drivers/net/wireless/
install: cannot stat '8188eu.ko': No such file or directory
make: *** [Makefile:2068: install] Error 1

sudo dkms-install.sh

sudo: dkms-install.sh: command not found

sudo xbps-install rtl8188eus

Package 'rtl8188eus' not found in repository pool.

sudo make dkms-install.sh

cut: /etc/redhat-release: No such file or directory
make: Nothing to be done for 'dkms-install.sh'.
./dkms-install.sh

About to run dkms install steps...

Creating symlink /var/lib/dkms/8188eu/5.3.9/source ->
/usr/src/8188eu-5.3.9

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j1 KVER=5.18.14_1 KSRC=/lib/modules/5.18.14_1/build.........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.14_1 (x86_64)
Consult /var/lib/dkms/8188eu/5.3.9/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j1 KVER=5.18.14_1 KSRC=/lib/modules/5.18.14_1/build.......................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.14_1 (x86_64)
Consult /var/lib/dkms/8188eu/5.3.9/build/make.log for more information.
Finished running dkms install steps.

DKMS make.log for 8188eu-5.3.9 for kernel 5.18.14_1 (x86_64)
Mon Aug 8 17:35:25 -03 2022
cut: /etc/redhat-release: No such file or directory
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.14_1/build M=/var/lib/dkms/8188eu/5.3.9/build modules
make[1]: Entering directory '/usr/src/kernel-headers-5.18.14_1'
cut: /etc/redhat-release: No such file or directory
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_security.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_debug.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_io.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_mi.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_vht.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_rf.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_recv.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_ap.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_rson.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/8188eu/5.3.9/build/core/rtw_br_ext.o
/var/lib/dkms/8188eu/5.3.9/build/core/rtw_br_ext.c:20:11: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/8188eu/5.3.9/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:1838: /var/lib/dkms/8188eu/5.3.9/build] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-5.18.14_1'
make: *** [Makefile:2062: modules] Error 2

E o que se vê é que este Kernel não está aceitando nem o driver rtl8812au, nem o rtl8188eus.
Então, agradeço ao membro participante Illusion, se puder me informar o procedimento para substituir o Kernel atual pelo LTS.

Obrigado, Maurício




01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts