Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Akku Zustand Proxmox Laptop abfragen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Akku Zustand Proxmox Laptop abfragen

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 @biker1602 last edited by

      @biker1602 Kommt was bei

      sudo ping 192.168.57.210
      

      oder bei

      ping 8.8.8.8
      

      Wenn beides nicht geht bitte das:

      sudo apt install iputils-ping
      

      und erneut testen

      B 1 Reply Last reply Reply Quote 0
      • B
        biker1602 @wendy2702 last edited by biker1602

        @wendy2702
        bei sudo ping will er das Passwort und dann fängt an zu laufen

        login as: biker1602
        biker1602@192.168.57.210's password:
        Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.83-1-pve x86_64)
        
         * Documentation:  https://help.ubuntu.com
         * Management:     https://landscape.canonical.com
         * Support:        https://ubuntu.com/advantage
        Last login: Fri Jan 13 10:46:06 2023
        biker1602@iobroker:~$ sudo ping 192.168.57.210
        [sudo] password for biker1602:
        
        

        Ich habe ihn dann mal auf 10 begrenzt

        biker1602@iobroker:~$ sudo ping -c 10 192.168.57.210
        [sudo] password for biker1602:
        PING 192.168.57.210 (192.168.57.210) 56(84) bytes of data.
        64 bytes from 192.168.57.210: icmp_seq=1 ttl=64 time=0.039 ms
        64 bytes from 192.168.57.210: icmp_seq=2 ttl=64 time=0.046 ms
        64 bytes from 192.168.57.210: icmp_seq=3 ttl=64 time=0.052 ms
        64 bytes from 192.168.57.210: icmp_seq=4 ttl=64 time=0.047 ms
        64 bytes from 192.168.57.210: icmp_seq=5 ttl=64 time=0.046 ms
        64 bytes from 192.168.57.210: icmp_seq=6 ttl=64 time=0.065 ms
        64 bytes from 192.168.57.210: icmp_seq=7 ttl=64 time=0.045 ms
        64 bytes from 192.168.57.210: icmp_seq=8 ttl=64 time=0.051 ms
        64 bytes from 192.168.57.210: icmp_seq=9 ttl=64 time=0.059 ms
        64 bytes from 192.168.57.210: icmp_seq=10 ttl=64 time=0.068 ms
        
        --- 192.168.57.210 ping statistics ---
        10 packets transmitted, 10 received, 0% packet loss, time 9194ms
        rtt min/avg/max/mdev = 0.039/0.051/0.068/0.008 ms
        biker1602@iobroker:~$
        
        
        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @biker1602 last edited by wendy2702

          @biker1602 OK. Screenshot der Einstellungen vom Linux Control Adapter bitte

          und die Ausgabe von

          groups
          
          B 1 Reply Last reply Reply Quote 0
          • B
            biker1602 @wendy2702 last edited by biker1602

            @wendy2702 said in Akkustand vom Laptop auslesen:

            @biker1602 OK. Screenshot der Einstellungen vom Linux Control Adapter bitte

            3d1f417a-3e46-429f-8b0d-fecc70b755cf-grafik.png
            4bf5e272-6e8b-4911-92e9-9b6c4ad458fd-grafik.png

            8ca4998c-d841-4e33-b9ab-ef4920565fd1-grafik.png

            wendy2702 1 Reply Last reply Reply Quote 0
            • wendy2702
              wendy2702 @biker1602 last edited by

              @biker1602 Setze mal den haken bei "benutze Sudo".

              Speichern und neu testen

              B 1 Reply Last reply Reply Quote 0
              • B
                biker1602 @wendy2702 last edited by biker1602

                @wendy2702 said in Akkustand vom Laptop auslesen:

                Speichern und neu testen

                2023-01-13 11:05:35.409 - info: linux-control.0 (2150) getting data from Linux (192.168.57.210:22)
                2023-01-13 11:05:35.418 - info: linux-control.0 (2150) [getConnection] Host 'Linux' (192.168.57.210:22) seems not to be online
                2023-01-13 11:05:35.419 - debug: linux-control.0 (2150) [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:06:34.573 - info: linux-control.0 (2150) Got terminate signal TERMINATE_YOURSELF
                2023-01-13 11:06:34.574 - info: linux-control.0 (2150) cleaned everything up...
                2023-01-13 11:06:34.574 - info: linux-control.0 (2150) terminating
                2023-01-13 11:06:34.575 - debug: linux-control.0 (2150) Plugin sentry destroyed
                2023-01-13 11:06:34.575 - info: linux-control.0 (2150) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2023-01-13 11:06:38.724 - debug: linux-control.0 (3829) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2023-01-13 11:06:38.815 - debug: linux-control.0 (3829) Objects client ready ... initialize now
                2023-01-13 11:06:38.817 - debug: linux-control.0 (3829) Objects create System PubSub Client
                2023-01-13 11:06:38.818 - debug: linux-control.0 (3829) Objects create User PubSub Client
                2023-01-13 11:06:39.028 - debug: linux-control.0 (3829) Objects client initialize lua scripts
                2023-01-13 11:06:39.034 - debug: linux-control.0 (3829) Objects connected to redis: 127.0.0.1:9001
                2023-01-13 11:06:39.116 - debug: linux-control.0 (3829) Redis States: Use Redis connection: 127.0.0.1:9000
                2023-01-13 11:06:39.193 - debug: linux-control.0 (3829) States create System PubSub Client
                2023-01-13 11:06:39.194 - debug: linux-control.0 (3829) States create User PubSub Client
                2023-01-13 11:06:39.394 - debug: linux-control.0 (3829) States connected to redis: 127.0.0.1:9000
                2023-01-13 11:06:39.809 - debug: linux-control.0 (3829) Plugin sentry Initialize Plugin (enabled=true)
                2023-01-13 11:06:40.010 - warn: linux-control.0 (3829) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                2023-01-13 11:06:40.011 - warn: linux-control.0 (3829) This object will not be created in future versions. Please report this to the developer.
                2023-01-13 11:06:40.017 - info: linux-control.0 (3829) 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:06:40.061 - warn: linux-control.0 (3829) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                2023-01-13 11:06:40.062 - warn: linux-control.0 (3829) This object will not be created in future versions. Please report this to the developer.
                2023-01-13 11:06:40.072 - info: linux-control.0 (3829) getting data from Linux (192.168.57.210:22, Adapter start)
                2023-01-13 11:06:40.088 - info: linux-control.0 (3829) [getConnection] Host 'Linux' (192.168.57.210:22) seems not to be online
                2023-01-13 11:06:40.089 - debug: linux-control.0 (3829) [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:06:40.276 - debug: linux-control.0 (3829) [refreshHost] Linux (192.168.57.210:22): button 'linux-control.0.Linux.refresh' subscribed
                2023-01-13 11:09:38.410 - info: linux-control.0 (3829) Got terminate signal TERMINATE_YOURSELF
                2023-01-13 11:09:38.411 - info: linux-control.0 (3829) cleaned everything up...
                2023-01-13 11:09:38.412 - info: linux-control.0 (3829) terminating
                2023-01-13 11:09:38.412 - debug: linux-control.0 (3829) Plugin sentry destroyed
                2023-01-13 11:09:38.413 - info: linux-control.0 (3829) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2023-01-13 11:09:42.580 - debug: linux-control.0 (4142) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2023-01-13 11:09:42.669 - debug: linux-control.0 (4142) Objects client ready ... initialize now
                2023-01-13 11:09:42.671 - debug: linux-control.0 (4142) Objects create System PubSub Client
                2023-01-13 11:09:42.672 - debug: linux-control.0 (4142) Objects create User PubSub Client
                2023-01-13 11:09:42.869 - debug: linux-control.0 (4142) Objects client initialize lua scripts
                2023-01-13 11:09:42.875 - debug: linux-control.0 (4142) Objects connected to redis: 127.0.0.1:9001
                2023-01-13 11:09:42.954 - debug: linux-control.0 (4142) Redis States: Use Redis connection: 127.0.0.1:9000
                2023-01-13 11:09:43.047 - debug: linux-control.0 (4142) States create System PubSub Client
                2023-01-13 11:09:43.048 - debug: linux-control.0 (4142) States create User PubSub Client
                2023-01-13 11:09:43.242 - debug: linux-control.0 (4142) States connected to redis: 127.0.0.1:9000
                2023-01-13 11:09:43.652 - debug: linux-control.0 (4142) Plugin sentry Initialize Plugin (enabled=true)
                2023-01-13 11:09:43.832 - warn: linux-control.0 (4142) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                2023-01-13 11:09:43.833 - warn: linux-control.0 (4142) This object will not be created in future versions. Please report this to the developer.
                2023-01-13 11:09:43.839 - info: linux-control.0 (4142) 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:09:43.876 - warn: linux-control.0 (4142) Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                2023-01-13 11:09:43.877 - warn: linux-control.0 (4142) This object will not be created in future versions. Please report this to the developer.
                2023-01-13 11:09:43.886 - info: linux-control.0 (4142) getting data from Linux (192.168.57.210:22, Adapter start)
                2023-01-13 11:09:43.904 - info: linux-control.0 (4142) [getConnection] Host 'Linux' (192.168.57.210:22) seems not to be online
                2023-01-13 11:09:43.905 - debug: linux-control.0 (4142) [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:09:44.107 - debug: linux-control.0 (4142) [refreshHost] Linux (192.168.57.210:22): button 'linux-control.0.Linux.refresh' subscribed
                

                Das verstehe wer will ich nicht

                1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 last edited by

                  OK.

                  dann die Passwort abfrage für sudo deaktivieren.

                  sudo visudo
                  

                  Dann diese Zeile auskommentieren: "#" davor

                  %sudo   ALL=(ALL:ALL) ALL
                  

                  und diese Zeile einfügen:

                  %sudo  ALL=(ALL) NOPASSWD:ALL
                  

                  Mit "ctrl+x" verlassen und Speichern bestätigen.

                  Ausloggen, einloggen und dann mal den Ping testen ob der mit sudo davor noch immer das PW haben will.

                  Wenn nicht nochmal Adapter neu starten ob der Host dann Online ist

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    biker1602 @wendy2702 last edited by biker1602

                    @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?

                    wendy2702 1 Reply Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 @biker1602 last edited by

                      @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.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        biker1602 @wendy2702 last edited by

                        @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?

                        1 Reply Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 last edited by

                          @biker1602 Ja

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            biker1602 @wendy2702 last edited by

                            @wendy2702

                            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:~$
                            
                            
                            
                            wendy2702 1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 @biker1602 last edited by wendy2702

                              @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.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                biker1602 @wendy2702 last edited by biker1602

                                @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.

                                wendy2702 1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 @biker1602 last edited by

                                  @biker1602 Ja,

                                  dann neuen User anlegen wie bereits eine Beiträge vorher geschrieben. Und als der dann den einzeiler zur iob installation ausführen.

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    biker1602 @wendy2702 last edited by

                                    @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.

                                    wendy2702 1 Reply Last reply Reply Quote 0
                                    • wendy2702
                                      wendy2702 @biker1602 last edited by

                                      @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.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        biker1602 @wendy2702 last edited by

                                        @wendy2702
                                        Ich meine das Template was ich bei Proxmox runter geladen habe.
                                        d7b8295e-2222-4cc7-ac3c-848698164327-grafik.png

                                        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 will

                                        Debian 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:~$ 
                                        
                                        DJMarc75 wendy2702 2 Replies Last reply Reply Quote 0
                                        • DJMarc75
                                          DJMarc75 @biker1602 last edited by DJMarc75

                                          ... deleted

                                          wendy2702 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @biker1602 last edited by

                                            @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

                                            https://forum.iobroker.net/post/927569

                                            B 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            516
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            59
                                            2469
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo