Perte connexion wifi Rpi2

Bonjour,

Il arrive régulièrement que mon Raspberry perde la connexion wifi a ma box.
Je suis prévenu par SMS envoyé par un scénario.
Quand cela se produit, la clé usb est complètement éteinte. Aucune activité.
Je dois la débrancher du port et la remettre pour retrouver une connexion viable.
Power management off sur le wlan0.
Existe t’il un moyen logiciel de faire la même chose ?
Si je ne peux pas accéder au Rpi c’est difficile.
Le reboot n’est pas possible pour l’instant, j’ai des soucis pour le faire démarrer sur le SSD qui est sur un hub usb alimenté.

Merci pour vos propositions

Salut,
On dirait bien que tu as des problèmes d’alim.
Regarde avec dmseg ou dans /var/log/syslog si tu vois des undervoltage ou des erreurs I/O
Sinon pour réinitialiser ton wifi tu as essayé ifdown / ifup ?

Bonsoir.

Passez sur un pi supérieur, vous avez le wifi natif.

Pour le reboot, vous pouvez solutionner votre problème avec la présence d’une carte micro SD comprennant le fichier bootbin sur une partition fat.

1 « J'aime »

Bonsoir,

Je regarde la prochaine fois le syslog
pour ifup ifdown, je vais essayer de faire un script

Je veux bien passer sur un pi plus récent… il suffit de l’acheter…
J’ai déjà une carte SD avec ce fichier mais la présence de la clé 3G sur le même hub que le disque empêche celui ci de démarrer…

Bon, ca a replanté le 24
Voici le syslog de l’événement :

Citation

Aug 24 12:30:22 raspberrypi kernel: [2248282.043841] R8188EU: linked_status_chk(wlan0) disconnect or roaming
Aug 24 12:30:25 raspberrypi kernel: [2248285.200176] R8188EU: assoc success
Aug 24 12:30:25 raspberrypi dhcpcd[504]: wlan0: carrier lostAug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: deleting address 2a01:cb0c:83f9:500:aa94:e009:4088:e71d/64
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: deleting default route via fe80::ad5:9dff:fef7:6704
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: deleting route to 2a01:cb0c:83f9:500::/64
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Withdrawing address record for 2a01:cb0c:83f9:500:aa94:e009:4088:e71d on wlan0.
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Leaving mDNS multicast group on interface wlan0.IPv6 with address 2a01:cb0c:83f9:500:aa94:e009:4088:e71d.
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::e470:a3f2:5c0a:984b.
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Registering new address record for fe80::e470:a3f2:5c0a:984b on wlan0.*.
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: deleting default route via 192.168.1.1
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: deleting route to 192.168.1.0/24
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Withdrawing address record for 192.168.1.27 on wlan0.
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.27.
Aug 24 12:30:26 raspberrypi avahi-daemon[340]: Interface wlan0.IPv4 no longer relevant for mDNS.
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: carrier acquired
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: IAID f9:07:b5:47
Aug 24 12:30:26 raspberrypi dhcpcd[504]: wlan0: soliciting an IPv6 router
Aug 24 12:30:27 raspberrypi dhcpcd[504]: wlan0: rebinding lease of 192.168.1.27
Aug 24 12:30:27 raspberrypi ntpd[586]: Deleting interface #346 wlan0, 2a01:cb0c:83f9:500:aa94:e009:4088:e71d#123, interface stats: received=401, sent=406, dropped=0, active_time=233406 secs
Aug 24 12:30:27 raspberrypi ntpd[586]: 2001:41d0:305:2100::621 local addr 2a01:cb0c:83f9:500:aa94:e009:4088:e71d -> <null>
Aug 24 12:30:27 raspberrypi ntpd[586]: Deleting interface #357 wlan0, 192.168.1.27#123, interface stats: received=1113, sent=1116, dropped=0, active_time=227838 secs
Aug 24 12:30:27 raspberrypi ntpd[586]: 51.15.195.76 local addr 192.168.1.27 -> <null>
Aug 24 12:30:27 raspberrypi ntpd[586]: 195.154.174.209 local addr 192.168.1.27 -> <null>
Aug 24 12:30:27 raspberrypi ntpd[586]: 37.187.122.11 local addr 192.168.1.27 -> <null>
Aug 24 12:30:27 raspberrypi ntpd[586]: 193.52.136.2 local addr 192.168.1.27 -> <null>
Aug 24 12:30:27 raspberrypi ntpd[586]: 82.65.128.190 local addr 192.168.1.27 -> <null>
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: probing address 192.168.1.27/24
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: Router Advertisement from fe80::ad5:9dff:fef7:6704
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: adding address 2a01:cb0c:83f9:500:aa94:e009:4088:e71d/64
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: adding route to 2a01:cb0c:83f9:500::/64
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: adding default route via fe80::ad5:9dff:fef7:6704
Aug 24 12:30:30 raspberrypi dhcpcd[504]: wlan0: requesting DHCPv6 information
Aug 24 12:30:30 raspberrypi avahi-daemon[340]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::e470:a3f2:5c0a:984b.
Aug 24 12:30:30 raspberrypi avahi-daemon[340]: Joining mDNS multicast group on interface wlan0.IPv6 with address 2a01:cb0c:83f9:500:aa94:e009:4088:e71d.
Aug 24 12:30:30 raspberrypi avahi-daemon[340]: Registering new address record for 2a01:cb0c:83f9:500:aa94:e009:4088:e71d on wlan0.*.
Aug 24 12:30:30 raspberrypi avahi-daemon[340]: Withdrawing address record for fe80::e470:a3f2:5c0a:984b on wlan0.
Aug 24 12:30:31 raspberrypi ntpd[586]: bind(21) AF_INET6 2a01:cb0c:83f9:500:aa94:e009:4088:e71d#123 flags 0x11 failed: Cannot assign requested address
Aug 24 12:30:31 raspberrypi ntpd[586]: unable to create socket on wlan0 (358) for 2a01:cb0c:83f9:500:aa94:e009:4088:e71d#123
Aug 24 12:30:31 raspberrypi ntpd[586]: failed to init interface for address 2a01:cb0c:83f9:500:aa94:e009:4088:e71d
Aug 24 12:30:33 raspberrypi ntpd[586]: Listen normally on 359 wlan0 [2a01:cb0c:83f9:500:aa94:e009:4088:e71d]:123
Aug 24 12:30:33 raspberrypi ntpd[586]: 2001:41d0:305:2100::621 local addr fe80::e470:a3f2:5c0a:984b%4 -> 2a01:cb0c:83f9:500:aa94:e009:4088:e71d
Aug 24 12:30:35 raspberrypi dhcpcd[504]: wlan0: leased 192.168.1.27 for 86400 seconds
Aug 24 12:30:35 raspberrypi avahi-daemon[340]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.27.
Aug 24 12:30:35 raspberrypi dhcpcd[504]: wlan0: adding route to 192.168.1.0/24
Aug 24 12:30:35 raspberrypi avahi-daemon[340]: New relevant interface wlan0.IPv4 for mDNS.
Aug 24 12:30:35 raspberrypi avahi-daemon[340]: Registering new address record for 192.168.1.27 on wlan0.IPv4.

