LINUX MINT 18 sans WIFI

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
Répondre
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

LINUX MINT 18 sans WIFI

Message par 7x7albert »

Bonjour Messieurs, meilleurs pour l'an nouveau.
A vrai dire ça commence mal pour moi au sujet de ma distribution mint 18 aprés voir bidouillé sur le terminal je me retrouve sans la wifi et je tourne en rond depuis quelques temps pour la retrouver.
Auriez vous la gentillesse de me dépêtrer de ce pétrin?
En vous remerciant par avance.
J'ai parcouru les diverses rubriques et particulièrement celle sur le dépannage rapide j'ai essayé hier d'envoyer ma signature recalé plus de 600 mots.
En ce moment j'essaie en vain d'envoyer ma signature et ne retrouve plus le lien pour le faire.
Mon niveau informatique sur 5 on va dire 2.
Dans l'attente de vous lire recevez mes cordiales salutations
albert.
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Bonjour Cyrille,
voici la réponse du terminal à la première demande:

Code : Tout sélectionner

 sudo wget https://framagit.org/CyrilleBiot/wifi-issues/-/raw/main/wifi.sh
--2024-01-13 14:52:50--  https://framagit.org/CyrilleBiot/wifi-issues/-/raw/main/wifi.sh
Résolution de framagit.org (framagit.org)… 2a01:4f8:231:4c99::75, 176.9.183.75
Connexion à framagit.org (framagit.org)|2a01:4f8:231:4c99::75|:443… connecté.
Erreur : impossible de vérifier l’attribut framagit.org du certificat, émis par «CN=R3,O=Let's Encrypt,C=US» :
  Le certificat émis a expiré.
Pour établir une connexion non sécurisée à framagit.org, utilisez « --no-check-certificate ».
 
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Merci pour ta réponse voici le deuxième retour:

Code : Tout sélectionner

 $ wget https://framagit.org/CyrilleBiot/wifi-issues/-/raw/main/wifi.sh
--2024-01-13 15:41:59--  https://framagit.org/CyrilleBiot/wifi-issues/-/raw/main/wifi.sh
Résolution de framagit.org (framagit.org)… 2a01:4f8:231:4c99::75, 176.9.183.75
Connexion à framagit.org (framagit.org)|2a01:4f8:231:4c99::75|:443… connecté.
Erreur : impossible de vérifier l’attribut framagit.org du certificat, émis par «CN=R3,O=Let's Encrypt,C=US» :
  Le certificat émis a expiré.
