![]() ![]() When you first run the speedtest software on your Raspberry Pi you will be asked to agree to some terms and conditions. Let us run the following command to start up the speedtest. We can now test that we have installed the speedtest software to your Raspberry Pi. Use the following command to install the package to your device. Finally, we can install the official Speedtest CLI to our Raspberry Pi from Ookla. Updating the package list is as simple as running the following command. As we added a new package repository we need to update our package list. This bit of text allows us to insert the release name for our installation of Raspberry Pi OS directly into the command.ĥ. Within this command, you will notice we use “ $(lsb_release -cs)“. echo "deb $(lsb_release -cs) main" | sudo tee /etc/apt//speedtest.list ![]() You can add this repository by running the following command. Without adding the repository we won’t be able to install the Speedtest CLI to our Raspberry Pi. Next we need to add the Ookla repository to our sources list. curl -L | gpg -dearmor | sudo tee /usr/share/keyrings/speedtestcli-archive-keyring.gpg >/dev/nullĤ. We need this keychain to be able to download the speedtest command line interface to our Raspberry Pi. With the packages we need installed we can now add the GPG key for Ookla’s Speedtest repository to the keychain. We utilize this package to grab the operating systems release name.ģ. This package is utilized for handling the addition of the package repository to your Raspberry Pi’s sources list.įinally, the last package we install is called “ lsb-release“. Without it apt will throw errors when connecting to Ookla’s package repository.Īdditionally we also install gnupg1, this package is used for secure communication between your Raspberry Pi and the servers. The apt-transport-https package is used to add support for the https protocol to the apt package manager. sudo apt install apt-transport-https gnupg1 dirmngr lsb-release Run the following command to install gnupg1, apt-transport-https, dirmngr and lsb-release to your Raspberry Pi. sudo apt-get updateĢ. We now need to install some packages so that we can add the package repository for the Speedtest CLI software. We can update the Raspberry Pi by running the following two commands within the terminal. Installing the Speedtest CLIġ. Before we get started with setting up the Raspberry Pi to monitor the internet’s speed, we must first make sure our Raspberry Pi is up to date. You can watch the video below to learn how to set up an internet speed monitor on the Raspberry Pi.Īlternatively check out the written version of the guide in the next section.Īdblock removing the video? Support us by subscribing to our ad-free service. Equipment Listīelow are all the pieces of equipment that we made use of to set up our Raspberry Pi internet speed monitor. This program works by polling the popular service to get your ping, download speed, and upload speed. Speedtest CLI is what our internet speed monitor will use to monitor the internet connection. ![]() To achieve this internet speed monitor, we will be showing you how to write a small Python script that interacts with a program called Speedtest CLI from Ookla. This tutorial is great if you’re interested in monitoring how your download speed, upload speed, and ping are affected over time.Īdditionally, this can help you work out what times your network may be at its peak capacity or if you’re suffering from a degraded internet connection. In this Raspberry Pi internet speed monitor tutorial, we will be showing you how you can set up your Raspberry Pi to monitor your internet connection and save the data to view in Grafana or Google Drive. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |