Page 8 sur 11

Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 12 janv. 2021 20:37
par MickMick68

Dernier message de la page précédente :

je viens de la faire, j'ai un retour, je dirais qu'il est négatif:

Code : Tout sélectionner

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KVER=5.8.0-33-generic KSRC=/lib/modules/5.8.0-33-generic/build make -j4.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.1.5/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KVER=5.8.0-33-generic KSRC=/lib/modules/5.8.0-33-generic/build make -j4........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.1.5/build/make.log for more information.
Finished running dkms install steps.

Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 12 janv. 2021 20:53
par L5d
Bonjour,
on dirait que la procédure de ton CD installe tout un tas de driver différents, pas forcement tous utiles.
pour connaître celui dont tu as besoin,

Code : Tout sélectionner

inxi -Nni

Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 12 janv. 2021 21:00
par MickMick68
pour le secure boot c'est bon.
la procédure fonctionne jusqu'à la dernière ligne

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ git clone https://github.com/aircrack-ng/rtl8812au.git
Clonage dans 'rtl8812au'...
remote: Enumerating objects: 377, done.
remote: Counting objects: 100% (377/377), done.
remote: Compressing objects: 100% (342/342), done.
remote: Total 10959 (delta 86), reused 113 (delta 31), pack-reused 10582
Réception d'objets: 100% (10959/10959), 72.32 Mio | 146.00 Kio/s, fait.
Résolution des deltas: 100% (7448/7448), fait.
driesbach@driesbach-F6-Plus:~$ cd rtl8812au
driesbach@driesbach-F6-Plus:~/rtl8812au$ sudo ./dkms-install.sh
sudo: ./dkms-install.sh : commande introuvable

Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 12 janv. 2021 21:05
par MickMick68
Bonjour L5D,
voici le retour de la commande:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ inxi -Nni
Network:
  Message: No Device data found. 
  Device-1: Realtek 802.11ac NIC type: USB driver: usb-network 
  IF-ID-1: bnep0 state: unknown speed: N/A duplex: N/A 
  mac: 5c:80:b6:d5:11:72 
  IP v4: 192.168.44.234/24 type: dynamic noprefixroute scope: global 
  IP v6: fe80::23bc:4ce3:214d:fcd1/64 type: noprefixroute scope: link 
  WAN IP: 176.148.135.31 
driesbach@driesbach-F6-Plus:~$ 


Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 12 janv. 2021 22:54
par L5d
Bonsoir,
inxi ne renvoie rien d'utilisable, bizarre !

Dans un autre post, tu as utilisé "Hardware probe" pour trouver sous linux le nom de ta carte wifi originelle.
Peux-tu le réutiliser pour ta nouvelle clef wifi (à brancher avant de faire ça :l ) ?

Re: carte wifi inexistante pour LINUXMINT

Posté : mer. 13 janv. 2021 07:22
par MickMick68

Code : Tout sélectionner

USB 	0bda:c811 »
/ ff-ff-ff 	Realtek Semiconductor Corp. 	802.11ac NIC 	network 	- 	failed
	

Driver is not found or not configured.

We have not found a driver for the device in any Linux kernel versions up to 5.10 according to the LKDDb.

You need to install one of the following additional drivers for the device to work properly:

    smp79/rtl8821CU
    whitebatman2/rtl8821CU

USB 	8087:0a2a »
/ e0-01-01 	Intel Corp. 	Bluetooth wireless interface 	bluetooth 	btusb 	detected
	
USB 	056e:701a »
/ 0e-01-00 	Elecom Co., Ltd 	ELECOM 2MP Webcam 	camera 	snd_usb_audio 	detected 	
USB 	0bda:0129 »
/ ff-06-50 	Realtek Semiconductor Corp. 	RTS5129 Card Reader Controller 	card reader 	rtsx_usb 	detected
	
USB 	1d6b:0002 »
/ 09-00-00 	Linux Foundation 	2.0 root hub 	hub 	hub 	detected
	
USB 	1d6b:0003 »
/ 09-00-00 	Linux Foundation 	3.0 root hub 	hub 	hub 	detected 	
OK, j'ai mis tout se qui concerne la partie USB.
si c'est pas super lisible comme ça, voici le lien:
https://linux-hardware.org/?probe=698d36368e

Re: carte wifi inexistante pour LINUXMINT

Posté : mer. 13 janv. 2021 07:51
par arghlub
Salut,

Désolé, si quelque chose m'a échappé, j'ai lu ton sujet en diagonale :?
MickMick68 a écrit : mer. 13 janv. 2021 07:22

Code : Tout sélectionner

(...)
You need to install one of the following additional drivers for the device to work properly:
    smp79/rtl8821CU
    whitebatman2/rtl8821CU
(...)
As-tu essayé d'installer un de ces 2 pilotes : Il faut les compiler, si tu n'es pas à l'aise avec la compilation va jeter un œil à ce topic (en anglais mais facile à suivre) :
https://forums.linuxmint.com/viewtopic. ... 4#p1507367
;)

Re: carte wifi inexistante pour LINUXMINT

