Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 20/05/2023, à 19:23

xubu1957

Re : wifi impossible à installer(RESOLU)

Comme le dernier noyau ne s'active pas, je vais essayer d'obtenir du renfort.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#27 Le 20/05/2023, à 19:30

gened

Re : wifi impossible à installer(RESOLU)

Entendu. Merci d'aance.
En attendant, je ferme le terminal ?

Hors ligne

#28 Le 20/05/2023, à 19:31

xubu1957

Re : wifi impossible à installer(RESOLU)

Je pense que tu peux le fermer.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#29 Le 20/05/2023, à 19:32

nany

Re : wifi impossible à installer(RESOLU)

Bonjour,



gened a écrit :
lines 1-6/6 (END)

Il faut appuyer sur la touche [­Q­] pour reprendre la main sur le terminal.



Pour le noyau, il semblerait que le lowlatency ait la priorité.
Donne le retour de :

sudo apt install -y linux-lowlatency-hwe-22.04

Hors ligne

#30 Le 20/05/2023, à 19:43

gened

Re : wifi impossible à installer(RESOLU)

Merci d'avoir pris le relais;

jgcornec@jgcornec-ThinkPad-L580:~$ sudo apt install -y linux-lowlatency-hwe-22.04
[sudo] Mot de passe de jgcornec : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-hwe-5.19-headers-5.19.0-32 linux-lowlatency-headers-5.15.0-71
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  linux-headers-5.19.0-1024-lowlatency linux-headers-lowlatency-hwe-22.04
  linux-image-5.19.0-1024-lowlatency linux-image-lowlatency-hwe-22.04
  linux-lowlatency-hwe-5.19-headers-5.19.0-1024
  linux-modules-5.19.0-1024-lowlatency
Paquets suggérés :
  fdutils linux-doc | linux-lowlatency-hwe-5.19-source-5.19.0
  linux-lowlatency-hwe-5.19-tools linux-modules-extra-5.19.0-1024-lowlatency
Les NOUVEAUX paquets suivants seront installés :
  linux-headers-5.19.0-1024-lowlatency linux-headers-lowlatency-hwe-22.04
  linux-image-5.19.0-1024-lowlatency linux-image-lowlatency-hwe-22.04
  linux-lowlatency-hwe-22.04 linux-lowlatency-hwe-5.19-headers-5.19.0-1024
  linux-modules-5.19.0-1024-lowlatency
