Photo : Alexandre PERETJATKO
Of course, you can setup your WIFI with the GUI in your Rapberry by following the Foundation Guidelines https://www.raspberrypi.org/documentation/configuration/wireless/README.md but, this is the way to setup manualy your WIFI network.
To scan for WIFI network, enter the command :
sudo iwlist wlan0 scan
The name of the WIFI (the SSID) is a line starting with ESSID:"YourWIFINetwork"
Edit the network configuration etc/wpa_supplicant/wpa_supplicant.conf :
WIFI interface is eth0 (wlan0 is for your wired network), so locate the line iface eth0 inet dhcp and change it as root to :
network={
ssid="YourWIFINetwork"
psk="Your_wifi_password"
}
Restart the network :
sudo /etc/init.d/networking restart
Define your Rapberry hostname :
sudo raspi-config
Go in Advanced option > Hostname and enter what you want
Done
You can see if your setting have been update with the command (it will display the @IP you enter before in the wlan0 part):
ifconfig wlan0