Setup Headless Raspberry PI Wifi
The Easy Way
Create a file in this directory called wpa_supplicant.conf. The file should contain the following details:
To enable SSH out of the box: Create a file called “SSH” without a file extension in the same directory.
Put SD card into Raspberry PI and it will automaticly connect to wifi and enable SSH out of the box!