0 mis à jour, 7 nouvellement installés, 0 à enlever et 8 non mis à jour.
Il est nécessaire de prendre 124 Mo dans les archives.
Après cette opération, 737 Mo d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-lowlatency-hwe-5.19-headers-5.19.0-1024 all 5.19.0-1024.25~22.04.1 [12,7 MB]
Réception de :2 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-5.19.0-1024-lowlatency amd64 5.19.0-1024.25~22.04.1 [3405 kB]
Réception de :3 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-lowlatency-hwe-22.04 amd64 5.19.0.1024.25~22.04.11 [2412 B]
Réception de :4 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-5.19.0-1024-lowlatency amd64 5.19.0-1024.25~22.04.1 [95,9 MB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-5.19.0-1024-lowlatency amd64 5.19.0-1024.25~22.04.1 [12,0 MB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-lowlatency-hwe-22.04 amd64 5.19.0.1024.25~22.04.11 [2516 B]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-lowlatency-hwe-22.04 amd64 5.19.0.1024.25~22.04.11 [1718 B]
124 Mo réceptionnés en 10s (12,8 Mo/s)                                         
Sélection du paquet linux-lowlatency-hwe-5.19-headers-5.19.0-1024 précédemment d
ésélectionné.
(Lecture de la base de données... 391591 fichiers et répertoires déjà installés.
)
Préparation du dépaquetage de .../0-linux-lowlatency-hwe-5.19-headers-5.19.0-102
4_5.19.0-1024.25~22.04.1_all.deb ...
Dépaquetage de linux-lowlatency-hwe-5.19-headers-5.19.0-1024 (5.19.0-1024.25~22.
04.1) ...
Sélection du paquet linux-headers-5.19.0-1024-lowlatency précédemment désélectio
nné.
Préparation du dépaquetage de .../1-linux-headers-5.19.0-1024-lowlatency_5.19.0-
1024.25~22.04.1_amd64.deb ...
Dépaquetage de linux-headers-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Sélection du paquet linux-headers-lowlatency-hwe-22.04 précédemment désélectionn
é.
Préparation du dépaquetage de .../2-linux-headers-lowlatency-hwe-22.04_5.19.0.10
24.25~22.04.11_amd64.deb ...
Dépaquetage de linux-headers-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Sélection du paquet linux-modules-5.19.0-1024-lowlatency précédemment désélectio
nné.
Préparation du dépaquetage de .../3-linux-modules-5.19.0-1024-lowlatency_5.19.0-
1024.25~22.04.1_amd64.deb ...
Dépaquetage de linux-modules-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Sélection du paquet linux-image-5.19.0-1024-lowlatency précédemment désélectionn
é.
Préparation du dépaquetage de .../4-linux-image-5.19.0-1024-lowlatency_5.19.0-10
24.25~22.04.1_amd64.deb ...
Dépaquetage de linux-image-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Sélection du paquet linux-image-lowlatency-hwe-22.04 précédemment désélectionné.
Préparation du dépaquetage de .../5-linux-image-lowlatency-hwe-22.04_5.19.0.1024
.25~22.04.11_amd64.deb ...
Dépaquetage de linux-image-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Sélection du paquet linux-lowlatency-hwe-22.04 précédemment désélectionné.
Préparation du dépaquetage de .../6-linux-lowlatency-hwe-22.04_5.19.0.1024.25~22
.04.11_amd64.deb ...
Dépaquetage de linux-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Paramétrage de linux-lowlatency-hwe-5.19-headers-5.19.0-1024 (5.19.0-1024.25~22.
04.1) ...
Paramétrage de linux-headers-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Paramétrage de linux-modules-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Paramétrage de linux-image-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-72-lowlatency
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-72-lowlatency
I: /boot/vmlinuz is now a symlink to vmlinuz-5.19.0-1024-lowlatency
I: /boot/initrd.img is now a symlink to initrd.img-5.19.0-1024-lowlatency
Paramétrage de linux-image-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Paramétrage de linux-headers-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Paramétrage de linux-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Traitement des actions différées (« triggers ») pour linux-image-5.19.0-1024-low
latency (5.19.0-1024.25~22.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-1024-lowlatency
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1024-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1024-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Found linux image: /boot/vmlinuz-5.19.0-1024-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1024-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Found linux image: /boot/vmlinuz-5.15.0-72-lowlatency
Found initrd image: /boot/initrd.img-5.15.0-72-lowlatency
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#31 Le 20/05/2023, à 19:51

iznobe

Re : wifi impossible à installer(RESOLU)

xubu1957 a écrit :

Montre :

uname -a
iwconfig

nmcli dev wifi
gened a écrit :
jgcornec@jgcornec-ThinkPad-L580:~$ nmcli dev wifi
IN-USE  BSSID              SSID               MODE   CHAN  RATE        SIGNAL  >
        74:9D:79:79:75:3B  Livebox-7536_5GHz  Infra  108   540 Mbit/s  100     >
*       74:9D:79:79:75:36  Livebox-7536       Infra  1     195 Mbit/s  95      >
        EC:6C:9A:36:FE:7A  Livebox-7536       Infra  1     130 Mbit/s  94      >
        E6:6C:9A:36:FE:78  Livebox-7536_5GHz  Infra  108   540 Mbit/s  79      >
        E0:3F:49:09:E6:20  Freek              Infra  6     195 Mbit/s  29      >
lines 1-6/6 (END)

Bonjour .
HS

@xubu1957 , je pense que pour celle là aussi , tu peux modifier tes notes :

nmcli dev wifi | cat

retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#32 Le 20/05/2023, à 19:53

nany

Re : wifi impossible à installer(RESOLU)

Tiens, je me demande pourquoi c’est 5.19.0-1024 et non 5.19.0-41.

Bon, redémarre et redonne le retour de :

echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

Hors ligne

#33 Le 20/05/2023, à 20:01

xubu1957

Re : wifi impossible à installer(RESOLU)

[HS]

@iznobe

Salut,

Je suis preneur de toutes commandes évitant des troncatures.

Merci wink

[/HS]

        _ _ _

(edit=messages regroupés)
        _ _ _


@nany

> ubuntuupdates.org/package/canonical_kernel_team/jammy/main/base/linux-lowlatency-hwe-5.19

Un zeste de proposed ?

Dernière modification par xubu1957 (Le 20/05/2023, à 20:02)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#34 Le 20/05/2023, à 20:02

gened

Re : wifi impossible à installer(RESOLU)

Voici la réponse pour nany :

jgcornec@jgcornec-ThinkPad-L580:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-lowlatency-headers-5.15.0-71             5.15.0-71.78             all
ii  linux-lowlatency-headers-5.15.0-72             5.15.0-72.79             all
ii  linux-headers-5.15.0-72-lowlatency             5.15.0-72.79             amd64
ii  linux-image-5.15.0-72-lowlatency               5.15.0-72.79             amd64
ii  linux-modules-5.15.0-72-lowlatency             5.15.0-72.79             amd64
ii  linux-headers-lowlatency                       5.15.0.72.77             amd64
ii  linux-image-lowlatency                         5.15.0.72.77             amd64
ii  linux-lowlatency                               5.15.0.72.77             amd64
ii  linux-hwe-5.19-headers-5.19.0-32               5.19.0-32.33~22.04.1     all
ii  linux-hwe-5.19-headers-5.19.0-41               5.19.0-41.42~22.04.1     all
ii  linux-headers-5.19.0-41-generic                5.19.0-41.42~22.04.1     amd64
ii  linux-image-5.19.0-41-generic                  5.19.0-41.42~22.04.1     amd64
ii  linux-modules-5.19.0-41-generic                5.19.0-41.42~22.04.1     amd64
ii  linux-modules-extra-5.19.0-41-generic          5.19.0-41.42~22.04.1     amd64
ii  linux-lowlatency-hwe-5.19-headers-5.19.0-1024  5.19.0-1024.25~22.04.1   all
ii  linux-headers-5.19.0-1024-lowlatency           5.19.0-1024.25~22.04.1   amd64
ii  linux-image-5.19.0-1024-lowlatency             5.19.0-1024.25~22.04.1   amd64
ii  linux-modules-5.19.0-1024-lowlatency           5.19.0-1024.25~22.04.1   amd64
ii  linux-generic-hwe-22.04                        5.19.0.41.42~22.04.14    amd64
ii  linux-headers-generic-hwe-22.04                5.19.0.41.42~22.04.14    amd64
ii  linux-image-generic-hwe-22.04                  5.19.0.41.42~22.04.14    amd64
ii  linux-headers-lowlatency-hwe-22.04             5.19.0.1024.25~22.04.11  amd64
ii  linux-image-lowlatency-hwe-22.04               5.19.0.1024.25~22.04.11  amd64
ii  linux-lowlatency-hwe-22.04                     5.19.0.1024.25~22.04.11  amd64

Noyau courant : 5.19.0-1024-lowlatency x86_64
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#35 Le 20/05/2023, à 20:10

nany

Re : wifi impossible à installer(RESOLU)

xubu1957 a écrit :

Un zeste de proposed ?

Non, non, ça vient bien de jammy-updates.




gened a écrit :

Voici la réponse pour nany :

Bien. As-tu toujours le wifi ?

Hors ligne

#36 Le 20/05/2023, à 20:40

gened

Re : wifi impossible à installer(RESOLU)

oui, le wifi fonctionne toujours...?

Hors ligne

#37 Le 20/05/2023, à 20:44

nany

Re : wifi impossible à installer(RESOLU)

OK. Alors donne le retour de :

sudo apt purge linux-lowlatency-headers-5.15.0-71 linux-lowlatency-headers-5.15.0-72 linux-headers-5.15.0-72-lowlatency linux-image-5.15.0-72-lowlatency linux-modules-5.15.0-72-lowlatency

Hors ligne

#38 Le 20/05/2023, à 20:54

gened

Re : wifi impossible à installer(RESOLU)

nany a écrit :

OK. Alors donne le retour de :

sudo apt purge linux-lowlatency-headers-5.15.0-71 linux-lowlatency-headers-5.15.0-72 linux-headers-5.15.0-72-lowlaten

jgcornec@jgcornec-ThinkPad-L580:~$ sudo apt purge linux-lowlatency-headers-5.15.0-71 linux-lowlatency-headers-5.15.0-72 linux-headers-5.15.0-72-lowlatency linux-image-5.15.0-72-lowlatency linux-modules-5.15.0-72-lowlatency
[sudo] Mot de passe de jgcornec : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  linux-hwe-5.19-headers-5.19.0-32
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.15.0-72-lowlatency* linux-headers-lowlatency*
  linux-image-5.15.0-72-lowlatency* linux-image-lowlatency* linux-lowlatency*
  linux-lowlatency-headers-5.15.0-71* linux-lowlatency-headers-5.15.0-72*
  linux-modules-5.15.0-72-lowlatency*
0 mis à jour, 0 nouvellement installés, 8 à enlever et 8 non mis à jour.
Après cette opération, 672 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] O
(Lecture de la base de données... 427953 fichiers et répertoires déjà installés.)
Suppression de linux-lowlatency (5.15.0.72.77) ...
Suppression de linux-headers-lowlatency (5.15.0.72.77) ...
Suppression de linux-headers-5.15.0-72-lowlatency (5.15.0-72.79) ...
Suppression de linux-image-lowlatency (5.15.0.72.77) ...
Suppression de linux-lowlatency-headers-5.15.0-71 (5.15.0-71.78) ...
Suppression de linux-lowlatency-headers-5.15.0-72 (5.15.0-72.79) ...
Suppression de linux-image-5.15.0-72-lowlatency (5.15.0-72.79) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.19.0-41-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.19.0-41-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-72-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-1024-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1024-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Found linux image: /boot/vmlinuz-5.19.0-1024-lowlatency
Found initrd image: /boot/initrd.img-5.19.0-1024-lowlatency
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Suppression de linux-modules-5.15.0-72-lowlatency (5.15.0-72.79) ...
(Lecture de la base de données... 373723 fichiers et répertoires déjà installés.
)
Purge des fichiers de configuration de linux-image-5.15.0-72-lowlatency (5.15.0-
72.79) ...
Purge des fichiers de configuration de linux-modules-5.15.0-72-lowlatency (5.15.
0-72.79) ...
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#39 Le 20/05/2023, à 21:03

nany

Re : wifi impossible à installer(RESOLU)

Bien. Tu peux aussi exécuter :

sudo apt autopurge -y

 


Ah, encore une question : au sujet du lowlatency, tu es sous Ubuntu-Studio ?

Hors ligne

#40 Le 20/05/2023, à 21:10

gened

Re : wifi impossible à installer(RESOLU)

voilà le retour :

jgcornec@jgcornec-ThinkPad-L580:~$ sudo apt autopurge -y
[sudo] Mot de passe de jgcornec : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les paquets suivants seront ENLEVÉS :
  linux-hwe-5.19-headers-5.19.0-32*
0 mis à jour, 0 nouvellement installés, 1 à enlever et 8 non mis à jour.
Après cette opération, 79,9 Mo d'espace disque seront libérés.
(Lecture de la base de données... 373722 fichiers et répertoires déjà installés.)
Suppression de linux-hwe-5.19-headers-5.19.0-32 (5.19.0-32.33~22.04.1) ...
jgcornec@jgcornec-ThinkPad-L580:~$ 

POur ubuntu, pour moi, c'est juste ubuntu 22.04 LTS

Hors ligne

#41 Le 20/05/2023, à 21:17

nany

Re : wifi impossible à installer(RESOLU)

Alors en fait le lowlatency ne devrait pas avoir lieu d’être.
On peut l’enlever si tu le souhaites. Ou bien on peut en rester là.

Hors ligne

#42 Le 20/05/2023, à 21:21

gened

Re : wifi impossible à installer(RESOLU)

S'il n'a pas lieu d'être là, je veux bien que tu me dises comment le supprimer.

Hors ligne

#43 Le 20/05/2023, à 21:56

nany

Re : wifi impossible à installer(RESOLU)

Bien alors il faut d’abord redémarrer sur la version 5.19.0-41 du noyau.
Si tu n’y arrives pas ou si tu ne sais pas comment faire, donne le retour de :

cat /boot/grub/grub.cfg

Dernière modification par nany (Le 20/05/2023, à 21:56)

Hors ligne

#44 Le 20/05/2023, à 22:03

gened

Re : wifi impossible à installer(RESOLU)

Comme je ne sais pas faire, voilà le retour demandé:

jgcornec@jgcornec-ThinkPad-L580:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/09_lowlatency ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu (lowlatency)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
	linux	/boot/vmlinuz-5.19.0-1024-lowlatency root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro  threadirqs quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.19.0-1024-lowlatency
}
menuentry 'Ubuntu (generic)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
	linux	/boot/vmlinuz-5.19.0-41-generic root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.19.0-41-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
	menuentry 'Ubuntu, with Linux 5.19.0-1024-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-1024-lowlatency-advanced-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
		echo	'Loading Linux 5.19.0-1024-lowlatency ...'
		linux	/boot/vmlinuz-5.19.0-1024-lowlatency root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.19.0-1024-lowlatency
	}
	menuentry 'Ubuntu, with Linux 5.19.0-1024-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-1024-lowlatency-recovery-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
		echo	'Loading Linux 5.19.0-1024-lowlatency ...'
		linux	/boot/vmlinuz-5.19.0-1024-lowlatency root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.19.0-1024-lowlatency
	}
	menuentry 'Ubuntu, with Linux 5.19.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-41-generic-advanced-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
		echo	'Loading Linux 5.19.0-41-generic ...'
		linux	/boot/vmlinuz-5.19.0-41-generic root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.19.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 5.19.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.19.0-41-generic-recovery-b4236c8c-e5c5-4cbe-9eb2-fe819625aad1' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root b4236c8c-e5c5-4cbe-9eb2-fe819625aad1
		echo	'Loading Linux 5.19.0-41-generic ...'
		linux	/boot/vmlinuz-5.19.0-41-generic root=UUID=b4236c8c-e5c5-4cbe-9eb2-fe819625aad1 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.19.0-41-generic
	}
}

