After SSH to the LibreELEC server on my Rasp Pi 3 using the latest LibreELEC-RPi2.arm-9.2.8.img.gz software I could not set a very long Wifi password via command line because I did not receive the password prompt from connmanctl when logged in via SSH. Instead the password prompt went straight to the kodi GUI after typing "connect wifi_blablablabla_psk" which I did not want to use because I wanted not to type my long and complex wifi password manually.
My error was: No password prompt from connmanctl
My workaround to permanently setting up a long Wifi password such as 60 characters via SSH login was:
- ssh to LibreELEC server
- stop kodi because I need to be able to get the password prompt via command line
systemctl stop kodi
- set passowrd
connmanctl
connmanctl> scan wifi
connmanctl> services
connmanctl> agent on
connmanctl> connect wifi_blablablabla_psk <-- your wifi network
Passphrase? <-- paste long wifi password
connmanctl> quit
- start kodi
systemctl start kodi
exit
Sources: