NEWS
Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit
-
@thomas-braun So, ich hoffe das ich das nun richtig gemacht habe.
Last login: Wed Apr 20 09:05:04 on ttys000 damrak2021@Andreass-iMac ~ % ssh pi@homebridge pi@homebridge's password: Linux homebridge 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Apr 20 08:05:22 2022 from 2a02:908:171:e900:303c:c240:9f73:977d pi@homebridge:~ $ /etc/apt/sources.list.d/ookla_speedtest-cli.list -bash: /etc/apt/sources.list.d/ookla_speedtest-cli.list: No such file or directory pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/ookla_speedtest-cli.list pi@homebridge:~ $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8E61C2AB9A6D1557 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /tmp/apt-key-gpghome.9TwcOtjpDI/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8E61C2AB9A6D1557 gpg: key 31EB3981E723ACAA: "https://packagecloud.io/ookla/speedtest-cli (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 pi@homebridge:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease Hit:4 https://repos.influxdata.com/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_12.x bullseye InRelease Get:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease [24.5 kB] Get:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages [988 B] Fetched 40.4 kB in 4s (10.6 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@homebridge:~ $ sudo apt install speedtest Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: speedtest 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 989 kB of archives. After this operation, 2,232 kB of additional disk space will be used. Get:1 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf speedtest armhf 1.1.1.28-1.c732eb82cf [989 kB] Fetched 989 kB in 1s (973 kB/s) Selecting previously unselected package speedtest. (Reading database ... 62192 files and directories currently installed.) Preparing to unpack .../speedtest_1.1.1.28-1.c732eb82cf_armhf.deb ... Unpacking speedtest (1.1.1.28-1.c732eb82cf) ... Setting up speedtest (1.1.1.28-1.c732eb82cf) ... Processing triggers for man-db (2.9.4-2) ... pi@homebridge:~ $ curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash This distribution version is not currently supported via package management, please use the direct download builds per architecture found at https://www.speedtest.net/apps/cli pi@homebridge:~ $
-
apt policy speedtest
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
apt policy speedtest
Da kommt folgendes
pi@homebridge:~ $ apt policy speedtest speedtest: Installed: 1.1.1.28-1.c732eb82cf Candidate: 1.1.1.28-1.c732eb82cf Version table: *** 1.1.1.28-1.c732eb82cf 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 100 /var/lib/dpkg/status 1.1.0.75-1.810304edbd 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 1.0.0.2-1.5ae238b 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages
Danke für Deine Geduld
-
Auf nodeJS@14 könntest du in jetzt in einem auch springen, wenn du eh die *.list files pflegst.
In /etc/apt/sources.list.d/nodesource.list die 12 durch eine 14 ersetzen.
Node12 erreicht in wenigen Tagen das EndOfLife. -
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
Doch, gibt es wohl.
Habe die Datei angepasst.
# this file was generated by packagecloud.io for # the repository at https://packagecloud.io/ookla/speedtest-cli deb https://packagecloud.io/ookla/speedtest-cli/ubuntu/ jammy main deb-src https://packagecloud.io/ookla/speedtest-cli/ubuntu/ jammy bullseye main
Dann
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8E61C2AB9A6D1557 sudo apt update sudo apt install speedtest
Und da kommt dann
nega@ioBroker:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8E61C2AB9A6D1557 Executing: /tmp/apt-key-gpghome.ZjkZwFOrNP/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8E61C2AB9A6D1557 gpg: key 31EB3981E723ACAA: public key "https://packagecloud.io/ookla/speedtest-cli (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>" imported gpg: Total number processed: 1 gpg: imported: 1 nega@ioBroker:~$ sudo apt update Hit:1 https://deb.nodesource.com/node_14.x focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Ign:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy InRelease Err:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy Release 404 Not Found [IP: 50.18.207.89 443] Reading package lists... Done E: The repository 'https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. nega@ioBroker:~$ sudo apt install speedtest Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package speedtest nega@ioBroker:~$ nano /etc/apt/sources.list.d/ookla_speedtest-cli.list
Script liefert immer noch
09:32:13.219 error javascript.0 (408896) script.js.Netzwerk.Speedtest: SyntaxError: Unexpected end of JSON input 09:32:13.219 error javascript.0 (408896) at generiere_array (script.js.Netzwerk.Speedtest:181:14) 09:32:13.219 error javascript.0 (408896) at script.js.Netzwerk.Speedtest:229:12 09:32:13.342 error host.ioBroker Caught by controller[0]: at generiere_array (script.js.Netzwerk.Speedtest:182:14) 09:32:13.342 error host.ioBroker Caught by controller[0]: at script.js.Netzwerk.Speedtest:230:12
Speedtest funktioniert aber
nega@ioBroker:~$ speedtest Retrieving speedtest.net configuration... Testing from Fonira Telekom GmbH (185.129.173.57)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Netprotect (Vienna) [214.89 km]: 13.606 ms Testing download speed................................................................................ Download: 751.51 Mbit/s Testing upload speed...................................................................................................... Upload: 85.11 Mbit/s nega@ioBroker:~$
-
-
@negalein sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
deb-src https://packagecloud.io/ookla/speedtest-cli/ubuntu/ jammy bullseye main
Die Zeile ist falsch, das bullseye gehört raus.
Offenbar ist das Repo aber noch nicht gefüllt, wie gesagt, Ubuntu 22.04 ist noch nicht offiziell freigegeben.
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
/etc/apt/sources.list.d/nodesource.list
Das wollte ich gerade machen, aber da bekomme ich das, oder muss ich da wieder irgendwo rein und wenn ja mit welchem Befehl?
pi@homebridge:~ $ /etc/apt/sources.list.d/nodesource.list -bash: /etc/apt/sources.list.d/nodesource.list: Permission denied
-
@negalein sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
Speedtest funktioniert aber
Das ist aber soweit ich das sehe das alte/falsche speedtest.
sudo apt update apt policy speedtest
-
@damrak2022 sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
/etc/apt/sources.list.d/nodesource.list
Das ist halt Quatsch. Du musst schon sagen, mit welchem Befehl du die Datei anpacken willst.
sudo nano /etc/apt/sources.list.d/nodesource.list
Wäre eine einfache Transferleistung, die /etc/apt/sources.list.d/ookla_speedtest-cli.list
hast du doch genauso angepackt. -
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
apt policy speedtest
Jetzt sieht es so aus:
pi@homebridge:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease Hit:4 https://repos.influxdata.com/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_12.x bullseye InRelease Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@homebridge:~ $ apt policy speedtest speedtest: Installed: 1.1.1.28-1.c732eb82cf Candidate: 1.1.1.28-1.c732eb82cf Version table: *** 1.1.1.28-1.c732eb82cf 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 100 /var/lib/dpkg/status 1.1.0.75-1.810304edbd 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 1.0.0.2-1.5ae238b 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages pi@homebridge:~ $
Wieso kann ich mein node js nicht upgraden. Wieso habe ich hier Permission denied
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
sudo apt update
apt policy speedtestnega@ioBroker:~$ sudo apt update Hit:1 https://deb.nodesource.com/node_14.x focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Ign:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy InRelease Err:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy Release 404 Not Found [IP: 184.72.30.82 443] Reading package lists... Done E: The repository 'https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. nega@ioBroker:~$ apt policy speedtest N: Unable to locate package speedtest nega@ioBroker:~$
Das ist aber soweit ich das sehe das alte/falsche speedtest.
also kann ich das Script derzeit nicht nutzen?
-
@negalein
Das ist auch wieder Kraut und Rüben...
Was hast du denn da nun? Focal (20.04) oder Jammy (22.04)
Die Releases dürfen nicht vermischt werden, das gibt nur Chaos.Erstmal prüfen, wo du da überhaupt unterwegs bist:
lsb_release -a
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
Was hast du denn da nun? Focal (20.04) oder Jammy (22.04)
Upps sorry, meinte 20.04
nega@ioBroker:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
-
@negalein
Dann muss das auch in den *.list-files focal lauten, nicht jammy.
Stell das richtig, dannsudo apt update apt policy speedtest
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
dann
nega@ioBroker:~$ sudo apt update Hit:1 https://deb.nodesource.com/node_14.x focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1744 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [918 kB] Hit:4 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease Fetched 2891 kB in 2s (1669 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 154 packages can be upgraded. Run 'apt list --upgradable' to see them. nega@ioBroker:~$ apt policy speedtest speedtest: Installed: (none) Candidate: 1.1.1.28-1.c732eb82cf Version table: 1.1.1.28-1.c732eb82cf 500 500 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal/main amd64 Packages 1.1.0.75-1.810304edbd 500 500 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal/main amd64 Packages 1.0.0.2-1.5ae238b 500 500 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal/main amd64 Packages
-
@negalein sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
154 packages can be upgraded.
Bist du des Wahnsinns?
Updaten, aber schnell!sudo apt full-upgrade sudo reboot
-
@damrak2022 Jetzt so
pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list pi@homebridge:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease Hit:4 https://repos.influxdata.com/debian bullseye InRelease Get:5 https://deb.nodesource.com/node_14.x bullseye InRelease [4,586 B] Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease Get:7 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages [780 B] Fetched 5,366 B in 2s (2,687 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@homebridge:~ $ apt policy speedtest speedtest: Installed: 1.1.1.28-1.c732eb82cf Candidate: 1.1.1.28-1.c732eb82cf Version table: *** 1.1.1.28-1.c732eb82cf 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 100 /var/lib/dpkg/status 1.1.0.75-1.810304edbd 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages 1.0.0.2-1.5ae238b 500 500 https://packagecloud.io/ookla/speedtest-cli/debian bullseye/main armhf Packages pi@homebridge:~ $ apt list --upgradable Listing... Done nodejs/unknown 14.19.1-deb-1nodesource1 armhf [upgradable from: 12.22.12-deb-1nodesource1] N: There are 2 additional versions. Please use the '-a' switch to see them. pi@homebridge:~ $
-
Ja, passt.
iobroker stoppen, updates einspielensudo apt full-upgrade
, iobroker wieder starten.
-
@thomas-braun sagte in Speedtest-Skript von kreyenborg.koeln für Kabel-Gigabit:
Updaten, aber schnell!
Aye, aye, Käpt’n!
Und dann wie weiter?