In Stretch it's no longer eth0
, it uses the new way of naming interfaces, predictable interface names.
To configure WiFi is well described here: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
Adding the network details to the Raspberry Pi
Open the wpa-supplicant configuration file in nano:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Go to the bottom of the file and add the following:
network={
> ssid="testing"
> psk="testingPassword" }
both from command line and by adding a file to the SD card before the first boot.