En cours carte wifi inexistante pour LINUXMINT

Questions concernant les composants
MickMick68
Messages : 96
Enregistré le : mer. 18 nov. 2020 18:13

Re: carte wifi inexistante pour LINUXMINT

Message par MickMick68 »

Dernier message de la page précédente :

Salut, L5d,
je suis rentré dans le dossier rtl8821CU (en espérant qua c'est de celui-là que tu parlais) et la première ligne de commande donne ça:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU/
driesbach@driesbach-F6-Plus:~/rtl8821CU$ chmod +x dkms-install.sh
chmod: impossible d'accéder à 'dkms-install.sh': Aucun fichier ou dossier de ce type
driesbach@driesbach-F6-Plus:~/rtl8821CU$ 

PC: Teclast F6 plus
CPU: intel Celeron N4100 CPU 1.10GHzx4
LinuxMint Cinamon 4.6.7
Noyau 5.8.0-40-generic
carte wifi intel(R) dual band Wireless-AC 3165
cg: intel Corporation UHD Graphics 605
ram: 7.6Go

Avatar du membre
cyrille
Administrateur du site
Messages : 12438
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par cyrille »

Code : Tout sélectionner

cd rtl8821CU/
ls 
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
cyrille
Administrateur du site
Messages : 12438
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par cyrille »

Sinon pour une vingtaine d'euros, il y a des puces intel wifi qui ne posent aucun soucis
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
L5d
Messages : 1000
Enregistré le : sam. 25 juil. 2015 01:14
Localisation : Entre le clavier et la chaise
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par L5d »

Bonjour,
je suis retourner lire https://github.com/brektrou/rtl8821CU#readme

Fais le "ls" demandé par cyrille, poste le retour;
ensuite il faut probablement faire :

Code : Tout sélectionner

make
sudo make install
refaire le "ls" pour voir s'il a créer un module (ou on l'aura déjà lu dans le retour des commandes)...

ensuite, si on suit le readme :

Code : Tout sélectionner

ls /lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtl8821cu
on doit trouver :
8821cu.ko
Mon micro de Bureau :
Linux Mint 19.3 64 Cinnamon, Kernel 5.0.0-65-generic, CG Zotac GTX 750 Ti (pilote NVidia 390.141 ou 460.80), Canon MG7150, SSD 240 Go, DD 2 To, HDD externe 320 Go, Triple Boot : Win 7 Pro 64 sp1, ou Linux Mint 20.1 Cinnamon avec Kernel 5.4.0-77, Scanner à plat Relisys Scorpio était fonctionnel sous Mint 17.3 --- https://www.lilo.org/fr et https://www.mobicoop.fr/

MickMick68
Messages : 96
Enregistré le : mer. 18 nov. 2020 18:13

Re: carte wifi inexistante pour LINUXMINT

Message par MickMick68 »

bonjour,
le retour de la commande ls dans le répertoire.

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU/
driesbach@driesbach-F6-Plus:~/rtl8821CU$ ls
clean      hal          Kconfig   os_dep     rtl8821c.mk
core       ifcfg-wlan0  LICENSE   platform   runwpa
dkms.conf  include      Makefile  README.md  wlan0dhcp
driesbach@driesbach-F6-Plus:~/rtl8821CU$ 
PC: Teclast F6 plus
CPU: intel Celeron N4100 CPU 1.10GHzx4
LinuxMint Cinamon 4.6.7
Noyau 5.8.0-40-generic
carte wifi intel(R) dual band Wireless-AC 3165
cg: intel Corporation UHD Graphics 605
ram: 7.6Go

MickMick68
Messages : 96
Enregistré le : mer. 18 nov. 2020 18:13

Re: carte wifi inexistante pour LINUXMINT

Message par MickMick68 »

voici le résultat de la commande make:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-40-generic/build M=/home/driesbach/rtl8821CU  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-40-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-40-generic »
make: *** [Makefile:1923 : modules] Erreur 2
driesbach@driesbach-F6-Plus:~/rtl8821CU$ 


on y voit erreur 2, je continue avec les autres commandes ou pas?
PC: Teclast F6 plus
CPU: intel Celeron N4100 CPU 1.10GHzx4
LinuxMint Cinamon 4.6.7
Noyau 5.8.0-40-generic
carte wifi intel(R) dual band Wireless-AC 3165
cg: intel Corporation UHD Graphics 605
ram: 7.6Go

Avatar du membre
L5d
Messages : 1000
Enregistré le : sam. 25 juil. 2015 01:14
Localisation : Entre le clavier et la chaise
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par L5d »

Bonjour,
Je reviens sur le retour de "ls" : on voit qu'il manque beaucoup de fichiers listés sur la page du lien du "git".
dont "dkms-install.sh" qui devrait y être. Est-ce que ça serait la commande "git clone ..." qui prend pas tout ?

sur cette même page, il y a un bouton (vert) qui propose "Download zip" quand on le clique. à essayer peut être pour avoir tous les fichiers ?
Mon micro de Bureau :
Linux Mint 19.3 64 Cinnamon, Kernel 5.0.0-65-generic, CG Zotac GTX 750 Ti (pilote NVidia 390.141 ou 460.80), Canon MG7150, SSD 240 Go, DD 2 To, HDD externe 320 Go, Triple Boot : Win 7 Pro 64 sp1, ou Linux Mint 20.1 Cinnamon avec Kernel 5.4.0-77, Scanner à plat Relisys Scorpio était fonctionnel sous Mint 17.3 --- https://www.lilo.org/fr et https://www.mobicoop.fr/

MickMick68
Messages : 96
Enregistré le : mer. 18 nov. 2020 18:13

Re: carte wifi inexistante pour LINUXMINT

Message par MickMick68 »

j'ai refais toutes l'opération de A à Z pour voir si j'arrive a avoir les fichiers manquant.
résultat du ls:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ ls
clean      dkms-install.sh  ifcfg-wlan0  LICENSE   platform     runwpa
core       dkms-remove.sh   include      Makefile  README.md    wlan0dhcp
dkms.conf  hal              Kconfig      os_dep    rtl8821c.mk
driesbach@driesbach-F6-Plus:~/rtl8821CU$
suite a ça je passe aux commandes make:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-40-generic/build M=/home/driesbach/rtl8821CU  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-40-generic »
  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-40-generic »
make: *** [Makefile:1923 : modules] Erreur 2
driesbach@driesbach-F6-Plus:~/rtl8821CU$
et là, j'ai toujours deux erreurs.
PC: Teclast F6 plus
CPU: intel Celeron N4100 CPU 1.10GHzx4
LinuxMint Cinamon 4.6.7
Noyau 5.8.0-40-generic
carte wifi intel(R) dual band Wireless-AC 3165
cg: intel Corporation UHD Graphics 605
ram: 7.6Go

Avatar du membre
L5d
Messages : 1000
Enregistré le : sam. 25 juil. 2015 01:14
Localisation : Entre le clavier et la chaise
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par L5d »

Bonsoir,
suite au nouveau résultat de la commande ls, tu peux réessayer

Code : Tout sélectionner

./dkms-install.sh
, à faire du dossier qui le contient, et au besoin précédé de sudo.
Mon micro de Bureau :
Linux Mint 19.3 64 Cinnamon, Kernel 5.0.0-65-generic, CG Zotac GTX 750 Ti (pilote NVidia 390.141 ou 460.80), Canon MG7150, SSD 240 Go, DD 2 To, HDD externe 320 Go, Triple Boot : Win 7 Pro 64 sp1, ou Linux Mint 20.1 Cinnamon avec Kernel 5.4.0-77, Scanner à plat Relisys Scorpio était fonctionnel sous Mint 17.3 --- https://www.lilo.org/fr et https://www.mobicoop.fr/

MickMick68
Messages : 96
Enregistré le : mer. 18 nov. 2020 18:13

Re: carte wifi inexistante pour LINUXMINT

Message par MickMick68 »

Salut L5d,
j'ai testé ta commande et il semblerait que mon noyau poserait problème. Cyrille m'en avait parlé, mais je ne sais pas comment faire pour aller sur un noyau antérieur a celui que j'ai actuellement. N'y lequel prendre d'ailleurs.
la commande a donnée ceci:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ sudo ./dkms-install.sh
[sudo] Mot de passe de driesbach :                 
About to run dkms install steps...

Creating symlink /var/lib/dkms/rtl8821CU/5.4.1/source ->
                 /usr/src/rtl8821CU-5.4.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-40-generic................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-40-generic................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
Finished running dkms install steps.
driesbach@driesbach-F6-Plus:~/rtl8821CU$ 
PC: Teclast F6 plus
CPU: intel Celeron N4100 CPU 1.10GHzx4
LinuxMint Cinamon 4.6.7
Noyau 5.8.0-40-generic
carte wifi intel(R) dual band Wireless-AC 3165
cg: intel Corporation UHD Graphics 605
ram: 7.6Go

Avatar du membre
alain
Administrateur du site
Messages : 14804
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: carte wifi inexistante pour LINUXMINT

Message par alain »

Bonjour MickMick.

Donnes le retour de:

Code : Tout sélectionner

cat /var/lib/dkms/rtl8821CU/5.4.1/build/make.log
Ça pourrait aiguiller L5d ou Cyrille sur l'origine du problème.
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: ATI RX 580-8 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 10.5 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Répondre