### END /etc/grub.d/09_lowlatency ###

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#45 Le 20/05/2023, à 22:14

nany

Re : wifi impossible à installer(RESOLU)

Bien, passe cette commande (qui ne doit rien retourner) :

sudo sed -i 's/set default="0"/set default="1"/' /boot/grub/grub.cfg

S’il y a une erreur, donne le retour.
Sinon redémarre puis donne le retour de :

uname -r

Hors ligne

#46 Le 20/05/2023, à 22:23

gened

Re : wifi impossible à installer(RESOLU)

jgcornec@jgcornec-ThinkPad-L580:~$ sudo sed -i 's/set default="0"/set default="1"/' /boot/grub/grub.cfg
[sudo] Mot de passe de jgcornec : 
jgcornec@jgcornec-ThinkPad-L580:~$

Donc je redémarre et je fais la suite

Hors ligne

#47 Le 20/05/2023, à 22:28

gened

Re : wifi impossible à installer(RESOLU)

nany a écrit :

redémarre puis donne le retour de :

uname -r

jgcornec@jgcornec-ThinkPad-L580:~$ uname -r
5.19.0-41-generic
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#48 Le 20/05/2023, à 22:37

nany

Re : wifi impossible à installer(RESOLU)

Parfait ! Alors allons-y.
Donne le retour de :