Pour établir une connexion non sécurisée à framagit.org, utilisez « --no-check-certificate ».
albert@albert-Inspiron-1525 ~ $ --2024-01-13 15:04:40--  https://framagit.org/CyrilleBiot/wifi-issues/-/raw/main/wifi.sh
--2024-01-13 : commande introuvable
albert@albert-Inspiron-1525 ~ $ Résolution de framagit.org (framagit.org)… 2a01:4f8:231:4c99::75, 176.9.183.75
bash: erreur de syntaxe près du symbole inattendu « ( »
albert@albert-Inspiron-1525 ~ $ Connexion à framagit.org (framagit.org)|2a01:4f8:231:4c99::75|:443… connecté.
bash: erreur de syntaxe près du symbole inattendu « ( »
albert@albert-Inspiron-1525 ~ $ requête HTTP transmise, en attente de la réponse… 200 OK
requête : commande introuvable
albert@albert-Inspiron-1525 ~ $ Taille : 2265 (2,2K) [text/plain]
bash: erreur de syntaxe près du symbole inattendu « ( »
albert@albert-Inspiron-1525 ~ $ Sauvegarde en : « wifi.sh »
Sauvegarde : commande introuvable
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ wifi.sh             100%[===================>]   2,21K  --.-KB/s    ds 0s      
wifi.sh : commande introuvable
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ 2024-01-13 15:04:41 (18,8 MB/s) — « wifi.sh » sauvegardé [2265/2265]
bash: erreur de syntaxe près du symbole inattendu « ( »
albert@albert-Inspiron-1525 ~ $ 
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Bonjour Cyrille
Suis toujours sur le bord de la route en warning !!!
Avec en essayant de me connecter wifi avec 0%.
J'ai re-tenté la procédure pour redémarrer et rien n'y fait.
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
Avatar du membre
alain
Administrateur du site
Messages : 17182
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: LINUX MINT 18 sans WIFI

Message par alain »

Bonjour Albert.

Vu que tu n'as pas de wifi. Comment connectes tu l'ordinateur? filaire (rj45)? partage de connexion tel (usb)? autre?
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
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 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Bonjour Cyrille comme convenu voici la troisième réponse du terminal:

Code : Tout sélectionner

  albert@albert-Inspiron-1525 ~ $ /bin/bash
albert@albert-Inspiron-1525 ~ $ #
albert@albert-Inspiron-1525 ~ $ # cyrille <cyrille@cbiot.fr>
albert@albert-Inspiron-1525 ~ $ # 
albert@albert-Inspiron-1525 ~ $ # https://framagit.org/CyrilleBiot/wifi-issues
albert@albert-Inspiron-1525 ~ $ # https://cbiot.fr/
albert@albert-Inspiron-1525 ~ $ # 
albert@albert-Inspiron-1525 ~ $ # Script d'aide au diagnostic de problèmes wifi
albert@albert-Inspiron-1525 ~ $ #
albert@albert-Inspiron-1525 ~ $ #
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Test des droits admin
albert@albert-Inspiron-1525 ~ $ if [ "$EUID" -ne 0 ]
>   then 
>   echo "Lancer ce script en mode administrateur"
>   echo "Utiliser sudo wifi.sh"
>   echo "Ou un accès root : sudo -s "
>   exit
> fi
Lancer ce script en mode administrateur
Utiliser sudo wifi.sh
Ou un accès root : sudo -s 
exit
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Test de la présence des paquets nécessaires
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ dpkg -s rfkill  &> /dev/null
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ if [ $? -eq 0 ]; then
>     echo -e "\nrfkill est installé. Continuons.\n"
> else
>     echo -e "\nrfkill n'est pas installé. Installons le !\n"
bash: !\n: event not found
>     apt-get install -y rfkill 
> fi

rfkill est installé. Continuons.

albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ dpkg -s xclip  &> /dev/null
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ if [ $? -eq 0 ]; then
>     echo -e "\nxclip est installé. Continuons.\n"
> else
>     echo -e "\nxclip n'est pas installé. Installons le !\n"
bash: !\n: event not found
>     apt-get install -y xclip 
> fi
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock-frontend - open (13: Permission non accordée)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Nécessaire pour le presse papier
albert@albert-Inspiron-1525 ~ $ export DISPLAY=:0
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Identifier la carte réseau
albert@albert-Inspiron-1525 ~ $ CARTE_RESEAU=$(lspci -nnd ::0280)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # prise en charge par un module du noyau. 
albert@albert-Inspiron-1525 ~ $ PRISE_EN_CHARGE=$(lspci -nnkd ::0280)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Présence du firmware
albert@albert-Inspiron-1525 ~ $ PRESENCE_FIRMWARE=$(ip a)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Firmware manquant
albert@albert-Inspiron-1525 ~ $ FIRMWARE_MANQUANT=$(dmesg | grep firmware)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ #  verrouillage soft / hard 
albert@albert-Inspiron-1525 ~ $ VERROUILLAGE=$(rfkill list)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # IP BOX
albert@albert-Inspiron-1525 ~ $ IP_BOX=$(ip r | grep default | cut -d " " -f 3)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # PING BOX
albert@albert-Inspiron-1525 ~ $ PING=$(ping $IP_BOX -c 3)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # VERSION KERNEL
albert@albert-Inspiron-1525 ~ $ KERNEL=$(uname -a)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Liste des kernels installés
albert@albert-Inspiron-1525 ~ $ KERNEL_INSTALLES=$(dpkg --list | grep linux-image | grep ii)
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Carte réseau : \n $CARTE_RESEAU \n\n" > tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Prise en charge par le kernel :  \n$PRISE_EN_CHARGE \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Présence firmware (ip _a) : \n$PRESENCE_FIRMWARE \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Firmware manquant :  \n$FIRMWARE_MANQUANT \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Verrouillage soft / hard :  \n$VERROUILLAGE \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "IPBox : \n$PING\n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Ping vers la box : \n$PING\n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Kernel : \n$KERNEL  \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ echo -e "Kernel(s) installé(s) : \n$KERNEL_INSTALLES  \n\n" >> tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Affichage sur sortie standard
albert@albert-Inspiron-1525 ~ $ cat tmp.wifi.txt
Carte réseau : 
 0b:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01) 


Prise en charge par le kernel :  
0b:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
	Subsystem: Dell Wireless 1395 WLAN Mini-Card [1028:000b]
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb 


Présence firmware (ip _a) : 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:21:9b:d2:56:4c brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.10/24 brd 192.168.0.255 scope global dynamic enp9s0
       valid_lft 863760sec preferred_lft 863760sec
    inet6 2a01:e0a:c1:a020:1c2a:15c5:e8c3:602e/64 scope global noprefixroute dynamic 
       valid_lft 86162sec preferred_lft 86162sec
    inet6 fe80::9842:5a47:9a71:df47/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:22:5f:5f:ae:39 brd ff:ff:ff:ff:ff:ff
    inet 10.42.0.1/24 brd 10.42.0.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::222:5fff:fe5f:ae39/64 scope link 
       valid_lft forever preferred_lft forever 


Firmware manquant :  
[   45.408103] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   52.068162] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07) 


Verrouillage soft / hard :  
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no 


IPBox : 
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=0.987 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=0.812 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=0.826 ms

--- 192.168.0.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.812/0.875/0.987/0.079 ms


Ping vers la box : 
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=0.987 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=0.812 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=0.826 ms

--- 192.168.0.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.812/0.875/0.987/0.079 ms


Kernel : 
Linux albert-Inspiron-1525 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux  


Kernel(s) installé(s) : 
ii  linux-image-4.4.0-21-generic                                4.4.0-21.37                                  i386         Linux kernel image for version 4.4.0 on 32 bit x86 SMP
ii  linux-image-extra-4.4.0-21-generic                          4.4.0-21.37                                  i386         Linux kernel extra modules for version 4.4.0 on 32 bit x86 SMP  


albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Copie dans le presse papier
albert@albert-Inspiron-1525 ~ $ cat tmp.wifi.txt | sudo -u $(cat /etc/passwd | grep 1000 | cut -d ":" -f 1) xclip -selection clipboard
sudo: xclip : commande introuvable
albert@albert-Inspiron-1525 ~ $ 
albert@albert-Inspiron-1525 ~ $ # Suppression fichier temporaire
albert@albert-Inspiron-1525 ~ $ rm tmp.wifi.txt
albert@albert-Inspiron-1525 ~ $ 
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Cyrille
Ma note va tomber à 1,5/5 j'ai fait un copié-collé du fichier que tu m'as envoyé que j'ai enregistré sur le bureau et voici la réponse à la commande : bash wifi.sh

Code : Tout sélectionner

 bash wifi.sh
bash: wifi.sh: Aucun fichier ou dossier de ce type 
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
7x7albert
Messages : 27
Enregistré le : jeu. 12 avr. 2018 09:47
Localisation : Maubeuge

Re: LINUX MINT 18 sans WIFI

Message par 7x7albert »

Bonjour Alain
j'ai internet par le fil mais pas la wifi ce qui provoque une situation inconfortable, en espérant grace à vous résoudre ce souci.
Cordialement
albert.
Inspiron-1525 Kernel: 4.4.0-21- (32 bit)
Cinnamon 3.0.7 Linux Mint 18 Sara
CPU: Dual core Intel Core2 Duo T5800 (-MCP-) cache: 2048 KB
clock speeds: max: 2000 MHz 1: 1200 MHz 2: 1200 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Network:
Card-1: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: b43-pci-bridg
Memory: 1068.1/3018.6MB
Client: Shell (bash) inxi: 2.2.35
Avatar du membre
alain
Administrateur du site
Messages : 17182
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: LINUX MINT 18 sans WIFI

Message par alain »

Ok. C'était pour m'assurer que tu as bien une communication active pendant les manipes demandées par Cyrille ;)

