Skip to main content

I can't seem to find a way to include our Wi-Fi details in our image. I've tried creating a script that adds the SSID and WPA2 password during the imaging process and running that during imaging but it fails. The same script works from the command line, but not during the imaging. It's the script from the JAMF resource kit. Any light someone could shed on the matter would be great.



The command the script executes is
/usr/sbin/networksetup -addpreferredwirelessnetworkatindex en0 "ourSSID" 0 wpa2 "wifipassword"



The error message that is returned is "en0 is not a Wi-Fi interface."



Am I going about the wrong way to include the WiFi information at imaging time?



Thanks

Check this https://jamfnation.jamfsoftware.com/discussion.html?id=68



Had the same issues