In my last post I described why it is fun to have a Raspberry Pi microcomputer at home. In this post I want to show you that you can also connect the Raspberry Pi to the internet. And that doing so is, actually, very easy.
Here is how you can go about it.
Connect the USB Wi-fi Dongle to the Raspberry Pi
Make sure that your USB wi-fi dongle is connected to your Raspberry Pi. I used a Tenda W311MI model and it worked like a charm. I highly recommend it.
Find Out the MAC Address of the USB Wi-fi Dongle
Start up your Raspberry Pi and go to
In the Terminal’s window, type and enter the following command:
This command outputs the details of all network connections available on your Raspberry Pi.
We are looking for the MAC address of the wi-fi connection (
Allow the Raspberry Pi’s MAC Address in the Router
Now, you need to allow the Raspberry Pi’s MAC address in your router.
You will need to do this via a computer that already has an established internet connection. And you will need to know the router administrator’s name and password — your internet service provider (ISP) gave you these when your internet connection was first set up.
Some people don’t use this feature of their routers at all. If you are among those people, you can skip this step altogether.
I use a Cisco EPC3925 router to manage the internet access of the electronic devices in my home. To access the router’s settings, I enter
http://192.168.1.1 in a browser and then I enter the admin’s name and password.
There are two places in the router’s settings, where it is possible to list the MAC addresses of devices allowed or denied internet access. The first place is located at
Add the Raspberry Pi’s MAC address to both lists and press the
Configure the Raspberry Pi’s Wi-fi Connection
Return to your Raspberry Pi and go to
You will need to scan your area for all available wi-fi services.
Each wi-fi service has its name, called service set identifier (SSID).
Simply find and select your own SSID in the output list of the scan.
In case you are not sure what the above-mentioned information are, you can find them out in your router’s settings.
For example, my Cisco EPC3925 router shows me this:
Connect to the Internet
Now you can enter all the necessary information into the Raspberry Pi’s WiFi Configuration tool.
Double-check each entry to make sure that you entered everything correctly.
Once you do this, you will be able to press the
Liked this post?
Subscribe to our newsletter to receive early notification of new posts and deals: