Wifi non détecté

French Forum

Moderator: Laurent85

Post Reply
JojoLaPatate
Level 1
Level 1
Posts: 9
Joined: Wed Aug 14, 2019 5:25 am

Wifi non détecté

Post by JojoLaPatate » Wed Aug 14, 2019 6:21 am

Bonjour.
J'ai installé Linux Mint 19.2 Xfce sur le PC d'un collègue. Tout est nickel sauf le wifi. Pas moyen de l'activer.
Je cherche au niveau des raccourcis clavier ou d'un bouton sur le côté de la machine pour activer le wifi, c'est introuvable.
Que conseilleriez-vous de faire ?
Merci d'avance

Laurent85
Level 16
Level 16
Posts: 6117
Joined: Tue May 26, 2015 10:11 am

Re: Wifi non détecté

Post by Laurent85 » Wed Aug 14, 2019 6:44 am

Bonjour,
Donne les retours commande de :

Code: Select all

rfkill
inxi -Fxxz --usb
Image

JojoLaPatate
Level 1
Level 1
Posts: 9
Joined: Wed Aug 14, 2019 5:25 am

Re: Wifi non détecté

Post by JojoLaPatate » Wed Aug 14, 2019 7:55 am

Merci pour ta réponse.
ça donne :

Code: Select all

pierre@ornykar:~$ rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
pierre@ornykar:~$ inxi -Fxxz --usb
System:
  Host: ornykar Kernel: 4.15.0-58-generic x86_64 bits: 64 compiler: gcc 
  v: 7.4.0 Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 wm: xfwm4 dm: LightDM 
  Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: HP product: HP Laptop v: Type1ProductConfigId 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 84AC v: 85.21 serial: <filter> UEFI: Insyde v: F.17 
  date: 01/16/2019 
Battery:
  ID-1: BAT1 charge: 1.6 Wh condition: 39.0/42.1 Wh (93%) volts: 11.6/11.6 
  model: Hewlett-Packard PABAS0241231 serial: <filter> status: Charging 
CPU:
  Topology: Dual Core model: AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G 
  bits: 64 type: MCP arch: Excavator L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 12376 
  Speed: 1397 MHz min/max: 1400/3100 MHz Core speeds (MHz): 1: 1399 2: 1397 
Graphics:
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Hewlett-Packard 
  driver: amdgpu v: kernel bus ID: 00:01.0 chip ID: 1002:98e4 
  Display: x11 server: X.Org 1.19.6 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,radeon,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD STONEY (DRM 3.23.0 4.15.0-58-generic LLVM 8.0.0) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 00:01.1 chip ID: 1002:15b3 
  Device-2: AMD Family 15h Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:09.2 chip ID: 1022:157a 
  Sound Server: ALSA v: k4.15.0-58-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: 3000 
  bus ID: 02:00.0 chip ID: 10ec:8168 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Realtek vendor: Hewlett-Packard driver: N/A port: 2000 
  bus ID: 03:00.0 chip ID: 10ec:d723 
Drives:
  Local Storage: total: 931.51 GiB used: 8.31 GiB (0.9%) 
  ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB 
  speed: 6.0 Gb/s serial: <filter> 
Partition:
  ID-1: / size: 915.40 GiB used: 8.30 GiB (0.9%) fs: ext4 dev: /dev/sda2 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  chip ID: 1d6b:0002 
  Hub: 1-1:2 info: Advanced Micro Devices ports: 4 rev: 2.0 
  chip ID: 0438:7900 
  Device-1: 1-1.4:3 info: Realtek type: Bluetooth driver: btusb rev: 1.1 
  chip ID: 0bda:b009 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  chip ID: 1d6b:0002 
  Device-2: 2-1:2 info: Quanta type: Video driver: uvcvideo rev: 2.0 
  chip ID: 0408:5321 
  Device-3: 2-2:3 info: KYE Systems (Mouse Systems) type: Mouse 
  driver: hid-generic,usbhid rev: 1.1 chip ID: 0458:0007 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 
  chip ID: 1d6b:0003 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: 20.0 C gpu: amdgpu temp: 54 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 175 Uptime: 1m Memory: 7.33 GiB used: 850.2 MiB (11.3%) 
  Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.4.0 alt: 7 Shell: bash 
  v: 4.4.20 running in: xfce4-terminal inxi: 3.0.32 

Laurent85
Level 16
Level 16
Posts: 6117
Joined: Tue May 26, 2015 10:11 am

Re: Wifi non détecté

Post by Laurent85 » Wed Aug 14, 2019 8:53 am

Puce wifi Realtek, à éviter sous Linux trop de problèmes il fallait le savoir.
Essaie ça :

Code: Select all

cd Téléchargements
apt install build-essential git dkms
git clone https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Redémarre ensuite.
Image

JojoLaPatate
Level 1
Level 1
Posts: 9
Joined: Wed Aug 14, 2019 5:25 am

Re: Wifi non détecté

Post by JojoLaPatate » Wed Aug 14, 2019 9:38 am

fait.
J'ai eu ce message pour la dernière commande :

Code: Select all

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.15.0-58-generic.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.15.0-58-generic (x86_64)
Consult /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/make.log for more information.
J'ai redémarré, mais toujours le même problème... :?

Laurent85
Level 16
Level 16
Posts: 6117
Joined: Tue May 26, 2015 10:11 am

Re: Wifi non détecté

Post by Laurent85 » Wed Aug 14, 2019 9:57 am

C'est alors que la compilation du pilote a planté avec cette version du noyau Linux. Regarde à la fin du fichier indiqué de quel type d'erreur il s'agit.
Image

JojoLaPatate
Level 1
Level 1
Posts: 9
Joined: Wed Aug 14, 2019 5:25 am

Re: Wifi non détecté

Post by JojoLaPatate » Wed Aug 14, 2019 11:14 am

voici ce que contient le log :

Code: Select all

DKMS make.log for rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414 for kernel 4.15.0-58-generic (x86_64)
mercredi 14 août 2019, 15:36:50 (UTC+0200)
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-58-generic/build M=/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-58-generic'
Makefile:986: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service.h:42:0,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h:287:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/include/osdep_service_linux.h:288: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:330: recipe for target '/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/core/rtw_cmd.o] Error 1
Makefile:1562: recipe for target '_module_/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build' failed
make[1]: *** [_module_/var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-58-generic'
Makefile:1884: recipe for target 'modules' failed
make: *** [modules] Error 2

Laurent85
Level 16
Level 16
Posts: 6117
Joined: Tue May 26, 2015 10:11 am

Re: Wifi non détecté

Post by Laurent85 » Wed Aug 14, 2019 3:01 pm

Il est pas à jour ce code pour 4.15, utilise ce dépôt la compilation marche :

Code: Select all

cd Téléchargements
sudo rm -r rtl8723de
sudo dkms remove rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
git clone https://github.com/smlinux/rtl8723de.git -b 4.15-up
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Redémarre.
Image

JojoLaPatate
Level 1
Level 1
Posts: 9
Joined: Wed Aug 14, 2019 5:25 am

Re: Wifi non détecté

Post by JojoLaPatate » Thu Aug 15, 2019 5:19 am

Merci pour ta réponse. Je n'ai plus accès à l'ordi de mon pote pendant 2 semaines.
Je reviens poster à son retour.

Post Reply

Return to “Français (French)”