Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IOBroker - Radar2

    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

    IOBroker - Radar2

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gabe last edited by

      Hallo zusammen,

      Ich habe momentan das Problem das im Log bei mir

      „ arp-scan maybe without rights because no data returned!“

      Ich habe schon den Fixer laufen lassen und alle Schritte gem. Anleitung gemacht. Zusätzlich habe ich iobroker Root Rechte verpasst.

      Wenn ich im Terminal folgendes eingebe „ arp-scan -lgq --retry=7“

      Kommt auch ein Ergebnis. Im Adapter selber habe ich keine Einstellung geändert. Hat jemand noch ein Idee was ich machen kann?

      Danke

      Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Gabe last edited by

        @gabe sagte in IOBroker - Radar2:

        Zusätzlich habe ich iobroker Root Rechte verpasst.

        Was hast du genau getan?

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

          @thomas-braun über den Weg

          sudo visudo

          Und man fügt dort in eine Zeile unter '# User privilege specification'

          iobroker ALL=(ALL:ALL) NOPASSWD: ALL

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

            @gabe sagte in IOBroker - Radar2:

            „ arp-scan maybe without rights because no data returned!“

            hab ich auch schon vor geraumer Zeit entdeckt, funktioniert aber alles

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

              @crunchip bisher bei mir auch, aber mein Log wird überschwemmt 😉

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

                @gabe
                Genau das macht man nicht.
                Jetzt kann der iobroker alles im System und das auch noch ohne Passwort.

                Mach den Quatsch wieder rückgängig und dann setzt du nötigenfalls das SUID-Bit:

                sudo chmod u+s /usr/sbin/arp-scan
                
                1 Reply Last reply Reply Quote 0
                • G
                  Gabe last edited by

                  @thomas-braun alles klar. danke

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

                    @gabe
                    Von den mit der großen Kelle vergebenen Rechten, die du da jetzt hoffentlich wieder rausgenommen hast, abgesehen: Hast du die capabilities gesetzt?

                    Denn eigentlich sollte das alles darüber geregelt werden. Dann braucht es nicht mal das SUID bit.

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

                      @thomas-braun ich glaube nicht, was muss ich genau machen?

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

                        @gabe

                        iobroker stop
                        iobroker fix
                        iobroker start
                        

                        könnte schon reichen. Ansonsten steht das unter Garantie auch in der Readme zum Adapter.

                        [Edit:] Tut es natürlich...
                        https://github.com/frankjoke/ioBroker.radar2/blob/master/README.md

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

                          @thomas-braun ok das habe ich alles gemacht

                          Leider ändert sich nichts

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

                            @thomas-braun also ich kann als root user den Befehl ohne Probleme ausführen. Es muss wohl an dem User iobroke rliegen. Hast du eine Idee wie ich das ind er Konsole ausprobieren kann? Iobroker braucht ein Passwort, dass habe ich aber nicht...

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

                              @gabe

                              sudo -u iobroker arp-scan [OPTIONEN]
                              

                              Der user iobroker (als System-User) hat und braucht kein Passwort.

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gabe last edited by

                                @thomas-braun said in IOBroker - Radar2:

                                sudo -u iobroker arp-scan

                                ok also ich habe ein Ergebniss bekommen. Liegt es denn doch am Adapter?

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

                                  @gabe
                                  Hast du

                                  sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
                                  

                                  nochmal frisch ausgeführt?

                                  Alternativ:

                                  iobroker stop
                                  iobroker fix
                                  iobroker start
                                  
                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    Gabe @Thomas Braun last edited by

                                    @thomas-braun said in IOBroker - Radar2:

                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which arp-scan)

                                    beides gerade nochmal versucht, leider ohne Erfolg

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

                                      @gabe
                                      Wie sehen denn die Rechte an der Datei aus?

                                      getfacl /usr/sbin/arp-scan
                                      
                                      G 1 Reply Last reply Reply Quote 0
                                      • G
                                        Gabe @Thomas Braun last edited by

                                        @thomas-braun said in IOBroker - Radar2:

                                        getfacl /usr/sbin/arp-scan

                                        sieht so aus

                                        # file: usr/sbin/arp-scan
                                        # owner: root
                                        # group: root
                                        # flags: s--
                                        user::rwx
                                        group::r-x
                                        other::r-x
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Gabe last edited by

                                          @gabe
                                          Sollte eigentlich passen. Ich denke da muss der Maintainer von radar2 nochmal reinschauen.

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

                                            @thomas-braun alles klar. Danke für deine Hilfe!!!

                                            F 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

                                            748
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            radar2 adapter raspberry
                                            23
                                            153
                                            16251
                                            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