Somewhere later (but not last either)
Posts by sh00b
-
-
Depends on your definition of "too long" I guess
Whats interesting imo though is same passphrase, length and content works fine on my 2,4ghz ssid.
Only difference on 2,4g pw is that it has a "!" where 5g is "?"
-
Uhm, 20 chars or not many less incl at least each 1 upper/lower case letter, digit, special
May I know why you're asking?
-
Nevermind actually, maybe I should have read nohup.out (Error was "Filename too long")
So I settled for running it from a file instead & accidentally discovered nohup, as well as backgrounding, were redundant.
See below in case you came here with the same question
Code
Display More~ # cat wifiworkaround.sh systemctl stop kodi && sleep 10 && connmanctl disconnect wifi_<adapter id>_<trivial pw ssid>_managed_psk && sleep 5 && 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 && sleep 5 && systemctl start kodi
-
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.
Code
Display More~# 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" &