Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst) linux-control lxc host klappt nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    (gelöst) linux-control lxc host klappt nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Codierknecht
      Codierknecht Developer Most Active @HAL last edited by

      @hal
      Also ich kann meinen LXC Container problemlos erreichen.
      Ein grundsätzliches Problem beim Adapter würde ich demnach ausschließen.
      Hätte vermutlich auch längst Geschrei gegeben.

      IMG_0013.jpeg

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Codierknecht last edited by

        @codierknecht habs bei mir ebenfalls gerade getestet, vom iobroker docker (anderer Server) zum Proxmox-Host, funktioniert ohne Probleme

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @HAL last edited by crunchip

          @hal sagte in linux-control lxc host klappt nicht:

          node: v18.18.2

          ist aber auch nicht der aktuelle Stand

          auch schon mal Proxmox neu gestartet?

          es gab Hier ein issue, hat sich aber scheinbar in Luft aufgelöst

          HAL 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @HAL last edited by

            @hal

            apt policy iputils-ping ping
            ping 192.168.178.44
            sudo -H -u iobroker ping 192.168.178.44
            

            sagt? Natürlich NICHT als root sondern als user ausgeführt.
            Eigentlich logisch, da man sich ohnehin nie als root anmeldet.

            HAL 2 Replies Last reply Reply Quote 0
            • HAL
              HAL @Thomas Braun last edited by

              @thomas-braun ich bin am iobroker mit dem user Uwe angemeldet

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @HAL last edited by Thomas Braun

                @hal

                Mag ja sein. Mittels sudo setzt du da aber weiterhin auf root-Rechte. Bringt dir aber keine Erkenntnisse, weil Ping z.B. unter Umständen von Usern nicht ausgeführt werden darf. Deswegen halt als User agieren, weil man immer als user eingeloggt ist und nie als root.

                Die Kommandos liefern nun was zurück?

                1 Reply Last reply Reply Quote 0
                • HAL
                  HAL @crunchip last edited by

                  @crunchip mach ich heute abend, bin jetzt unterwegs

                  1 Reply Last reply Reply Quote 0
                  • HAL
                    HAL @Thomas Braun last edited by

                    @thomas-braun sorry war durch Ostern beschäftigt

                    iobroker login: uwe
                    Password: 
                    Linux iobroker 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) 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: Mon Apr  1 14:43:10 CEST 2024 on tty1
                    uwe@iobroker:~$ apt policy iputils-ping ping
                    iputils-ping:
                      Installed: 3:20210202-1
                      Candidate: 3:20210202-1
                      Version table:
                     *** 3:20210202-1 500
                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                            100 /var/lib/dpkg/status
                    ping:
                      Installed: (none)
                      Candidate: (none)
                      Version table:
                    uwe@iobroker:~$ ping 192.168.178.44
                    ping: socket: Operation not permitted
                    uwe@iobroker:~$ sudo -H -u iobroker ping 192.168.178.44
                    [sudo] password for uwe: 
                    ping: socket: Operation not permitted
                    uwe@iobroker:~$
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @HAL last edited by

                      @hal

                      Gib den usern die Rechte:

                      sudo setcap cap_net_raw+p /bin/ping
                      
                      HAL 1 Reply Last reply Reply Quote 0
                      • HAL
                        HAL @Thomas Braun last edited by

                        @thomas-braun OK, jetzt funktioniert auch die Abfrage der CPU Temperatur im Container. Danke für Deinen Support !

                        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

                        747
                        Online

                        32.0k
                        Users

                        80.3k
                        Topics

                        1.3m
                        Posts

                        8
                        37
                        1221
                        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