WiFi always needs two attempts to establish a connection
13.8409 [terkin.device ] INFO : Starting networking
13.8697 [terkin.network.wifi ] INFO : Starting stopwatch
13.9666 [terkin.network.wifi ] INFO : Started stopwatch successfully
14.0106 [terkin.network.wifi ] INFO : WiFi STA: Networking address (MAC): {'ap_mac': '80:7d:3a:93:65:01', 'sta_mac': '80:7d:3a:93:65:00'}
14.0228 [terkin.network.wifi ] INFO : WiFi STA: Networking address (IP): ('0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0')
14.0351 [terkin.network.wifi ] INFO : WiFi: Starting interface
14.0464 [terkin.network.wifi ] INFO : WiFi: Using internal antenna
14.0742 [terkin.device ] INFO : Start curating the garbage collector
14.3673 [terkin.device ] INFO : Curating the garbage collector finished. Free memory: 2394304
14.4658 [terkin.network.core ] INFO : Waiting for the network stack to come up within 5 seconds
14.5229 [terkin.network.core ] INFO : Network stack ready
14.5472 [terkin.network.core ] INFO : Starting mode server on 0.0.0.0:666
19.5743 [terkin.api.http ] INFO : Setting up HTTP API
19.7911 [terkin.api.http ] INFO : Starting HTTP server
20.4807 [terkin.network.wifi ] INFO : WiFi STA: Connecting to configured networks: ['WerNet']. Attempt: #1
20.5030 [terkin.network.wifi ] INFO : WiFi STA: Preparing connection to network "WerNet"
20.5198 [terkin.network.wifi ] INFO : WiFi STA: Getting auth mode
20.5913 [terkin.network.wifi ] INFO : WiFi STA: Auth mode from NVRAM with key=wa.9d66b1d414d4, value=3
20.6116 [terkin.network.wifi ] INFO : WiFi STA: Auth mode is "3"
20.6345 [terkin.network.wifi ] INFO : WiFi STA: Starting connection to "WerNet" with timeout of 30.0 seconds
20.7520 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 29.997 seconds
23.0801 [terkin.network.lora ] INFO : [LoRA] Not joined yet...
24.0355 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 26.713 seconds
25.6984 [terkin.network.lora ] INFO : [LoRA] Not joined yet...
25.7161 [terkin.network.lora ] INFO : [LoRA] joined...
27.0099 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 23.739 seconds
28.2332 [terkin.network.lora ] INFO : [LoRa] socket created
29.9835 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 20.766 seconds
...
47.7789 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 2.969999 seconds
50.7027 [terkin.network.wifi ] ERROR : Invoking "is_connected" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 193, in is_connected
TimeoutError: Connection to AP Timeout!
50.7909 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to "WerNet" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 241, in connect_stations
File "/flash/lib/terkin/network/wifi.py", line 311, in connect_station
WiFiException: WiFi STA: Unable to connect to "WerNet"
50.8319 [terkin.network.wifi ] INFO : WiFi STA: Forgetting NVRAM data for network "WerNet"
50.9227 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to any network candidate failed. Please check your WiFi configuration for one of the 1 station candidates.
50.9454 [terkin.network.wifi ] WARNING: Todo: We might want to buffer telemetry data to flash memory to be scheduled for transmission later.
50.9794 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to configured networks "['WerNet']" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 177, in stay_connected
File "/flash/lib/terkin/network/wifi.py", line 258, in connect_stations
WiFiException: WiFi STA: Connecting to any network candidate failed
51.0679 [terkin.network.wifi ] INFO : WiFi STA: Retrying in 1.643164 seconds
52.7294 [terkin.network.wifi ] INFO : WiFi STA: Connecting to configured networks: ['WerNet']. Attempt: #2
52.7544 [terkin.network.wifi ] INFO : WiFi STA: Preparing connection to network "WerNet"
52.7735 [terkin.network.wifi ] INFO : WiFi STA: Getting auth mode
52.8464 [terkin.network.wifi ] INFO : WiFi STA: Unknown auth mode for network "WerNet", invoking WiFi scan
52.8667 [terkin.network.wifi ] INFO : WiFi STA: Scanning for networks
55.0350 [terkin.network.wifi ] INFO : WiFi STA: Networks available: ['NETGEAR85', 'WLAN-209719', 'Telekom_FON', 'Minionelch', 'FRITZ!Box 7560 DF', 'DIRECT-hqC48x Series', 'ShadowyPlanet', 'Mesh23', 'WerNet', 'freifunk-potsdam.de', 'devolo-f4068d8dc4d9', 'Potsdambabel', 'WLAN-728781', 'FRITZ!Box 7490 HKS', 'ARRIS-41A2', 'o2-WLAN35', 'Kuschelnetz', 'DIRECT-6C-HP OfficeJet Pro 6970', 'WLAN-EVS8XJ', 'TC-9BB6D', 'KDG-029D0', 'KabelBox-A0C8', 'o2-WLAN09']
55.0860 [terkin.network.wifi ] INFO : WiFi STA: Storing auth mode into NVRAM with key=wa.9d66b1d414d4, value=3
55.1090 [terkin.network.wifi ] INFO : WiFi STA: Auth mode is "3"
55.1337 [terkin.network.wifi ] INFO : WiFi STA: Starting connection to "WerNet" with timeout of 30.0 seconds
55.2497 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 29.998 seconds
55.5621 [terkin.network.wifi ] INFO : WiFi STA: Connected to "WerNet" with IP address "192.168.188.40"
55.6405 [terkin.network.wifi ] INFO : WiFi STA: Networking address (MAC): {'ap_mac': '80:7d:3a:93:65:01', 'sta_mac': '80:7d:3a:93:65:00'}
55.6617 [terkin.network.wifi ] INFO : WiFi STA: Networking address (IP): ('192.168.188.40', '255.255.255.0', '192.168.188.1', '192.168.188.189') 47.7789 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 2.969999 seconds
50.7027 [terkin.network.wifi ] ERROR : Invoking "is_connected" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 193, in is_connected
TimeoutError: Connection to AP Timeout!
50.7909 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to "WerNet" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 241, in connect_stations
File "/flash/lib/terkin/network/wifi.py", line 311, in connect_station
WiFiException: WiFi STA: Unable to connect to "WerNet"
50.8319 [terkin.network.wifi ] INFO : WiFi STA: Forgetting NVRAM data for network "WerNet"
50.9227 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to any network candidate failed. Please check your WiFi configuration for one of the 1 station candidates.
50.9454 [terkin.network.wifi ] WARNING: Todo: We might want to buffer telemetry data to flash memory to be scheduled for transmission later.
50.9794 [terkin.network.wifi ] ERROR : WiFi STA: Connecting to configured networks "['WerNet']" failed
Traceback (most recent call last):
File "/flash/lib/terkin/network/wifi.py", line 177, in stay_connected
File "/flash/lib/terkin/network/wifi.py", line 258, in connect_stations
WiFiException: WiFi STA: Connecting to any network candidate failed
51.0679 [terkin.network.wifi ] INFO : WiFi STA: Retrying in 1.643164 seconds
52.7294 [terkin.network.wifi ] INFO : WiFi STA: Connecting to configured networks: ['WerNet']. Attempt: #2
52.7544 [terkin.network.wifi ] INFO : WiFi STA: Preparing connection to network "WerNet"
52.7735 [terkin.network.wifi ] INFO : WiFi STA: Getting auth mode
52.8464 [terkin.network.wifi ] INFO : WiFi STA: Unknown auth mode for network "WerNet", invoking WiFi scan
52.8667 [terkin.network.wifi ] INFO : WiFi STA: Scanning for networks
55.0350 [terkin.network.wifi ] INFO : WiFi STA: Networks available: ['NETGEAR85', 'WLAN-209719', 'Telekom_FON', 'Minionelch', 'FRITZ!Box 7560 DF', 'DIRECT-hqC48x Series', 'ShadowyPlanet', 'Mesh23', 'WerNet', 'freifunk-potsdam.de', 'devolo-f4068d8dc4d9', 'Potsdambabel', 'WLAN-728781', 'FRITZ!Box 7490 HKS', 'ARRIS-41A2', 'o2-WLAN35', 'Kuschelnetz', 'DIRECT-6C-HP OfficeJet Pro 6970', 'WLAN-EVS8XJ', 'TC-9BB6D', 'KDG-029D0', 'KabelBox-A0C8', 'o2-WLAN09']
55.0860 [terkin.network.wifi ] INFO : WiFi STA: Storing auth mode into NVRAM with key=wa.9d66b1d414d4, value=3
55.1090 [terkin.network.wifi ] INFO : WiFi STA: Auth mode is "3"
55.1337 [terkin.network.wifi ] INFO : WiFi STA: Starting connection to "WerNet" with timeout of 30.0 seconds
55.2497 [terkin.network.wifi ] INFO : WiFi STA: Waiting for network to come up within 29.998 seconds
55.5621 [terkin.network.wifi ] INFO : WiFi STA: Connected to "WerNet" with IP address "192.168.188.40"
55.6405 [terkin.network.wifi ] INFO : WiFi STA: Networking address (MAC): {'ap_mac': '80:7d:3a:93:65:01', 'sta_mac': '80:7d:3a:93:65:00'}
55.6617 [terkin.network.wifi ] INFO : WiFi STA: Networking address (IP): ('192.168.188.40', '255.255.255.0', '192.168.188.1', '192.168.188.189')
hereafter no more logs are being produced