Deconnexion wifi intempestive

Hervé09
Messages : 65
Enregistré le : sam. 18 mai 2024 17:26

Re: Deconnexion wifi intempestive

Message par Hervé09 »

Dernier message de la page précédente :

En effet, ça donne envie d'essayer la suggestion de Larry Finger mais avec les bruits qui courent à propos des attaques via bootkits UEFI, je préfère que mon Secure boot soit activé, vu que mon ordi semble avoir retrouvé son WiFi d'origine :-)
https://korben.info/bootkitty-premier-b ... erche.html
Dell 16 DC16256 - 16 Go RAM - SSD 1 To - AMD Ryzen 7 - Dual boot Windows 11 & Linux Mint 22.3 Cinnamon
ASUS N751JX (août 2015) - 16 Go RAM - SSD 500Go + DD 1To - Intel Core i7 - Dual boot Windows 10 & Linux Mint 22.3 Cinnamon
Dell Latitude E7250 - 8 Go RAM - SSD 128 Go - Intel Core i5 - Linux Mint 22.3 Cinnamon (exit Windows...)
Avatar du membre
Armaggion
Messages : 685
Enregistré le : jeu. 22 août 2024 16:48

Re: Deconnexion wifi intempestive

Message par Armaggion »

Excellente nouvelle ! Donc si je comprends bien tu es à nouveau avec un portable fonctionnel, correct ?
PC : Desktop | Linux Mint 22.1 Xia | Cinnamon 6.4.8 | 6.8.0-63-generic | Intel Core i5-13400F | 32GB | NVIDIA AD106 [GeForce RTX 4060 Ti] / 575.64.03
Hervé09
Messages : 65
Enregistré le : sam. 18 mai 2024 17:26

Re: Deconnexion wifi intempestive

Message par Hervé09 »

Armaggion a écrit : mar. 3 déc. 2024 23:16 Excellente nouvelle ! Donc si je comprends bien tu es à nouveau avec un portable fonctionnel, correct ?
Heu... Est-ce que la question est posée à l'auteur du 1er post de cette discussion ? Mon PC et son WiFi vont bien, merci, mais je ne suis pas "Nicoayci" qui, lui, est l'auteur du 1er post. Je faisais juste part de mon expérience de WiFi et de Secure boot :-)
Dell 16 DC16256 - 16 Go RAM - SSD 1 To - AMD Ryzen 7 - Dual boot Windows 11 & Linux Mint 22.3 Cinnamon
ASUS N751JX (août 2015) - 16 Go RAM - SSD 500Go + DD 1To - Intel Core i7 - Dual boot Windows 10 & Linux Mint 22.3 Cinnamon
Dell Latitude E7250 - 8 Go RAM - SSD 128 Go - Intel Core i5 - Linux Mint 22.3 Cinnamon (exit Windows...)
capdeframint
Messages : 2493
Enregistré le : jeu. 2 juin 2016 08:57
Localisation : Hautes-Alpes: GAP

Re: Deconnexion wifi intempestive

Message par capdeframint »

@ Hervé09: je n'ai pas réactivé le Secure Boot sur mon ordi mais il est vraisemblablement possible de le faire, ça ne doit rien changer à la mise en œuvre de la suggestion de Larry Finger. Tu dois pouvoir tenter l'expérience sans aucun risque.
PC1:PCportable HP Pavilion 15-eh3027nf, proc Ryzen 7 7730U , Ram 16 Go, SSD 512 Go, LM 22.2 XFCE Dual Boot W11/LM 22.2
PC2: PC portable Lenovo Ideapad 3 15ALC6 (82KU002GFR),proc Ryzen 7 5700, Ram 8Go, SSD 512 Go, LM 21.1 XFCE
Dual boot: Windows 11 Family/ Linuxmint 22.2
nicoayci
Messages : 4
Enregistré le : lun. 2 déc. 2024 11:31

Re: Deconnexion wifi intempestive

Message par nicoayci »

capdeframint a écrit : mar. 3 déc. 2024 14:09 J'ai eu exactement le même problème pour une carte wifi 6 Realtek et j'ai été en relation avec Larry Finger qui a été l'un des concepteurs du driver désormais intégré dans le noyau mais qui n'empêchait pas ces déconnexions intempestives. Il m'a donné quelques lignes à rajouter dans un fichier utilisé au démarrage qui empêche la carte wifi de se mettre en économie d'énergie et donc de se déconnecter.
Ça doit pouvoir fonctionner avec une autre carte wifi qui aurait le même problème. Je vais récupérer le mail de Larry Finger et le poster ici.

voici ce qu'il m'avait envoyé concernant le driver Realtek 8852BE mais on peut transposer pour n'importe quel driver:

