Hi,
is there a way to work around the "invalid key" wifi issue on LE 10 with complex passwords that does not involve ethernet?
i.e. I'd love to make it happen via another wifi ssid w/ trivial password.
From what I read here (thx to all contributing!!!!), it would need to occur while connman is stopped,
as it'll overwrite config in
~/.cache/connman/wifi_<adapter id>_<ssid id>_managed_psk/settings
at any time.
I figured I could script the config change like below, but my settings are still being overwritten despite connman stopped (I suppose).
My idea was to background nohup chaining connman stop, overwriting complex pw ssid config, removing trivial pw ssid config, connman start.
Butchering sleeps in between (which to my understanding should not be required actually) as below did not help.
Any ideas would be muchos appreciated
Alternative would be to build a wrapper for passing passphrase to connman via stdin, but I'm not sure how to get there if I'm honest..
P.S.: If this is really a complexity topic, I have strong reason to believe the "?" char breaks it in my case.
~# nohup "systemctl stop connman && sleep 5 && echo '[wifi_<adapter id>_<complex pw ssid>_managed_psk]
Name=<redacted>
SSID=<redacted>
Frequency=5220
Favorite=true
AutoConnect=true
Modified=2022-08-27T21:13:34Z
Passphrase=<redacted>
IPv4.method=manual
IPv4.netmask_prefixlen=24
IPv4.local_address=<redacted>
IPv4.gateway=<redacted>
IPv6.method=off
IPv6.privacy=disabled
Nameservers=<redacted>;
Timeservers=0.pool.ntp.org;1.pool.ntp.org;2.pool.ntp.org;
Domains=home;' > /storage/.cache/connman/wifi_<adapter id>_<complex pw ssid>_managed_psk/settings && rm -rf /storage/.cache/connman/wifi_<adapter id>_<trivial pw ssid>_managed_psk && sleep 5 && systemctl start connman" &
Display More