i could have been way more clear with my previous question. what i was wondering was if you gathered similar data after running the post-sleep command like you had been trying. the one in /etc/pm/sleep.d if i recall correctly. this (or a version like it): this is a section from wireless-deactivating-on-open:it looks like there only one failed attempt to reconnect and then the bssid got added to an ignore list very shortly thereafter. when running in interactive mode, after issuing the help command all of the other subcommands are shown. two that look like they might be of interest areif you try running that post-sleep code, maybe sending the output of to your temp file will help show if it has been added to an ignore list.
i couldn't find much about an ignore list. this is older, but mentions a blacklist: https://superuser.com/questions/1371134 ... supplicant
regarding the reconnect attempt, maybe it is possible to get more than one before failing like it did. some autoconnect info from my ssid as shown by nmcli:
Code:
#!/bin/bashPATH=/sbin:/usr/sbin:/bin:/usr/bincase "$1" in thaw|resume) date >> /tmp/sleeper echo "in resume selection" >> /tmp/sleeper sleep 10 service network-manager restart >> /tmp/sleeper 2>&1 ip address show dev wlan0 >> /tmp/sleeper date >> /tmp/sleeper ;;esacdate >> /tmp/sleeperecho "now outside case block" >> /tmp/sleepersleep 10ip address show dev wlan0 >> /tmp/sleeperdate >> /tmp/sleeper
Code:
2024-01-31T14:02:47.596862+10:30 phil-envy wpa_supplicant[2494]: wlan0: CTRL-EVENT-DISCONNECTED bssid=5c:a6:e6:55:27:e5 reason=3 locally_generated=12024-01-31T14:02:47.596872+10:30 phil-envy wpa_supplicant[2494]: wlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9)2024-01-31T14:02:47.596880+10:30 phil-envy wpa_supplicant[2494]: wlan0: Setting scan request: 0.100000 sec2024-01-31T14:02:47.596889+10:30 phil-envy wpa_supplicant[2494]: Added BSSID 5c:a6:e6:55:27:e5 into ignore list, ignoring for 10 seconds2024-01-31T14:02:47.596934+10:30 phil-envy wpa_supplicant[2494]: wlan0: Consecutive connection failures: 1 --> request scan in 100 ms2024-01-31T14:02:47.596961+10:30 phil-envy wpa_supplicant[2494]: wlan0: Ignore new scan request for 0.100000 sec since an earlier request is scheduled to trigger sooner
Code:
sudo wpa_cli
Code:
bssid_ignore = display the list of temporarily ignored BSSID'sbssid_ignore clear = clear the list of temporarily ignored BSSID's
Code:
wpa_cli bssid_ignore
i couldn't find much about an ignore list. this is older, but mentions a blacklist: https://superuser.com/questions/1371134 ... supplicant
regarding the reconnect attempt, maybe it is possible to get more than one before failing like it did. some autoconnect info from my ssid as shown by nmcli:
Code:
nmcli con show <ssid> | grep -i autoconnectconnection.autoconnect: yesconnection.autoconnect-priority: 0connection.autoconnect-retries: -1 (default)connection.autoconnect-slaves: -1 (default)
Statistics: Posted by xaol — Wed Jan 31, 2024 2:54 am