And I guess relatedly, I'm trying to make sense of this series of log entries. I think what I'm seeing is that I turned the device on, it started trying to make a connection. I then turned the device off quickly again, and it canceled the Wifi connection attempt midway through, such that it shows all that failure and error, and the next time I started the device up it didn't attempt to restore the connection. Yes?
(I've tried to trim it to the relevant context, but this section doesn't start with one of those "ZzZ ZzZ ZzZ... And woke up!" logs, so it's possible that there's another wake-up a minute before this that's relevant.)
Code:
07/14/22-18:07:08 INFO WakeupMgr: scheduling wakeup in 259200
07/14/22-18:07:08 INFO Inhibiting user input
07/14/22-18:07:09 INFO Kobo resume: clean up after wakeup
07/14/22-18:07:09 INFO Kobo resume: successfully asked the kernel to resume subsystems
[Thu Jul 14 18:07:09 EDT 2022] restore-wifi-async.sh: Restarting Wi-Fi
07/14/22-18:07:09 INFO Restoring user input handling
dhcpcd[21266]: sending signal ARLM to pid 21212
dhcpcd[21266]: waiting for pid 21212 to exit
dhcpcd[21293]: dhcpcd not running
07/14/22-18:07:09 INFO Kobo Wi-Fi: disabling Wi-Fi
dhcpcd[21305]: dhcpcd not running
Selected interface 'wlan0'
OK
ifconfig: SIOCGIFFLAGS: No such device
Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory [EDIT: this line repeats a bunch of times, trimming for space]
[Thu Jul 14 18:07:27 EDT 2022] restore-wifi-async.sh: Failed to connect to preferred AP!
dhcpcd[21537]: dhcpcd not running
Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
ifconfig: SIOCGIFFLAGS: No such device
07/14/22-18:08:01 INFO Failed to restore Wi-Fi (after 26 iterations)!
dhcpcd[21558]: dhcpcd not running
07/14/22-18:08:01 INFO Kobo Wi-Fi: disabling Wi-Fi
dhcpcd[21570]: dhcpcd not running
Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
ifconfig: SIOCGIFFLAGS: No such device
PUT https://sync.koreader.rocks:443/syncs/progress
host or service not provided, or not known
07/14/22-18:08:15 INFO WakeupMgr: scheduling wakeup in 259200
07/14/22-18:08:15 INFO Inhibiting user input
07/14/22-18:08:31 INFO Kobo suspend: going to sleep . . .
07/14/22-18:08:31 INFO Kobo suspend: successfully asked the kernel to put subsystems to sleep
07/14/22-18:08:33 INFO Kobo suspend: waited for 2s because of reasons...
07/14/22-18:08:33 INFO Kobo suspend: synced FS
07/14/22-18:08:33 INFO Kobo suspend: asking for a suspend to RAM . . .