In this issue you can set up WiFi connection and also can change the hostname of your Raspberry Pi so that you can connect to your Raspberry Pi through WiFi. After that, you can connect to your Raspberry Pi from anywhere in the room without connecting your Raspberry Pi and your PC using an Ethernet cable!
sudo raspi-config
Please run the command above.
2 Network Options
Please select 2 Network Options.
N2 Wireless LAN
Then select N2 Wireless LAN.
Select the country in which your Raspberry Pi is to be used
You are probably asked to select your country.
Ok
Select Ok and enter.
Enter your SSID
Please select your SSID.
Enter your WiFi passphrase
Enter your WiFi passphrase then the WiFi connection is set up.
Why you need to change your hostname
You need to have your own hostname when you have more than two RaspberryPi-s in a single WiFi network. The default hostname is raspberrypi.local which you used to log in. There will be a hostname conflict if your team connect several RaspberryPi-s with this default hostname.
2 Network Options
Select 2 Network Options again.
N1 Hostname
Select N1 Hostname.
Ok
Select Ok and press enter.
Enter your new hostname
Enter your new hostname.
You can choose a unique name for your Raspberry Pi. I keep the default 'raspberrypi' for this capacity building text for a less confusion.
In this issue you can set up WiFi connection and also can change the hostname of your Raspberry Pi so that you can connect to your Raspberry Pi through WiFi. After that, you can connect to your Raspberry Pi from anywhere in the room without connecting your Raspberry Pi and your PC using an Ethernet cable!
sudo raspi-config
Please run the command above.
2 Network Options
Please select 2 Network Options.
N2 Wireless LAN
Then select N2 Wireless LAN.
Select the country in which your Raspberry Pi is to be used
You are probably asked to select your country.
Ok
Select Ok and enter.
Enter your SSID
Please select your SSID.
Enter your WiFi passphrase
Enter your WiFi passphrase then the WiFi connection is set up.
Why you need to change your hostname
You need to have your own hostname when you have more than two RaspberryPi-s in a single WiFi network. The default hostname is
raspberrypi.local
which you used to log in. There will be a hostname conflict if your team connect several RaspberryPi-s with this default hostname.2 Network Options
Select 2 Network Options again.
N1 Hostname
Select N1 Hostname.
Ok
Select Ok and press enter.
Enter your new hostname
Enter your new hostname.
You can choose a unique name for your Raspberry Pi. I keep the default 'raspberrypi' for this capacity building text for a less confusion.