"
Did you try what was suggested above? I guess not. Run the command
sudo nano /etc/modprobe.d/rtw8852be.conf
In that file, add the lines
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89_core disable_ps_mode=y
options rtw89core disable_ps_mode=y
Save the resulting file, and reboot. These options will work for the in-kernel version, and this repo. If they help, the problem is with your BIOS, quite common with late=model HP and Lenovo."

Il suffit de créer un fichier.conf du nom de l'autre driver dans modprobe.d et de changer dans les diverses lignes rtw89 par l'appellation de l'autre driver.
j'ai fait ce que tu suggeres, j'y ai cru pendant quelques minutes car le wifi a tenu le coup plus que d'habitude (en gros, ca deconnecte quand le traffic est plus intense, i.e. ouverture de pleins de pages en meme temps) mais au final meme probleme : firmware crashed ! dommage...

Faudrait-il peut-etre que je tente une MAJ du firmware ath10k ?
Pc : Dell Latitude 5495 | Linux Mint 22 Wilma | Cinnamon 6.2.9 | 6.8.0-49-generic | quad core AMD Ryzen 3 PRO 2300U | 16Go | AMD Raven Ridge Radeon
capdeframint
Messages : 2493
Enregistré le : jeu. 2 juin 2016 08:57
Localisation : Hautes-Alpes: GAP

Re: Deconnexion wifi intempestive

Message par capdeframint »

Si tu as la possibilité de le mettre à jour, fais le mais le résultat meilleur espéré n'est pas garanti...
PC1:PCportable HP Pavilion 15-eh3027nf, proc Ryzen 7 7730U , Ram 16 Go, SSD 512 Go, LM 22.2 XFCE Dual Boot W11/LM 22.2
PC2: PC portable Lenovo Ideapad 3 15ALC6 (82KU002GFR),proc Ryzen 7 5700, Ram 8Go, SSD 512 Go, LM 21.1 XFCE
Dual boot: Windows 11 Family/ Linuxmint 22.2
Enrico57
Messages : 7
Enregistré le : dim. 12 janv. 2025 21:58

Re: Deconnexion wifi intempestive

Message par Enrico57 »

Bonjour,

J'ai également un problème de déconnexion intempestive de la wifi, sous Linuxmint 22 Wilma.
Ma carte est une Realtek 8852BE.

La wifi se connecte sans problème au démarrage, et se déconnecte spontanément au bout d'une quinzaine de minutes, sans possibilité de reconnexion manuelle. La seule solution est de redémarrer, pour bénéficier à nouveau de 15 minutes de wifi.
Là je poste dans w11 pour être sûr de terminer mon texte sans coupure.

J'ai désactivé le secureboot, désactivé le powersave de la carte wifi.
J'ai aussi essayé la procédure indiquée sur cette page : https://easylinuxtipsproject.blogspot.c ... ml#ID2.1.1

Ça n'a pas aidé, mon pc voyait tous les réseaux, mais impossible d'en rejoindre un.
J'ai une Freebox pop et mon protocole wifi est WPA2/AES. Ça marche très bien avec W11, sans déconnexions.

Quelqu'un a-t-il une suggestion pour m'aider, je voudrais vraiment m'affranchir de tous les produits GAFAM ?

Merci d'avance et bonne soirée
Pc : HP-Laptop-15 | Linux Mint 22.2 Zara | moi-HP-Laptop-15-fc0xxx | 6.8.0-51-generic | 8-core model: AMD Ryzen 7 7730U with Radeon Graphics | total: 16 GiB | AMD Barcelo
Enrico57
Messages : 7
Enregistré le : dim. 12 janv. 2025 21:58

Re: Deconnexion wifi intempestive

Message par Enrico57 »

PS : j'ai lu tout ce qui précède, mais je ne comprends pas la phrase : "Il suffit de créer un fichier.conf du nom de l'autre driver dans modprobe.d et de changer dans les diverses lignes rtw89 par l'appellation de l'autre driver. "
Pc : HP-Laptop-15 | Linux Mint 22.2 Zara | moi-HP-Laptop-15-fc0xxx | 6.8.0-51-generic | 8-core model: AMD Ryzen 7 7730U with Radeon Graphics | total: 16 GiB | AMD Barcelo
Enrico57
Messages : 7
Enregistré le : dim. 12 janv. 2025 21:58

Re: Deconnexion wifi intempestive

Message par Enrico57 »

Désolé j'ai mis le mauvais lien.

The rtw89 driver from lwfinger for the RTL8852AE, RTL8852BE and RTL8852CE chipsets
9. For the RTL8852AE, RTL8852BE and RTL8852CE Realtek WiFi chipsets you can install the latest rtw89 driver from Larry Finger (lwfinger).