Bla bla bla

Aug 24 12:46:19 raspberrypi kernel: [2249239.797772] R8188EU: indicate disassoc
Aug 24 12:46:23 raspberrypi ntpd[586]: error resolving pool 0.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 24 12:46:24 raspberrypi ntpd[586]: error resolving pool 1.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 24 12:46:27 raspberrypi kernel: [2249247.764503] R8188EU: indicate disassoc
Aug 24 12:46:28 raspberrypi ntpd[586]: Soliciting pool server 2001:41d0:701:1100::1ecc
Aug 24 12:47:01 raspberrypi CRON[19590]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:48:01 raspberrypi CRON[19667]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:49:01 raspberrypi CRON[19741]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:50:01 raspberrypi CRON[19819]: (root) CMD (/usr/bin/php /var/www/html/core/php/watchdog.php >> /dev/null)
Aug 24 12:50:01 raspberrypi CRON[19822]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:51:01 raspberrypi CRON[20044]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:52:01 raspberrypi CRON[20123]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:53:01 raspberrypi CRON[20199]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:54:01 raspberrypi CRON[20276]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:55:01 raspberrypi CRON[20358]: (root) CMD (/usr/bin/php /var/www/html/core/php/watchdog.php >> /dev/null)
Aug 24 12:55:01 raspberrypi CRON[20359]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:56:01 raspberrypi CRON[20557]: (www-data) CMD (/usr/bin/php /var/www/html/core/php/jeeCron.php >> /dev/null)
Aug 24 12:56:07 raspberrypi ntpd[586]: error resolving pool 3.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 24 12:56:08 raspberrypi ntpd[586]: error resolving pool 0.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 24 12:56:14 raspberrypi ntpd[586]: error resolving pool 1.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 24 12:56:19 raspberrypi ntpd[586]: Soliciting pool server 2001:41d0:1008:131b:51:77:12:38

Je suis perdu dans tout ca… pas vu d’undervoltage

Regarde si ça ne tombe pas pendant le renouvellement de bail avec ton routeur
Tu as fait comment pour avoir une adresse statique pour ton pi et tu as mis quoi pour la gestion dns ?

Bonjour,

Aug 24 12:46:19 raspberrypi kernel: [2249239.797772] R8188EU: indicate disassoc

Semble être lié à un problème de firmware de la clé wifi.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.