Wireless Networking

If you have a USB wireless dongle or a Raspbery Pi 3 you can use this guide to connect your Raspberry Pi to your wireless network.

Step 1 - Access the command line

Plug in your keyboard before powering on your Raspberry Pi.

Also plug in your USB wireless dongle (if not using a Raspberry Pi 3).

Once booted, exit the PES GUI to access the command line.

Step 2 - Create sample configuration

Execute the following commands:

cd /etc/netctl
sudo install -m640 examples/wireless-wpa wlan0

Step 3 - Apply your network settings

Edit /etc/netctl/wlan0 as required for your wireless network, e.g.:

sudo nano /etc/netctl/wlan0

If you have not used nano before, use the arrow keys on your keyboard to move between lines.

You should be presented with the following:

Description='A simple WPA encrypted wireless connection'


# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
# Uncomment this if your ssid is hidden

For most people, you should only have to modify the values for ESSID and Key. Change these to the name of your wireless network and security key respectively.

If you are not using DHCP on your network, change the IP parameter to the IP address you have assigned to your Raspberry Pi.

Now save the file and exit.

If you are using nano then press Ctrl + X followed by Y to save and exit the program.

Step 4 - Start the interface

Bring up the wireless interface:

sudo netctl start wlan0

Providing you have entered the correct settings for your network in the previous step your Raspberry Pi should now connect to the wireless network.

You can verify that it has connected by using the ifconfig command, e.g.

[[email protected] ~]$ ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet  netmask  broadcast
ether aa:bb:cc:dd:e1:f2  txqueuelen 1000  (Ethernet)
RX packets 2785  bytes 205718 (200.8 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 457  bytes 72580 (70.8 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

If your interface has not come up please try running sudo netctl status wlan0 to see what errors occurred when bringing up the interface.

Step 5 - Enable interface at boot time

To make the interface start at boot time run the following command:

sudo netctl enable wlan0

If at any point you want to disable the wireless network adapter at boot time, then run:

sudo netctl disable wlan0

Step 6 - Start PES

Now to start the PES GUI again run:


Or alternatively, reboot:

sudo reboot