wifi-setup ubus working?
-
When I run the below ubus command I get "Command failed: Invalid argument" .... what am I doing wrong? From this article it seems that is all I need to do. https://github.com/OnionIoT/onion-ubus
ubus call onion wifi-setup '{"params":{"ssid":"MyNetwork", "auth":"wpa2", "password":"superduper"}}'
Thanks
-
I am not going to use ubus for this , I will pass the arguments directly into wifisetup. For future reference, this is what works now:
wifisetup add -ssid test -encr wpa2 -password test1234