Reader small image

You're reading from  BeagleBone for Secret Agents

Product typeBook
Published inSep 2014
PublisherPackt
ISBN-139781783986040
Edition1st Edition
Right arrow
Author (1)
Joshua Datko
Joshua Datko
author image
Joshua Datko

Josh Datko is the founder of Cryptotronix, LLC, an open source hardware company that specializes in embedded, cryptographic electronics. He graduated with distinction from the US Naval Academy with a Bachelor's of Science in Computer Science and then served 10 years in the Navy, both actively and as a reserve submarine officer. He has been deployed to locations worldwide including Afghanistan in support of Operation Enduring Freedom. In 2014, Josh presented at both the HOPE and DEF CON conferences. He completed his Master's of Science in Computer Science, with a focus on security and networking, from Drexel University.
Read more about Joshua Datko

Right arrow

Determining your bandwidth with speedtest-cli


In order to adjust the bandwidth rate, we first need to know how much bandwidth our bridge has. Fortunately, there is a nice script to run a speed test from your command line that is appropriately called speedtest-cli. This is installed with the following command:

sudo pip install git+https://github.com/sivel/speedtest-cli.git

Run the test with the following command:

speedtest-cli --simple > speedtest.txt

If you inspect the output file, you should see something like the following:

Ping: 107.686 ms
Download: 28.23 Mbit/s
Upload: 5.37 Mbit/s

We'll use the results in this file as the basis for our bandwidth adjustment. At the moment, we only need to remember its location for later use.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
BeagleBone for Secret Agents
Published in: Sep 2014Publisher: PacktISBN-13: 9781783986040

Author (1)

author image
Joshua Datko

Josh Datko is the founder of Cryptotronix, LLC, an open source hardware company that specializes in embedded, cryptographic electronics. He graduated with distinction from the US Naval Academy with a Bachelor's of Science in Computer Science and then served 10 years in the Navy, both actively and as a reserve submarine officer. He has been deployed to locations worldwide including Afghanistan in support of Operation Enduring Freedom. In 2014, Josh presented at both the HOPE and DEF CON conferences. He completed his Master's of Science in Computer Science, with a focus on security and networking, from Drexel University.
Read more about Joshua Datko