a. First establish temporary internet connection for your computer by means of your cell phone.

b. Launch a terminal window.
(You can launch a terminal window like this: *Click*)

c. Copy/paste the following command line into the terminal:

sudo apt-get install mokutil && mokutil --sb-state

Press Enter. Type your password when prompted. In Ubuntu this remains entirely invisible, not even dots will show when you type it, that's normal. In Mint this has changed: you'll see asterisks when you type. Press Enter again.

If it reports that Secure Boot is enabled: reboot and disable Secure Boot in the BIOS. In order to do this, you might need to set an administrator password in the BIOS first.

No worries: although Secure Boot is a fairly reasonable idea in theory, it provides little real-life security anyway. So disabling it is no loss. In practice, Secure Boot is primarily an obstacle for using another operating system than Microsoft Windows. Which might or might not be an intended side effect.

d. Copy/paste the following command line into the terminal, in order to download and install the required build packages (the building tools with which you're going to build the driver):

sudo apt-get install make gcc git build-essential linux-headers-$(uname -r)

Press Enter. Type your password when prompted. In Ubuntu this remains entirely invisible, not even dots will show when you type it, that's normal. In Mint this has changed: you'll see asterisks when you type. Press Enter again.

e. Download the actual driver (the construction kit) by means of git, with this command (use copy/paste):

git clone https://github.com/lwfinger/rtw89.git

f. Copy/paste this line into the terminal, in order to enter the folder with the driver packages:

cd rtw89

Press Enter.

g. Now you're going to compile the required kernel module from the driver package. For that, run this command:

make

h. Finally, install the compiled module with this command:

sudo make install

i. Now you're going to remove the folder with the driver building blocks, which has become useless (and can't be used for other kernels, as it has been tailored to your current kernel by "make"). With this command:

rm -v -R --interactive=never ~/rtw89

j. Then you'll need to blacklist the default (and suboptimal) kernel drivers for the devices that are covered by your new rtw89 driver. With these three commands (execute them one by one):

echo "blacklist rtw89_8852ae" | sudo tee -a /etc/modprobe.d/blacklist.conf

echo "blacklist rtw89_8852be" | sudo tee -a /etc/modprobe.d/blacklist.conf

echo "blacklist rtw89_8852ce" | sudo tee -a /etc/modprobe.d/blacklist.conf

k. Reboot your computer.

l. Your wifi should work well now: click on the icon of Network Manager in the system tray, in order to see the available wireless networks.
Pc : HP-Laptop-15 | Linux Mint 22.2 Zara | moi-HP-Laptop-15-fc0xxx | 6.8.0-51-generic | 8-core model: AMD Ryzen 7 7730U with Radeon Graphics | total: 16 GiB | AMD Barcelo
capdeframint
Messages : 2493
Enregistré le : jeu. 2 juin 2016 08:57
Localisation : Hautes-Alpes: GAP

Re: Deconnexion wifi intempestive

Message par capdeframint »

Tu te prends vraiment la tête pour rien car le bon driver pour ta carte est intégré au noyau Linux depuis le 6.2 et il suffit de rajouter quelques lignes de configuration que j'ai indiquées dans plusieurs messages ici même sur ce forum ( lignes données par Larry Finger, l'auteur du driver), pour régler totalement le problème de déconnexion intempestive.
Tu as la bonne explication dans le dernier message de la page 1 de ce sujet!
PC1:PCportable HP Pavilion 15-eh3027nf, proc Ryzen 7 7730U , Ram 16 Go, SSD 512 Go, LM 22.2 XFCE Dual Boot W11/LM 22.2
PC2: PC portable Lenovo Ideapad 3 15ALC6 (82KU002GFR),proc Ryzen 7 5700, Ram 8Go, SSD 512 Go, LM 21.1 XFCE
Dual boot: Windows 11 Family/ Linuxmint 22.2
Enrico57
Messages : 7
Enregistré le : dim. 12 janv. 2025 21:58

Re: Deconnexion wifi intempestive

Message par Enrico57 »

Oui en effet, je l'ai fait et maintenant ça fonctionne.
C'est juste qu'étant nouvel utilisateur de Linux, j'ai mis un peu de temps à comprendre, et que je n'aime pas faire quelque chose sans savoir ce que c'est.
Merci pour ton message.
Je ne mets pas le fil "résolu" parce que je ne l'ai pas créé.
Bonne soirée,
Eric
Pc : HP-Laptop-15 | Linux Mint 22.2 Zara | moi-HP-Laptop-15-fc0xxx | 6.8.0-51-generic | 8-core model: AMD Ryzen 7 7730U with Radeon Graphics | total: 16 GiB | AMD Barcelo
Répondre