User Tools

Site Tools


sparky_rpi_wifi

Sparky RaspberryPi Wifi

Starting from version 4-dev20171127, net wireless devices can be configured via the network-manager applet or 'nmtui' command

Sparky's RaspberryPi's WiFi is not enabled as default. To enable it do:

1. Edit the interfaces file:

 sudo nano /etc/network/interfaces

Add new lines to the file:

 allow-hotplug wlan0
 iface wlan0 inet manual
     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

2. Scan for WiFi networks:

 sudo iwlist wlan0 scan

Look out for:

 ESSID:"YOUR-WIFI-NETWORK-NAME"

3. Edit the wpa_supplicant.conf file:

 sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Change:

 country=GB

to your country ID.

Add to the file:

 network={
 ssid="YOUR-WIFI-NETWORK-NAME"
 psk="YOUR-WIFI-NETWORK-PASSWORD"
 }

3. Reconfigure the wpa_supplicant:

 sudo wpa_cli -i wlan0 reconfigure

Verify (opcional):

 sudo ifconfig wlan0

Then reboot and check your connection:

 sudo ping -c 2 sparkylinux.org
sparky_rpi_wifi.txt · Last modified: 2021/05/04 15:24 by 127.0.0.1