Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.0/3.1 jetzt im Latest!

    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

    js-controller 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @2hot4you last edited by Thomas Braun

      @2hot4you

      sudo dpkg-reconfigure iputils-ping
      

      Danach nochmal die Rechte prüfen:

      ls -la /bin/ping
      
      harrym 2 2 Replies Last reply Reply Quote -1
      • harrym
        harrym @Thomas Braun last edited by

        @Thomas-Braun ??? wozu? sein PING Befehl funktioniert ja unter Linux. Der Adapter hat ein Probelm damit.

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

          @harrym Weil da das setuid Bit fehlt.

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

            @Thomas-Braun lies mal den ganzen thread und auch die logs vom broker........

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

              @harrym

              STDERR: /bin/ping: socket: Operation not permitted
              

              Schaut mir nach fehlenden Rechten aus.

              Mein ping hat das setuid Bit jedenfalls:

              pi@raspberrypi:~$ ls -la /bin/ping
              -rwsr-xr-x 1 root root 55720 Aug  3  2018 /bin/ping
              pi@raspberrypi:~$
              
              
              harrym 1 Reply Last reply Reply Quote -1
              • harrym
                harrym @Thomas Braun last edited by harrym

                @Thomas-Braun und das ganze hat jedenfalls genau NICHTS mim js-controller zu tun?

                aber j4i .... x haben alle user und auch alle gruppen ... oug ... rechte ala unix/linux eben

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

                  @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

                  ls -la /bin/ping

                  immer noch das gleiche

                  
                  iobroker@iobroker-lxc:~# ls -la /bin/ping
                  -rwxr-xr-x 1 root root 72776 Oct  5  2019 /bin/ping
                  
                  
                  harrym Thomas Braun 2 Replies Last reply Reply Quote 0
                  • harrym
                    harrym @2hot4you last edited by

                    @2hot4you war zu erwarten ... weil alle rechte passen.

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

                      @2hot4you

                      sudo chmod u+s /bin/ping
                      
                      harrym 1 Reply Last reply Reply Quote -1
                      • harrym
                        harrym @Thomas Braun last edited by

                        @Thomas-Braun sag mal ! mer als ein x für alle kann nicht sein .... lass dein halbwissen jetzt mal beiseite. Das ist ein problem mit den Adaptern bzw. eine Konfigsache in denen

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

                          @harrym setuid ist 'mehr' als x
                          Die Rechte in meinen Raspian lauten jedenfalls so:

                          pi@raspberrypi:~$ ls -la /bin/ping
                          -rwsr-xr-x 1 root root 55720 Aug  3  2018 /bin/ping
                          pi@raspberrypi:~$
                          

                          Was bezeichnet jetzt das s?

                          harrym 1 Reply Last reply Reply Quote -1
                          • harrym
                            harrym @Thomas Braun last edited by

                            @Thomas-Braun setzt dich mal mit den rechten unter linux/unix auseinander .... mir reicht das jetzt.

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

                              @harrym Erzähls mir doch bitte. Was bedeutet das s?

                              harrym 1 Reply Last reply Reply Quote 0
                              • 2
                                2hot4you last edited by

                                habe den Ping Adpter neu installiert, jetzt klapp es wieder , keine Ahnung was jetzt geholfen habt,

                                Danke für eure Hilfe

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

                                  @Thomas-Braun ist bei ping unnötig. und setuid ist nicht mehr als x .... verschiebt nur rechte von usern ....

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

                                    @harrym Ist bei Ping nicht unnötig. Entweder setuid oder capabilities (je nach Distribution) ist erforderlich.

                                    harrym 1 Reply Last reply Reply Quote -1
                                    • harrym
                                      harrym @Thomas Braun last edited by

                                      @Thomas-Braun ja ... is recht .... schön, dass du dich so super in linux auskennst.

                                      Thomas Braun 1 Reply Last reply Reply Quote -1
                                      • Thomas Braun
                                        Thomas Braun Most Active @harrym last edited by

                                        @harrym Was willst du Vogel eigentlich?

                                        In the past, before Capabilities, ping and other system tools were installed with setuid root permissions, like this:

                                        $ ls -l /bin/ping
                                        -rwsr-xr-x 1 root root 44168 May 7 2014 /bin/ping
                                        The “s” in the permission string represents the setuid bit, and it means that ping will be executed with root level permissions, even if invoked by a non-root user. Ping needs higher privileges to work properly.

                                        wendy2702 1 Reply Last reply Reply Quote -3
                                        • wendy2702
                                          wendy2702 @Thomas Braun last edited by

                                          @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

                                          @harrym Was willst du Vogel eigentlich?

                                          Bitte bleibt beide Sachlich!

                                          Am besten ihr belasst es jetzt dabei.

                                          Danke!

                                          1 Reply Last reply Reply Quote 2
                                          • apollon77
                                            apollon77 last edited by

                                            An sich setzt der installation fixer die capabilities korrekt ... keine Ahnung was hier war, aber tut ja jetzt

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

                                            Support us

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

                                            756
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            424704
                                            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