I want to be able to connect to wifi via terminal and i tried the networksetup command:
networksetup -setairportnetwork en0 < myWifi> < myPass>
After about 5 seconds i get this:
Failed to join network < myWifi> Error: -3912 The operation couldn’t be completed. > (com.apple.wifi.apple80211API.error error -3912.)
I can t find any info source related to error -3912 so i welcome any solution or suggestion.