NEWS
Akku Zustand Proxmox Laptop abfragen
-
@wendy2702
So Passwortabfrage habe ich so deaktiviert und beim Ping mit Sudo will er auch kein Passwort mehr.
Den Adapter habe ich neu gestartet, aber alles das Gleiche.2023-01-13 11:24:42.667 - info: linux-control.0 (5510) Got terminate signal TERMINATE_YOURSELF 2023-01-13 11:24:42.668 - info: linux-control.0 (5510) cleaned everything up... 2023-01-13 11:24:42.669 - info: linux-control.0 (5510) terminating 2023-01-13 11:24:42.669 - debug: linux-control.0 (5510) Plugin sentry destroyed 2023-01-13 11:24:42.669 - info: linux-control.0 (5510) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-01-13 11:24:46.853 - debug: linux-control.0 (5727) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-01-13 11:24:46.944 - debug: linux-control.0 (5727) Objects client ready ... initialize now 2023-01-13 11:24:46.945 - debug: linux-control.0 (5727) Objects create System PubSub Client 2023-01-13 11:24:46.946 - debug: linux-control.0 (5727) Objects create User PubSub Client 2023-01-13 11:24:47.146 - debug: linux-control.0 (5727) Objects client initialize lua scripts 2023-01-13 11:24:47.152 - debug: linux-control.0 (5727) Objects connected to redis: 127.0.0.1:9001 2023-01-13 11:24:47.235 - debug: linux-control.0 (5727) Redis States: Use Redis connection: 127.0.0.1:9000 2023-01-13 11:24:47.329 - debug: linux-control.0 (5727) States create System PubSub Client 2023-01-13 11:24:47.330 - debug: linux-control.0 (5727) States create User PubSub Client 2023-01-13 11:24:47.518 - debug: linux-control.0 (5727) States connected to redis: 127.0.0.1:9000 2023-01-13 11:24:47.942 - debug: linux-control.0 (5727) Plugin sentry Initialize Plugin (enabled=true) 2023-01-13 11:24:48.116 - warn: linux-control.0 (5727) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" 2023-01-13 11:24:48.117 - warn: linux-control.0 (5727) This object will not be created in future versions. Please report this to the developer. 2023-01-13 11:24:48.124 - info: linux-control.0 (5727) starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.linux-control, node: v16.19.0, js-controller: 4.0.24 2023-01-13 11:24:48.163 - warn: linux-control.0 (5727) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" 2023-01-13 11:24:48.164 - warn: linux-control.0 (5727) This object will not be created in future versions. Please report this to the developer. 2023-01-13 11:24:48.173 - info: linux-control.0 (5727) getting data from Linux (192.168.57.210:22, Adapter start) 2023-01-13 11:24:48.190 - info: linux-control.0 (5727) [getConnection] Host 'Linux' (192.168.57.210:22) seems not to be online 2023-01-13 11:24:48.190 - debug: linux-control.0 (5727) [getConnection] Host 'Linux' (192.168.57.210:22) ping result: {"inputHost":"192.168.57.210","host":"unknown","alive":false,"output":"","time":"unknown","times":[],"min":"unknown","max":"unknown","avg":"unknown","stddev":"unknown","packetLoss":"unknown"} 2023-01-13 11:24:48.391 - debug: linux-control.0 (5727) [refreshHost] Linux (192.168.57.210:22): button 'linux-control.0.Linux.refresh' subscribed
Nur nochmal eine Frage für Dumme. Der Port ist doch richtig mit der 22 oder?
-
@biker1602 Port 22 ist richtig.
Kannst du das mal bitte auf dem iobroker ausführen:
sudo apt install iputils-ping
und die komplette ausgabe hier posten.
-
@wendy2702 said in Akkustand vom Laptop auslesen:
Kannst du das mal bitte auf dem iobroker ausführen
Du meinst über Putty auf dem iobroker einloggen?
-
@biker1602 Ja
-
biker1602@iobroker:~$ sudo apt install iputils-ping Reading package lists... Done Building dependency tree... Done Reading state information... Done iputils-ping is already the newest version (3:20211215-1). 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. biker1602@iobroker:~$
-
@biker1602 Dann gehen mir ausser einem Upgrade des Linux Control Adapters langsam die Ideen aus.
Die Version 1.1.5 liegt im Beta Repo, die könntest du mal probieren. Das ist zumindest die Version mit der ich Arbeite.
Oder, wenn noch nicht viel Konfiguriert den Container mal neu mit Debian Bullseye aufsetzen.
-
@wendy2702 said in Akkustand vom Laptop auslesen:
Oder, wenn noch nicht viel Konfiguriert den Container mal neu mit Debian Bullseye aufsetzen.
Du wirst lachen, da hatte ich schon mal versucht, aber das klappt nach der Installation mit dem Login nicht, da es anders ist als Debian 10.
Wenn ich das Template installiert habe, kommt gleich Login aber weder mit admin usw. funktioniert es.Edit
Mit root komme ich erstmal rein. -
@biker1602 Ja,
dann neuen User anlegen wie bereits eine Beiträge vorher geschrieben. Und als der dann den einzeiler zur iob installation ausführen.
-
@wendy2702
Na von dem Bullseye lasse ich mal die Finger von. Da funktioniert ja nach der Installation des Templates gar nichts. Bis auf den User wechsel nimmt, der keine Befehle an nicht mal update und Upgrade macht er. Kommando nicht gefunden und so ein Mist schreibt er ständig. Aber da bin ich kein Einzelfall, glaube ich, wenn man im Netz so liest. -
@biker1602 Komisch, lese ich zum ersten mal.
Ich habe Bullseye auf allen meinen CTs und VMs laufen und keine Probleme.
Und welches Template meinst du? Das für Proxmox?
Wenn ja, wie nennt sich das denn?
Ich denke dein Problem mit Bullseye liegt an der Netzwerk Einstellung des CT's. Da sollte man für IPv4 als unerfahrener User erstmal DHCP und für IPv6 wenn im Netzwerk aktiv SLAAC einstellen.
Da du allerdings keine Ausgaben der "fehlschläge" und vom einrichten zeigst kann man nur schwer helfen.
-
@wendy2702
Ich meine das Template was ich bei Proxmox runter geladen habe.
Ich habe bei Ubuntu die IP bei der Installation doch auch manuell vergeben. Da kann ich ja sehen, was in der Fritzbox frei ist.
Das kommt wenn ich mit Sudo ein Update machen willDebian GNU/Linux 11 Debian tty1 Debian login: biker1602 Password: Linux Debian 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64 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: Fri Jan 13 15:27:49 UTC 2023 on tty1 biker1602@Debian:~$ sudo apt-get update && sudo apt-get upgrade -bash: sudo: command not found biker1602@Debian:~$
und das ohne sudo
biker1602@Debian:~$ apt-get update && sudo apt-get upgrade Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied) biker1602@Debian:~$
-
... deleted
-
@biker1602 sagte in Akkustand vom Laptop auslesen:
-bash: sudo: command not found
Dann mal kurz als root user
apt install sudo
Hatten wir aber auch schon hier
-
@djmarc75 sagte in Akkustand vom Laptop auslesen:
@biker1602 eigentlich schon unverschämt wie du den Beitrag hier von @maximal1981 für Deine Zwecke an Dich reisst !!! Hat auch NICHTS mit dem original Thread (Akkustand am Laptop auslesen) zu tun ... Mach einen eigenen Tread auf !
Naja,
eigentlich versucht er ja auch den Akkustand auszulesen. Nur das es bei Ihm nicht klappt und jetzt halt neu installiert wird.
-
@wendy2702 sagte in Akkustand vom Laptop auslesen:
Nur das es bei Ihm nicht klappt und jetzt halt neu installiert wird.
Im Original Beitrag geht es NICHT um Proxmox oder sowas... und @biker1602 hat das zwar im Einsatz aber kennt sich damit wohl NULL aus.... ich kann mich aber auch täuschen und dann entschuldige ich mich ..........
-
@wendy2702 said in Akkustand vom Laptop auslesen:
apt install sudo
Debian login: root Password: Linux Debian 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64 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: Fri Jan 13 15:26:56 UTC 2023 on tty1 root@Debian:~# apt install sudo Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1059 kB of archives. After this operation, 4699 kB of additional disk space will be used. Err:1 http://deb.debian.org/debian bullseye/main amd64 sudo amd64 1.9.5p2-3 Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to debian.map.fastlydns.net:80 (146.75.118.132). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (146.75.122.132). - connect (101: Network is unreachable) E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.9.5p2-3_amd64.deb Cannot initiate the connection to debian.map.fastlydns.net:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to debian.map.fastlydns.net:80 (146.75.118.132). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (146.75.122.132). - connect (101: Network is unreachable) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? root@Debian:~#
dann habe ich "apt-get update" gemacht
root@Debian:~# apt-get update Ign:1 http://security.debian.org bullseye-security InRelease Ign:2 http://deb.debian.org/debian bullseye InRelease Ign:3 http://deb.debian.org/debian bullseye-updates InRelease Err:4 http://security.debian.org bullseye-security Release Cannot initiate the connection to security.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (151.101.130.132). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (151.101.2.132). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (151.101.194.132). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (151.101.66.132). - connect (101: Network is unreachable) Err:5 http://deb.debian.org/debian bullseye Release Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (146.75.118.132). - connect (101: Network is unreachable) Err:6 http://deb.debian.org/debian bullseye-updates Release Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:8d::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (146.75.118.132). - connect (101: Network is unreachable) Reading package lists... Done E: The repository 'http://security.debian.org bullseye-security Release' no longer has 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. E: The repository 'http://deb.debian.org/debian bullseye Release' no longer has 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. E: The repository 'http://deb.debian.org/debian bullseye-updates Release' no longer has 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. root@Debian:~#
-
@biker1602 Der Rechner scheint aktuell nicht ins Internet zu kommen.
ping 8.8.8.8
Ich trenne das jetzt aber mal vom Ursprünglichen Thema ab da wir zu weit abdriften
-
@wendy2702
Ok da kannst du recht habenlogin as: biker1602 biker1602@192.168.57.211's password: Linux Debian 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64 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: Fri Jan 13 16:37:38 2023 biker1602@Debian:~$ ping 8.8.8.8 ping: socket: Operation not permitted biker1602@Debian:~$
Fragt sich nur wieso? Werde alles mal neu starten
-
@biker1602 Kannst du deine FB pingen?
-
@wendy2702 said in Akku Zustand Proxmox Laptop abfragen:
@biker1602 Kannst du deine FB pingen?
Ja das geht