sudo apt purge -y linux-lowlatency-hwe-5.19-headers-5.19.0-1024 linux-headers-5.19.0-1024-lowlatency linux-image-5.19.0-1024-lowlatency linux-modules-5.19.0-1024-lowlatency

Hors ligne

#49 Le 20/05/2023, à 22:49

gened

Re : wifi impossible à installer(RESOLU)

voilà le retour demandé :

jgcornec@jgcornec-ThinkPad-L580:~$ sudo apt purge -y linux-lowlatency-hwe-5.19-headers-5.19.0-1024 linux-headers-5.19.0-1024-lowlatency linux-image-5.19.0-1024-lowlatency linux-modules-5.19.0-1024-lowlatency
[sudo] Mot de passe de jgcornec : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.19.0-1024-lowlatency* linux-headers-lowlatency-hwe-22.04*
  linux-image-5.19.0-1024-lowlatency* linux-image-lowlatency-hwe-22.04*
  linux-lowlatency-hwe-22.04* linux-lowlatency-hwe-5.19-headers-5.19.0-1024*
  linux-modules-5.19.0-1024-lowlatency*
0 mis à jour, 0 nouvellement installés, 7 à enlever et 8 non mis à jour.
Après cette opération, 737 Mo d'espace disque seront libérés.
(Lecture de la base de données... 354578 fichiers et répertoires déjà installés.)
Suppression de linux-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Suppression de linux-headers-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Suppression de linux-headers-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
Suppression de linux-image-lowlatency-hwe-22.04 (5.19.0.1024.25~22.04.11) ...
Suppression de linux-image-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
I: /boot/vmlinuz is now a symlink to vmlinuz-5.19.0-41-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.19.0-41-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.19.0-1024-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Found linux image: /boot/vmlinuz-5.19.0-41-generic
Found initrd image: /boot/initrd.img-5.19.0-41-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Suppression de linux-lowlatency-hwe-5.19-headers-5.19.0-1024 (5.19.0-1024.25~22.
04.1) ...
Suppression de linux-modules-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
(Lecture de la base de données... 318217 fichiers et répertoires déjà installés.
)
Purge des fichiers de configuration de linux-image-5.19.0-1024-lowlatency (5.19.
0-1024.25~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-1024-lowlatency (5.1
9.0-1024.25~22.04.1) ...
jgcornec@jgcornec-ThinkPad-L580:~$ 

Hors ligne

#50 Le 20/05/2023, à 22:55

nany

Re : wifi impossible à installer(RESOLU)

Eh bien c’est OK pour moi, à condition bien sûr que tu aies toujours du wifi. wink

Hors ligne