Back to Browse

Make Raspberry Pi Network SpeedTest Tool for Internal throughput and network speed measuring.

14.3K views
Sep 17, 2021
22:30

Welcome to my Tutorial on how to make a network speed test tool for measuring internal network speeds and throughputs using a Raspberry Pi and Flirc Case, installing Open Speed Test in Docker on your Raspberry Pi. A great tool for fault finding your's and customers' networks and measuring how fast a local WiFi access point is or a hard-wired ethernet connected device is. #thecomputerlab, #raspberrypimaker, #openspeedtest GET STARTED HERE: -------------------------------------------------- sudo apt-get update sudo apt-get upgrade -y curl -sSL https://get.docker.com | sh curl -fsSL https://get.docker.com -o get-docker.sh ls (This lists content) sh get-docker.sh (runs script) sudo usermod -aG docker pi (adds user to docker) Restart Raspberry Pi sudo reboot (reboots pi) The test by typing docker And then check docker run hello-world enable docker on restart sudo systemctl enable docker sudo docker pull portainer/portainer-ce:linux-arm sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest Install OpenSpeed Test in portioner sudo docker run --restart=unless-stopped --name=openspeedtest -d -p 3000:3000 openspeedtest/latest ——————————— Install screen sudo apt-get install python3-pip sudo pip3 install --upgrade setuptools cd ~ sudo pip3 install --upgrade adafruit-python-shell wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py sudo python3 raspi-blinka.py Ask to reboot then check it by : ls /dev/i2c* /dev/spi* Should see this (/dev/i2c-1 /dev/spidev0.0 /dev/spidev0.1) NOW add adafruit library: sudo pip3 install adafruit-circuitpython-ssd1306 Allow custom fonts sudo apt-get install python3-pil Now code for screen: nano /home/pi/stats.py Paste code direct from adafruit website here: (Visit this website if you need code or instructions direct from AdaFruit: Here if needed -https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi/usage) —————————— One last thing run stats on boot by: sudo nano /etc/rc.local Running Stats on Boot You can pretty easily make it so this handy program runs every time you boot your Pi. The fastest/easiest way is to put it in /etc/rc.local Run sudo nano /etc/rc.local and add the line sudo python3 /home/pi/stats.py & on its own line right before exit 0 Then save and exit. Reboot to verify that the screen comes up on boot! sudo reboot ---------------------------- Affiliate links: Raspberry Pi 4 4gb: https://amzn.to/3Aghxdc Raspberry Pi 8gb: https://amzn.to/2XuDZAE Raspberry Pi power supply: https://amzn.to/3EuLGYX Flirc CASE: https://amzn.to/3CjnFCb 32gb Micro SD Card: https://amzn.to/39cubhA AdaFruit OLED: https://amzn.to/2XqP2Lk ----------------------------- 💯 Help support this channel my family and me - by signing up to my Patreon here https://www.patreon.com/ComputerLab 💻 Please subscribe here: https://www.youtube.com/c/Thecomputerlab?sub_confirmation=1 📺 Discord here: TheComputerLab#4156 🎭 Check out my Facebook page here https://www.facebook.com/TheComputerLabUK 🐦 Also, why not tweet me here on Twitter https://twitter.com/thecomputerlab 💷 Or if you want to support a fellow human being please donate via Paypal here [email protected] Welcome to my Youtube channel "TheComputerLab" I created this channel to help others with everyday computer problems. It has slightly changed throughout the years and has gone from basic fixes to lots of different help videos going from iPhone tutorials to game system fixes to Mac and Windows tutorials and lots more - Please do subscribe even if you only visited my channel just for one video as your help by subscribing helps my channel. **Disclaimer: The Computer Lab is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to www.amazon.co.uk. Disclaimers: all opinions are my own, for entertainment purposes only.

Download

0 formats

No download links available.

Make Raspberry Pi Network SpeedTest Tool for Internal throughput and network speed measuring. | NatokHD