Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Fronius-Adapter bleibt "gelb", empfängt keine Daten

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Fronius-Adapter bleibt "gelb", empfängt keine Daten

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

      @nodoe

      Gibt es in der Konsole mehr dazu?

      sudo -u iobroker /bin/ping -n -w2 -c1 192.168.31.60
      
      nodoe 1 Reply Last reply Reply Quote 0
      • nodoe
        nodoe @Thomas Braun last edited by

        @thomas-braun sagte in Fronius-Adapter bleibt "gelb" und empfängt keine Daten:

        sudo -u iobroker /bin/ping -n -w2 -c1 192.168.31.60

        Cool, das war der richtige Hinweis: Die Konsole brachte den Fehler:

        /bin/ping: socket: Operation not permitted
        

        Das ging nur mit root-Rechten - warum auch immer, ping ist doch ein normales Benutzer-Kommando?! Mit chmod die Rechte von /bin/ping angepasst und schon läuft's.

        Vielen Dank!

        Norbert

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

          @nodoe sagte in Fronius-Adapter bleibt "gelb" und empfängt keine Daten:

          ping ist doch ein normales Benutzer-Kommando?!

          Nein, ist es nicht.

          Mit chmod die Rechte von /bin/ping angepasst und schon läuft's.

          Da macht man nicht so stumpf. Man setzt entweder setuid oder ein setcap:

          sudo setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /bin/ping
          
          nodoe 1 Reply Last reply Reply Quote 0
          • nodoe
            nodoe @Thomas Braun last edited by

            @thomas-braun sagte in Fronius-Adapter bleibt "gelb" und empfängt keine Daten:

            sudo setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /bin/ping

            Ja, das ist natürlich richtig. chmod war der schnelle check, ob es daran liegt.

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

              @nodoe

              Richtiger sieht das so aus:

              pi@chet:~ $ which ping
              /usr/bin/ping
              pi@chet:~ $ ls -l /usr/bin/ping
              -rwsr-xr-x 1 root root 69080 Feb  2  2021 /usr/bin/ping
              pi@chet:~ $
              

              Zumindest in meinem Raspberry OS ist das so angelegt. Mit s-Bit.

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

                @thomas-braun
                Hi,

                habe aktuell auch dieses Problem, aber auf Iob Proxmox. Bei mir sieht es dann so aus:

                olli@ioBroker:~$ which ping
                /usr/bin/ping
                olli@ioBroker:~$ ls -l /usr/bin/ping 
                -rwxr-xr-x 1 root root 77432 Feb  2  2021 /usr/bin/ping
                

                Da ich (noch) nicht so viel Wissen bzgl. Linux besitze, wie kann ich die Rechte korrekt setzen?

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

                  @qqolli

                  Auf einem richtigen Linux:

                  sudo chmod u+xs /pfad/zur/datei
                  
                  qqolli 1 Reply Last reply Reply Quote 1
                  • qqolli
                    qqolli @Thomas Braun last edited by

                    @thomas-braun
                    Klasse und vielen Dank. Problem ebenfalls gelöst.

                    1 Reply Last reply Reply Quote 0
                    • Andre Hussel
                      Andre Hussel last edited by Andre Hussel

                      @thomas-braun
                      Ich würde mich hier mal anschließen.

                      Ich habe ioBroker auf einem Windows installiert (zum Testen) und bekomme beim fronius-solarweb.0 Adapter ebenfalls das gelbe Dreieck.

                      Jetzt bin ich bei ioBroker auch ganz am Anfang und wäre für einen Tipp bzgl. troubleshooting dankbar 🙂

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

                        @andre-hussel

                        Und hast du auf deinem Windows auch per Linux-Kommandos den Ping befehl für user verfügbar gemacht?

                        Ich gehe zu 100% davon aus, das du nicht das gleiche Problem hast.
                        Mach einen eigenen Thread auf und poste da auch das Logfile rein.

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

                          @thomas-braun Die ping.0 Instanz muss geladen sein. Ich hatte in GitHub einen Post - [Hier gehts zum Post] -(https://github.com/iobroker-community-adapters/ioBroker.fronius/issues/217#issuecomment-1575474366)gesehen, der dass negierte. Da habe ich mich leider drauf verlassen.

                          Demnach erledigt.

                          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

                          779
                          Online

                          32.0k
                          Users

                          80.4k
                          Topics

                          1.3m
                          Posts

                          fronius-adapter startproblem
                          5
                          14
                          882
                          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