7x7albert a écrit : mar. 16 janv. 2024 10:55 j'ai fait un copié-collé du fichier que tu m'as envoyé que j'ai enregistré sur le bureau et voici la réponse à la commande : bash wifi.sh
Donc ce script il faut le lancer depuis le bureau:

Code : Tout sélectionner

cd Bureau
Puis tu le lances

Pour qu'on comprenne bien ce que tu fais:
Un retour complet doit contenir toutes les lignes,
depuis celle, entière, de la commande
jusqu'à la ligne attendant la commande suivante, exemple :

moi@mon-pc~$: ma-commande
son retour
moi@mon-pc~$:

Merci Image ;)

Extrait de la doc ubuntu qui explique pourquoi:
2) Un retour complet, comprend 4 éléments :
2.1- le prompt initial, qui ressemble à :

Dave2001@HAL9000-pc:~$

.
2.2- la commande, par exemple :

cp /home/Dave2001/Saturne.jpg /mon/DDE/Saturne.jpg

destinée à copier la photo "Saturne" de mon home vers mon DDE (Disque Dur Externe).

2.3- la réponse du système à la commande :

cp: impossible d'évaluer «/home/Dave2001/Saturne.jpg»: Aucun fichier ou dossier de ce type

.
2.4- le retour automatique du prompt final (pas toujours identique à l'initial).
.

==========================

Explications :
2.a Le prompt initial a plusieurs intérêts. Il permet de vérifier :
- que la commande et son retour ne sont pas coupés au début,
- si vous êtes en session live ou installée,
- si vous utilisez votre compte habituel, invité ou le compte root,
- si (dans le cas d'une installation multi-utilisateurs) l'utilisateur est bien celui que vous croyez être,
- dans quel répertoire on est placé,
- et (dans le cas de machines interconnectées) depuis quelle machine la commande a été lancée.

2.b La commande citée in extenso permet de vérifier qu'elle ne comporte pas d'erreur.

2.c La réponse complète du système à la commande donne généralement de précieuses informations. Quand c'est un message d'erreur, il contient neuf fois sur dix la solution.

2.d Le prompt final :
- permet de s'assurer que la commande est allée à son terme,
- permet de s'assurer que la réponse du système n'est pas coupée à la fin,
- et fournit parfois d'autres informations,
Ton dernier retour en est un parfait exemple. On ne sait pas depuis où tu as lancer la commande ni si elle est terminé.
Bon dans ce cas je me doute que tu as du la lancer directement dans ton home, mais tu comprends que pour les aidants c'est plus facile que de chercher à deviner ce qu'a pu faire le demandeur.
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
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 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Répondre