Posté : mer. 13 janv. 2021 10:07
par MickMick68
j'ai suivi la procédure (merci Arghub),
cependant il y a une erreur qui s'affiche et cela ne fonctionne toujours pas:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-36-generic/build M=/home/driesbach/rtl8821CU  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-36-generic »
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_cmd.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_cmd.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_security.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_security.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_security.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_debug.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_debug.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_io.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_io.c:52:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_io.c:52:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_ioctl_query.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_ioctl_query.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_ioctl_set.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_ioctl_set.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_ieee80211.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_ieee80211.c:25:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_mlme.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_types.h:191,
                 from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/driesbach/rtl8821CU/include/hal_data.h:25,
                 from /home/driesbach/rtl8821CU/core/rtw_mlme.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_types.h:191,
                 from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/driesbach/rtl8821CU/include/hal_data.h:25,
                 from /home/driesbach/rtl8821CU/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_mlme_ext.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:1510:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1510 |   if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |      ^
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:1515:2: note: here
 1515 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_mi.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_mi.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_mi.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_wlan_util.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_wlan_util.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_vht.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_vht.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_pwrctrl.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_pwrctrl.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_rf.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_rf.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_recv.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_recv.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_sta_mgt.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_sta_mgt.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_ap.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_ap.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_xmit.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_xmit.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_xmit.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_p2p.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_p2p.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_tdls.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_tdls.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/driesbach/rtl8821CU/core/rtw_br_ext.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
                 from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
                 from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
                 from /home/driesbach/rtl8821CU/include/drv_types.h:32,
                 from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
 1600 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:82,
                 from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
/home/driesbach/rtl8821CU/include/rtw_security.h:248:8: error: redefinition of ‘struct sha256_state’
  248 | struct sha256_state {
      |        ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
                 from ./include/net/sock.h:59,
                 from ./include/net/inet_sock.h:22,
                 from ./include/net/ip.h:27,
                 from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:24:
./include/crypto/sha.h:84:8: note: originally defined here
   84 | struct sha256_state {
      |        ^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:290 : /home/driesbach/rtl8821CU/core/rtw_br_ext.o] Erreur 1
make[1]: *** [Makefile:1780 : /home/driesbach/rtl8821CU] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.8.0-36-generic »
make: *** [Makefile:1923 : modules] Erreur 2
driesbach@driesbach-F6-Plus:~/rtl8821CU$ sudo make install
install -p -m 644 8821cu.ko  /lib/modules/5.8.0-36-generic/kernel/drivers/net/wireless/
install: impossible d'évaluer '8821cu.ko': Aucun fichier ou dossier de ce type
make: *** [Makefile:1929 : install] Erreur 1


Re: carte wifi inexistante pour LINUXMINT

Posté : jeu. 14 janv. 2021 11:09
par MickMick68
Ok, ça c'est le retour de la commande:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ sudo apt install git dkms
[sudo] Mot de passe de driesbach :                 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
dkms est déjà la version la plus récente (2.8.1-5ubuntu1).
git est déjà la version la plus récente (1:2.25.1-1ubuntu3).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 10 non mis à jour.
driesbach@driesbach-F6-Plus:~$ git clone https://github.com/aircrack-ng/rtl8812au.git
fatal: le chemin de destination 'rtl8812au' existe déjà et n'est pas un répertoire vide.
driesbach@driesbach-F6-Plus:~$ cd rtl8812au
driesbach@driesbach-F6-Plus:~/rtl8812au$ sudo make dkms_install
mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025

Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
                 /usr/src/8812au-5.6.4.2_35491.20191025

DKMS: add completed.
dkms build -m 8812au -v 5.6.4.2_35491.20191025

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.8.0-36-generic KSRC=/lib/modules/5.8.0-36-generic/build...................................................
Signing module:
 - /var/lib/dkms/8812au/5.6.4.2_35491.20191025/5.8.0-36-generic/x86_64/module/88XXau.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.
dkms install -m 8812au -v 5.6.4.2_35491.20191025

88XXau.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-36-generic/updates/

depmod....

DKMS: install completed.
dkms status
8812au, 5.6.4.2_35491.20191025, 5.8.0-36-generic, x86_64: installed
backport-iwlwifi, 8324, 5.4.0-60-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
backport-iwlwifi, 8324, 5.8.0-29-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
backport-iwlwifi, 8324, 5.8.0-33-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
backport-iwlwifi, 8324, 5.8.0-36-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
rtl8812au, 5.1.5: added
rtl8821cu, 1.1: added
driesbach@driesbach-F6-Plus:~/rtl8812au$ 


Re: carte wifi inexistante pour LINUXMINT

Posté : jeu. 14 janv. 2021 21:59
par L5d
Bonsoir,
Si tu as réussi à compiler ton driver rtl8821CU, il te reste à copier "rtl8821CU.ko" dans le dossier des modules et à le faire charger au démarrage. Tu reprends la méthode pour le driver de la carte interne, ça devrait fonctionner.

il y a deux fils sur le forum Linuxmint en anglais où les demandeurs ont réussi à le faire prendre en compte. (celui qu'a indiqué Cyrille ou Arghlub, je ne sais plus), et un autre, mais avec un titre sur un autre numéro, mais pour le même composant USB 0bda:c811 ).

Re: carte wifi inexistante pour LINUXMINT

Posté : jeu. 14 janv. 2021 22:56
par L5d
cyrille a écrit : mer. 13 janv. 2021 13:23 on reprend où tu me signale l'erreur

Code : Tout sélectionner

sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo make dkms_install
Il faut essayer de comprendre les lignes données afin de repérer et régler les erreurs ;)

Tout est dans le README dispo lors du clone du git ;)
il faudrait faire la même, mais avec rtl8821CU à la place de rtl8812au :l :l et avec le github de : https://github.com/qslia/rtl8821CU mieux adapté à ta clef.
cyrille, tu peux préciser la bonne utilisation, merci.
Je me demande aussi si les versions compilées seront bien adaptées à son noyau 5.8.0.xx, alors que l'on voit des codes différent comme 5.6.x.y :?: