How To Configure WiFi On The Raspberry Pi


If you need to connect your Raspberry Pi to a network you’ve usually got two options. A wired connection to the Ethernet port or WiFi via a USB dongle. In this post I’ll show you how to configure a USB WiFi dongle and get your Pi connected in minutes.

There are two methods you can use to configure a dongle. One method involves a lot of text file editing but for a typical network you can use the WiFi Config utility provided on the LXDE desktop. This is much faster and easier than doing it by hand.

Start by powering up your Pi. Login and then launch the LXDE graphical environment using :


Once the desktop has loaded double-click the “WiFi Config” icon on the left hand side.

WiFi Config Icon in LXDE

If there is no icon on your desktop open a terminal window (Menu > Accessories > Terminal) and type “wpa_gui”. Then press Enter.

The utility window will open. Check the adapter dropdown as something in it. In general it will state “wlan0”.

WiFi Config Using LXDE

Press the “Scan” button. This will launch a window which will show all the local wireless networks. Hopefully you will see your network listed.

WiFi Config Using LXDE

Double-click your network. This will open a new window with the network details. The SSID, Authentication and Encryption items should be populated. You will need to enter your WiFi password in the PSK box.

WiFi Config Using LXDE

Click “Save”. You will be returned to the main screen but this time the connection details will be populated. What is important is that the Status is “Completed” and the network has allocated the Pi an IP address. In this example the address is

WiFi Config Using LXDE

The “Manage Networks” tab allows you to list the networks you have configured. The “Edit” and “Remove” buttons can be used to edit existing settings.

WiFi Config Using LXDE

The “Add” button will allow you to add a network manually but you will need to supply all the information for the first four settings.

WiFi Config Using LXDE

Hopefully you are now connected and you can exit the utility. To test your WiFi connection take a look at my How To Use Wavemon To Monitor Your WiFi Connection.

If you want to use the manual file editing method then take a look at the How To Set Up WiFi on the Raspberry Pi article on the Averagemanvsraspberrypi blog.



  1. Using Raspbian wheezy. I had a “Wifi Config” icon as shown on your web page. When selected, it showed configuration choices such as encryption method. The “Wifi Config” icon is no longer there. How do I restore it?

    • They have removed the icon in the latest version of Raspbian. Open a terminal window (Menu > Accessories > Terminal) and type “wpa_gui”. Then press Enter. It should launch the WiFi config utility.

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.