Outils pour utilisateurs

Outils du site


tech:802.11_notes_wifi

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:802.11_notes_wifi [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:802.11_notes_wifi [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Réseau module}}
 +
 +# 802.11 notes Wifi
 +
 +Voir aussi :
 +* mdk3
 +
 +Connexion à un réseau wifi
 +~~~bash
 +iwconfig wlan0 essid Livebox-ABCD key 0123456789ABCD
 +~~~
 +
 +~~~bash
 +cat > /etc/apt/sources.list <<EOF
 +deb http://ftp.debian.org/debian jessie-backports main contrib non-free
 +EOF
 +
 +apt-get update
 +
 +apt-get install iw wireless-tools rfkill
 +
 +#apt-get install firmware-ralink
 +apt-get install firmware-misc-nonfree
 +
 +apt-get install firmware-atheros
 +
 +rfkill list all
 +
 +/etc/init.d/network-manager stop
 +
 +ifconfig wlan0 up
 +iwlist wlan0 scan
 +
 +iwconfig wlan0 essid FreeWifi
 +
 +dhclient -r wlan0
 +dhclient wlan0
 +
 +nmcli r wifi on
 +
 +w3m https://wifi.free.fr
 +~~~
 +
 +Diag
 +~~~bash
 +ifconfig
 +iw event -t -f
 +~~~
 +
 +Option module
 +
 +Source : 
 +* https://askubuntu.com/questions/440256/how-do-i-create-a-system-file-etc-modprobe-d-ath9k-conf
 +* https://doc.ubuntu-fr.org/wifi_atheros_ar9285
 +
 +~~~bash
 +cat /sys/module/ath9k/parameters/nohwcrypt
 +sudo modprobe -r ath9k
 +sudo modprobe ath9k nohwcrypt=1
 +~~~
 +
 +`/etc/modprobe.d/ath9k.conf`
 +~~~
 +options ath9k nohwcrypt=1
 +~~~
 +
 +
 +wicd pour remplacer le NetWork Manager 
 +
 +~~~bash
 +sudo apt-get update && sudo apt-get install wicd
 +sudo systemctl restart wicd
 +wicd-client
 +~~~
 +
 +## WPA
 +
 +Voir :
 +* https://community.spiceworks.com/topic/2072178-wpa2-krack-attack-reviewing-the-basics?source=topic&pos=29
 +
 +## Diag
 +
 +~~~bash
 +rfkill list
 +#rfkill unblock 1
 +rfkill unblock all
 +
 +iwlist scan
 +~~~
 +
 +
 +## Pb
 +
 +### Pb drivers - rtw_timed out to flush pci tx ring
 +
 +Voir :
 +* https://linuxfr.org/forums/linux-embarque/posts/probleme-pour-charger-le-firmware-realtek-rtw88
 +
 +~~~bash
 +dmesg -T
 +~~~
 +
 +~~~
 +[Fri Feb  9 16:16:23 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[1]
 +[Fri Feb  9 16:16:23 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[3]
 +[Fri Feb  9 16:16:23 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[5]
 +[Fri Feb  9 16:16:24 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[1]
 +[Fri Feb  9 16:16:24 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[3]
 +[Fri Feb  9 16:16:24 2024] rtw_8821ce 0000:01:00.0: timed out to flush pci tx ring[5]
 +
 +...
 +[Fri Feb  9 16:26:39 2024] wlp1s0: authentication with a4:ce:da:1e:07:97 timed out
 +[Fri Feb  9 16:26:40 2024] wlp1s0: authenticate with a4:ce:da:1e:07:92
 +[Fri Feb  9 16:26:40 2024] wlp1s0: send auth to a4:ce:da:1e:07:92 (try 1/3)
 +[Fri Feb  9 16:26:41 2024] wlp1s0: send auth to a4:ce:da:1e:07:92 (try 2/3)
 +[Fri Feb  9 16:26:42 2024] wlp1s0: send auth to a4:ce:da:1e:07:92 (try 3/3)
 +[Fri Feb  9 16:26:43 2024] wlp1s0: authentication with a4:ce:da:1e:07:92 timed out
 +~~~
 +
 +
 +Solution provisoire 
 +~~~bash
 +modprobe -r rtw88_8821ce
 +modprobe rtw88_8821ce
 +~~~
 +
 +A tester pour diag
 +~~~bash
 +rfkill list all
 +~~~
 +
 +### Pb drivers
 +
 +~~~
 +# dmesg
 +...
 +[   11.869171] iwlwifi 0000:00:14.3: firmware didn't ACK the reset - continue anyway
 +[   11.869317] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
 +[   11.869369] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
 +[   11.869411] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 so-a0-jf-b0-72.ucode
 +[   11.869452] iwlwifi 0000:00:14.3: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
 +[   11.869488] iwlwifi 0000:00:14.3: 0x000082F0 | trm_hw_status0
 +[   11.869517] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
 +[   11.869545] iwlwifi 0000:00:14.3: 0x004D2466 | branchlink2
 +[   11.869576] iwlwifi 0000:00:14.3: 0x004C9122 | interruptlink1
 +[   11.869603] iwlwifi 0000:00:14.3: 0x004C9122 | interruptlink2
 +[   11.869632] iwlwifi 0000:00:14.3: 0x0000FF88 | data1
 +...
 +~~~
 +
 +Contournement provisoire
 +~~~bash
 +lsmod | grep 802
 +
 +modprobe -r iwlmvm
 +modprobe -r libarc4
 +modprobe -r mac80211
 +
 +modprobe mac80211
 +modprobe libarc4
 +modprobe iwlmvm
 +~~~
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki