wireless
wireless copied to clipboard
detectDriver fails (on Mac OS) because of PATH dependency
On Mac OS, _detectDriver tries to find "networksetup", which is in /usr/sbin tyically. If PATH does NOT contain /usr/sbin - which is the case for CRON jobs (this is how I found it !!!) this does not work.
Possible workaround: ensure, that for all commands, like nmcli, wpa_supplicant and networksetup - the PATH is set !!