I'm refurbishing laptops (Ubuntu 20.04) to hand out to kids as part of combating digital exclusion during COVID-19. Obviously I don't want to give them sudo access, however, I can't enter their houses to get onto WiFi.
How do I add a new connection when I set the laptop up (they can give me their SSID / passwords)?
I've tried
nmcli d wifi connect WiFi-SSID password 12345678
but that fails since the wifi isn't in range. I've tried
nmcli connection add type wifi ssid WIFI-SSID password 12345678
but that's throwing an invalid <setting>.<property> 'password'
Not sure where to go next...
read
man nm-settings
a general example is
the error in your question
<setting>.<property>
for example in above command,<setting> 802-11-wireless-security <property> key-mgmt
<setting> 802-11-wireless-security <property> psk
Based on your OutOfRange connection settings change the above values..