Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst] Ping-Adapter pingt nicht mehr

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

[gelöst] Ping-Adapter pingt nicht mehr

Scheduled Pinned Locked Moved Solved Error/Bug
ping-adapter
27 Posts 4 Posters 4.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @Meister-Mopper Zunächst lässt du den Blödsinn mit dem root.
    Einmal noch als root:

    adduser thomas sudo
    

    und dann loggst du dich nie mehr als root ein.

    Meister MopperM Away
    Meister MopperM Away
    Meister Mopper
    wrote on last edited by
    #9

    @Thomas-Braun macht er nicht:

    $ adduser thomas sudo
    -sh: 4: adduser: not found
    
    

    Proxmox und HA

    Meister MopperM 1 Reply Last reply
    0
    • Meister MopperM Meister Mopper

      @Thomas-Braun macht er nicht:

      $ adduser thomas sudo
      -sh: 4: adduser: not found
      
      
      Meister MopperM Away
      Meister MopperM Away
      Meister Mopper
      wrote on last edited by
      #10

      @Meister-Mopper Sorry, mein Fehler

      root@iobroker:~# adduser thomas sudo
      Adding user `thomas' to group `sudo' ...
      Adding user thomas to group sudo
      Done.
      

      Proxmox und HA

      Thomas BraunT 1 Reply Last reply
      0
      • Meister MopperM Meister Mopper

        @Meister-Mopper Sorry, mein Fehler

        root@iobroker:~# adduser thomas sudo
        Adding user `thomas' to group `sudo' ...
        Adding user thomas to group sudo
        Done.
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by Thomas Braun
        #11

        @Meister-Mopper
        Ich bin nicht ganz sicher ob das funktioniert, aber versuch mal dem User die default Gruppen noch mitzugeben:

        sudo useradd -D thomas
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        Meister MopperM 1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @Meister-Mopper
          Ich bin nicht ganz sicher ob das funktioniert, aber versuch mal dem User die default Gruppen noch mitzugeben:

          sudo useradd -D thomas
          
          Meister MopperM Away
          Meister MopperM Away
          Meister Mopper
          wrote on last edited by
          #12

          @Thomas-Braun Da kommen nur die ganzen Schaltererläuterungen:

          $ sudo useradd -D thomas
          Usage: useradd [options] LOGIN
                useradd -D
                useradd -D [options]
          
          Options:
           -b, --base-dir BASE_DIR       base directory for the home directory of the
                                         new account
           -c, --comment COMMENT         GECOS field of the new account
           -d, --home-dir HOME_DIR       home directory of the new account
           -D, --defaults                print or change default useradd configuration
           -e, --expiredate EXPIRE_DATE  expiration date of the new account
           -f, --inactive INACTIVE       password inactivity period of the new account
           -g, --gid GROUP               name or ID of the primary group of the new
                                         account
           -G, --groups GROUPS           list of supplementary groups of the new
                                         account
           -h, --help                    display this help message and exit
           -k, --skel SKEL_DIR           use this alternative skeleton directory
           -K, --key KEY=VALUE           override /etc/login.defs defaults
           -l, --no-log-init             do not add the user to the lastlog and
                                         faillog databases
           -m, --create-home             create the user's home directory
           -M, --no-create-home          do not create the user's home directory
           -N, --no-user-group           do not create a group with the same name as
                                         the user
           -o, --non-unique              allow to create users with duplicate
                                         (non-unique) UID
           -p, --password PASSWORD       encrypted password of the new account
           -r, --system                  create a system account
           -R, --root CHROOT_DIR         directory to chroot into
           -s, --shell SHELL             login shell of the new account
           -u, --uid UID                 user ID of the new account
           -U, --user-group              create a group with the same name as the user
           -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping
          

          Proxmox und HA

          Thomas BraunT 1 Reply Last reply
          0
          • Meister MopperM Meister Mopper

            @Thomas-Braun Da kommen nur die ganzen Schaltererläuterungen:

            $ sudo useradd -D thomas
            Usage: useradd [options] LOGIN
                  useradd -D
                  useradd -D [options]
            
            Options:
             -b, --base-dir BASE_DIR       base directory for the home directory of the
                                           new account
             -c, --comment COMMENT         GECOS field of the new account
             -d, --home-dir HOME_DIR       home directory of the new account
             -D, --defaults                print or change default useradd configuration
             -e, --expiredate EXPIRE_DATE  expiration date of the new account
             -f, --inactive INACTIVE       password inactivity period of the new account
             -g, --gid GROUP               name or ID of the primary group of the new
                                           account
             -G, --groups GROUPS           list of supplementary groups of the new
                                           account
             -h, --help                    display this help message and exit
             -k, --skel SKEL_DIR           use this alternative skeleton directory
             -K, --key KEY=VALUE           override /etc/login.defs defaults
             -l, --no-log-init             do not add the user to the lastlog and
                                           faillog databases
             -m, --create-home             create the user's home directory
             -M, --no-create-home          do not create the user's home directory
             -N, --no-user-group           do not create a group with the same name as
                                           the user
             -o, --non-unique              allow to create users with duplicate
                                           (non-unique) UID
             -p, --password PASSWORD       encrypted password of the new account
             -r, --system                  create a system account
             -R, --root CHROOT_DIR         directory to chroot into
             -s, --shell SHELL             login shell of the new account
             -u, --uid UID                 user ID of the new account
             -U, --user-group              create a group with the same name as the user
             -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping
            

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #13

            @Meister-Mopper

            sudo adduser thomas
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            Meister MopperM 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @Meister-Mopper

              sudo adduser thomas
              
              Meister MopperM Away
              Meister MopperM Away
              Meister Mopper
              wrote on last edited by
              #14

              @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

              sudo adduser thomas

              $ sudo adduser thomas
              adduser: The user `thomas' already exists.
              

              Das hat er aber weiter oben schon ausgeworfen. Mit sudo kann ich jetzt pingen, aber offenbar der iobroker nicht.

              Proxmox und HA

              Thomas BraunT 1 Reply Last reply
              0
              • Meister MopperM Meister Mopper

                @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                sudo adduser thomas

                $ sudo adduser thomas
                adduser: The user `thomas' already exists.
                

                Das hat er aber weiter oben schon ausgeworfen. Mit sudo kann ich jetzt pingen, aber offenbar der iobroker nicht.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #15

                @Meister-Mopper
                Die 'iobroker' ist vermutlich genauso gruppenlos wie 'thomas'.

                sudo -u iobroker groups
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                Meister MopperM 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @Meister-Mopper
                  Die 'iobroker' ist vermutlich genauso gruppenlos wie 'thomas'.

                  sudo -u iobroker groups
                  
                  Meister MopperM Away
                  Meister MopperM Away
                  Meister Mopper
                  wrote on last edited by
                  #16

                  @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                  sudo -u iobroker groups

                  $ sudo -u iobroker groups
                  iobroker tty dialout audio video
                  

                  Proxmox und HA

                  Thomas BraunT 1 Reply Last reply
                  0
                  • Meister MopperM Meister Mopper

                    @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                    sudo -u iobroker groups

                    $ sudo -u iobroker groups
                    iobroker tty dialout audio video
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #17

                    @Meister-Mopper
                    Hmmm. Eigentlich sollte 'dialout' richtig sein.
                    Keine Ahnung dann...

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    Meister MopperM 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @Meister-Mopper
                      Hmmm. Eigentlich sollte 'dialout' richtig sein.
                      Keine Ahnung dann...

                      Meister MopperM Away
                      Meister MopperM Away
                      Meister Mopper
                      wrote on last edited by
                      #18

                      @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                      Als root ausführen:

                      chmod 4755 /bin/ping
                      

                      [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                      ping: icmp open socket: Operation not permitted
                      
                      You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                      Verify using:
                      [INCORRECT]
                      ls -al /bin/ping
                      -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                      
                      [CORRECT]
                      [root@pccadmin ~]# chmod 4755 /bin/ping
                      [root@pccadmin ~]# ls -tlr /bin/ping
                      -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                      where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                      
                      

                      Proxmox und HA

                      Thomas BraunT Axel KoenekeA Rainer.KR 3 Replies Last reply
                      4
                      • Meister MopperM Meister Mopper

                        @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                        Als root ausführen:

                        chmod 4755 /bin/ping
                        

                        [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                        ping: icmp open socket: Operation not permitted
                        
                        You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                        Verify using:
                        [INCORRECT]
                        ls -al /bin/ping
                        -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                        
                        [CORRECT]
                        [root@pccadmin ~]# chmod 4755 /bin/ping
                        [root@pccadmin ~]# ls -tlr /bin/ping
                        -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                        where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                        
                        

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #19

                        @Meister-Mopper
                        Jetzt hat ping das setuid bit. Da hatte ich eben auch mal dran gedacht, das zu setzen. Nagut, wenn es nun geht...
                        Aber auch das sollst du nicht als root setzen, sondern mit
                        sudo
                        vor dem Befehl...

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        Meister MopperM 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @Meister-Mopper
                          Jetzt hat ping das setuid bit. Da hatte ich eben auch mal dran gedacht, das zu setzen. Nagut, wenn es nun geht...
                          Aber auch das sollst du nicht als root setzen, sondern mit
                          sudo
                          vor dem Befehl...

                          Meister MopperM Away
                          Meister MopperM Away
                          Meister Mopper
                          wrote on last edited by
                          #20

                          @Thomas-Braun Alles klar, ich danke Dir für den guten Rat.

                          Proxmox und HA

                          Thomas BraunT 1 Reply Last reply
                          0
                          • Meister MopperM Meister Mopper

                            @Thomas-Braun Alles klar, ich danke Dir für den guten Rat.

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #21

                            @Meister-Mopper
                            root login ist Tabu!

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            1 Reply Last reply
                            0
                            • Meister MopperM Away
                              Meister MopperM Away
                              Meister Mopper
                              wrote on last edited by Meister Mopper
                              #22

                              Sollte man denn root generell löschen, und wie kommt man dann an die root-Rechte, wenn sie mal nötig sind? Sorry, ich blicke da noch nicht durch.

                              Proxmox und HA

                              Thomas BraunT 1 Reply Last reply
                              0
                              • Meister MopperM Meister Mopper

                                Sollte man denn root generell löschen, und wie kommt man dann an die root-Rechte, wenn sie mal nötig sind? Sorry, ich blicke da noch nicht durch.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #23

                                @Meister-Mopper
                                Es gibt Distributionen, die haben keinen (aktiven) root. Man kann den unter debian auch ausknipsen. Würde ich aber nicht machen.
                                Entsprechende Rechte bekommst du, wenn halt 'sudo' vor den Befehl gesetzt wird. In ganz außergewöhnlichen Fällen kann man auch per

                                sudo su
                                

                                wieder 'root' werden. Aber das darf nur an besonders hohen Feiertagen der Fall sein.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                Meister MopperM 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @Meister-Mopper
                                  Es gibt Distributionen, die haben keinen (aktiven) root. Man kann den unter debian auch ausknipsen. Würde ich aber nicht machen.
                                  Entsprechende Rechte bekommst du, wenn halt 'sudo' vor den Befehl gesetzt wird. In ganz außergewöhnlichen Fällen kann man auch per

                                  sudo su
                                  

                                  wieder 'root' werden. Aber das darf nur an besonders hohen Feiertagen der Fall sein.

                                  Meister MopperM Away
                                  Meister MopperM Away
                                  Meister Mopper
                                  wrote on last edited by
                                  #24

                                  @Thomas-Braun @Meister-Mopper Wahrscheinlich - nach all den Informationen - sollte man nach der abschließenden Konfiguration "sudo su" den root-user löschen, oder?

                                  Proxmox und HA

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • Meister MopperM Meister Mopper

                                    @Thomas-Braun @Meister-Mopper Wahrscheinlich - nach all den Informationen - sollte man nach der abschließenden Konfiguration "sudo su" den root-user löschen, oder?

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #25

                                    @Meister-Mopper
                                    Ich würde es nicht machen. Entfernt dein System nur weiter vom 'Standard' und macht ggf. das Helfen bei Problemen schwieriger.
                                    Hab oben auch einen Fehler im Befehl. Richtig muss es

                                    sudo su -
                                    

                                    heißen. Das - ist wichtig! Setzt die Rechte bzw. das Environment in der shell. Aber da du ja eh nicht mehr root werden musst kannste das auch wieder vergessen.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    1 Reply Last reply
                                    0
                                    • Meister MopperM Meister Mopper

                                      @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                                      Als root ausführen:

                                      chmod 4755 /bin/ping
                                      

                                      [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                                      ping: icmp open socket: Operation not permitted
                                      
                                      You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                                      Verify using:
                                      [INCORRECT]
                                      ls -al /bin/ping
                                      -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                                      
                                      [CORRECT]
                                      [root@pccadmin ~]# chmod 4755 /bin/ping
                                      [root@pccadmin ~]# ls -tlr /bin/ping
                                      -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                                      where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                                      
                                      

                                      Axel KoenekeA Offline
                                      Axel KoenekeA Offline
                                      Axel Koeneke
                                      wrote on last edited by
                                      #26

                                      @meister-mopper sagte in [gelöst] Ping-Adapter pingt nicht mehr:

                                      chmod 4755 /bin/ping

                                      Danke für den Tip!
                                      Ich hatte genau das gleiche Problem nach einer neuen, sauberen LCX Installation.
                                      VG
                                      Axel

                                      1 Reply Last reply
                                      0
                                      • Meister MopperM Meister Mopper

                                        @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                                        Als root ausführen:

                                        chmod 4755 /bin/ping
                                        

                                        [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                                        ping: icmp open socket: Operation not permitted
                                        
                                        You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                                        Verify using:
                                        [INCORRECT]
                                        ls -al /bin/ping
                                        -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                                        
                                        [CORRECT]
                                        [root@pccadmin ~]# chmod 4755 /bin/ping
                                        [root@pccadmin ~]# ls -tlr /bin/ping
                                        -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                                        where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                                        
                                        

                                        Rainer.KR Offline
                                        Rainer.KR Offline
                                        Rainer.K
                                        wrote on last edited by Rainer.K
                                        #27

                                        @meister-mopper Auch von mir vielen Dank! Ich bin schon verzweifelt, da die Instanzen Ping und Lupusec partout nicht funktionieren wollten. Der Fehler ist bei dem Neuaufbau von IoBroker mit einem neu angelegten LCX-Container (Ubuntu 20.0.4) aufgetreten.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        844

                                        Online

                                        32.4k

                                        Users

                                        81.5k

                                        Topics

                                        1.3m

                                        Posts
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Home
                                        • Recent
                                        • Tags
                                        • Unread 0
                                        • Categories
                                        • Unreplied
                                        • Popular
                                        • GitHub
                                        • Docu
                                        • Hilfe