0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【2024年08月版】VyOS で スピードテスト 【speedtest, pip】

Posted at

はじめに

VyOS 1.3で構築しているLinuxルーターからスピードテストをしたい。。。

speedtest-cli を使お。。。

のメモ

環境

$ uanme -a
Linux r1 5.4.243-amd64-vyos #1 SMP Sat Jun 24 14:28:40 UTC 2023 x86_64 GNU/Linux
$ python3 --version
Python 3.7.3

インストール

speedtest-cli は pip でインストールするんだけど、vyos 1.3 には pip 入ってなさげ

$ pip --version
  Invalid command: [pip]
$ pip3 --version
  Invalid command: [pip3]

pip のインストール

通常は、https://bootstrap.pypa.io/get-pip.py から取得するが、3.7 ではエラーになるので、3.7のインストールスクリプトを利用する

$ curl https://bootstrap.pypa.io/pip/3.7/get-pip.py -o get-pip.py
$ sudo python3 get-pip.py

speedtest-cli のインストール

$ sudo pip3 install speedtest-cli

実行

$ speedtest-cli

最後に

かんたんでしたね

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?