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.
    • 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
          • wendy2702
            wendy2702 @DJMarc75 last edited by

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

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

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

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

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

                  @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

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

                    @wendy2702
                    Ok da kannst du recht haben

                    login 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

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

                      @biker1602 Kannst du deine FB pingen?

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

                        @wendy2702 said in Akku Zustand Proxmox Laptop abfragen:

                        @biker1602 Kannst du deine FB pingen?

                        Ja das geht

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

                          @biker1602 Gateway im Container eingetragen?

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

                            @wendy2702 said in Akku Zustand Proxmox Laptop abfragen:

                            @biker1602 Gateway im Container eingetragen?

                            Ja habe ich gemacht und jetzt macht er auch was das update z.B.

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

                              @wendy2702
                              So es ist vollbracht. Ich habe ja das Bullseye installiert und nach langem hin und her auch iobroker dann erst nur Proxmox Adapter Linux Adapter und genau das gleiche. Dann habe ich gesucht und gefunden

                               sudo apt-get install iputils-ping --reinstall
                              

                              und sofort war er true.
                              Leider gibt er keine Werte aus von dem was ich unter meine Befehle eingetragen habe
                              77d19d1c-c939-4379-b67d-49c2e29832b7-grafik.png
                              3d705522-fe13-4755-9f79-3394b6552cb5-grafik.png

                              Da ist doch alles richtig oder?

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

                                @biker1602 geht die acpi abfrage wenn du dich mit Putty einloggst?

                                
                                acpitool -a
                                
                                

                                Wenn nicht muss der acpi support installiert werden

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

                                  @wendy2702 said in Akku Zustand Proxmox Laptop abfragen:

                                  @biker1602 geht die acpi abfrage wenn du dich mit Putty einloggst?

                                  
                                  acpitool -a
                                  
                                  

                                  Wenn nicht muss der acpi support installiert werden

                                  Doch der funktioniert wenn ich das Eingebe kommt folgende Meldung

                                  biker1602@Debian:~$ acpi --ac-adapter --battery
                                  Battery 0: Full, 100%
                                  Adapter 0: on-line
                                  biker1602@Debian:~$
                                  

                                  Wenn ich acpitool -a eingebe kommt eine Fehlermeldung

                                  biker1602@Debian:~$ acpitool -a
                                  -bash: acpitool: command not found
                                  biker1602@Debian:~$
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 last edited by

                                    Ok.

                                    Dann heißt es unter bullseye nur acpi.

                                    Dann muss du das in „meine Befehle“ ändern.

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

                                      @wendy2702 ja da muss ich nochmal ein wenig probieren denn unter Anzeige für Prozent gibt er garnichts aus. Da ist unter Objekte auch kein Datenpunkt angelegt worden. Ich dachte egal ob Ubuntu oder Debian das die Pakete alle gleich sind da es doch alles Linux ist

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

                                        @biker1602 kannst auch mal das acpitool unter debian installieren

                                        sudo apt install acpitool
                                        

                                        sollte das sein.

                                        Aktuell fragst du ja beides mit einem Befehl ab, kannst das auch splitten in zwei Befehle für die beiden Datenpunkte.

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

                                          @wendy2702 ja hatte ich schon gemacht und jetzt funktioniert auch alles. Ich habe ein Blockly erstellt das bei 100% der Strom abgeschaltet und bei 30% wieder angeschaltet wird. Ich möchte mich auf diesem Wege bei @wendy2702 bedanken der mich zwei Tage tatkräftig unterstützt hat.👍Vielen Dank 🙏

                                          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

                                          730
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          4
                                          59
                                          2489
                                          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