CONNECT RASPBERRY PI TO A WIFI NETWORK( IN RASPBERRY PI 3)
Power on the RASPBERRY PI .
In the terminal opened type “sudo nano /etc/network/interfaces“.
This will open another terminal as below.
Edit the terminal,
- You put your wifi name along wpa-ssid ” ” and password along wpa-psk ” “
- Remove the “.conf” file
- Change “wlan0 inet manual” to “wlan0 inet dhcp”
To save it press “CTRL+X” then press “Y” and then press enter key.
Then you need to restart the networking services or you can reboot the RASPBERRY PI. In order to restart the networking services type “sudo nano /etc/init.d/networking restart“
Once the networking services are restarted you will be connected to the wifi. To check if you are getting internet type “sudo ping http://www.google.com“If everything is ok you can see a terminal like this.
To exit press “CTRL + C”