Hi folks,
I have a WiFi hotspot on my phone that I want my RPi3 running Kodi on Libreelec to connect to. Unfortunately the 'automatically connect' setting doesn't do what its name suggests, so I'm trying to set a Cron job that tries to connect to the WiFi network every few seconds. To no avail, I've tried
Nmcli (I don't think Libreelec supports Nmcli)
Iwconfig wlan0 essid Argentum
A couple of points - the phones hotspot is rarely on, only when I want to download subtitles basically. There is another WiFi network from my router, which my RPi3 is connected to via ethernet, but that shouldn't affect it.
The Cron script file I am putting in /storage/cronjobs/wificon.sh since i dont have permissions to /use/bin/.
NB: the wifi's essid is Argentum and it is wpa2 encrypted...
Thanks in advance