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.
    • apollon77
      apollon77 @2hot4you last edited by apollon77

      @2hot4you ping == installation fixer (iobroker fix) ausführen. Da fehlen rechte

      2 1 Reply Last reply Reply Quote 0
      • Diginix
        Diginix @apollon77 last edited by

        @apollon77 Als Client läuft Windows und da nutze ich lieber Visual Studio Code o.ä. GUI Editoren. 😉

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

          @apollon77

          habe den Fix durchlaufen lassen, keine Änderung.
          Im Log zeigt er den Fehler an, wenn ich den Befehl in der Shell eingebe geht er

          ping.0 2020-04-28 17:05:48.818 debug (7517) Ping result for 192.168.30.77: false in -ms
          ping.0 2020-04-28 17:05:48.817 debug (7517) STDERR: /bin/ping: socket: Operation not permitted
          ping.0 2020-04-28 17:05:48.815 debug (7517) System command: /bin/ping -n -w 2 -c 1 192.168.30.77
          ping.0 2020-04-28 17:05:48.815 debug (7517) Pinging 192.168.30.77

          iobroker@iobroker-lxc:~# ping -n -w 2 -c 1 192.168.30.77 
          PING 192.168.30.77 (192.168.30.77) 56(84) bytes of data.
          64 bytes from 192.168.30.77: icmp_seq=1 ttl=128 time=8.15 ms
          
          --- 192.168.30.77 ping statistics ---
          1 packets transmitted, 1 received, 0% packet loss, time 0ms
          rtt min/avg/max/mdev = 8.145/8.145/8.145/0.000 ms
          iobroker@iobroker-lxc:~# ping 192.168.30.77
          PING 192.168.30.77 (192.168.30.77) 56(84) bytes of data.
          64 bytes from 192.168.30.77: icmp_seq=1 ttl=128 time=8.11 ms
          64 bytes from 192.168.30.77: icmp_seq=2 ttl=128 time=5.80 ms
          64 bytes from 192.168.30.77: icmp_seq=3 ttl=128 time=7.81 ms
          ^C
          --- 192.168.30.77 ping statistics ---
          3 packets transmitted, 3 received, 0% packet loss, time 2003ms
          rtt min/avg/max/mdev = 5.802/7.238/8.106/1.022 ms
          iobroker@iobroker-lxc:~# 
          
          robonect.0	2020-04-28 17:07:05.739	error	(7908) No connection to lawn mower. Check network connection.
          robonect.0	2020-04-28 17:06:05.737	error	(7908) No connection to lawn mower. Check network connection.
          robonect.0	2020-04-28 17:05:57.923	debug	(7908) system.adapter.admin.0: logging true
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @2hot4you last edited by Thomas Braun

            @2hot4you

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

              @Thomas-Braun

              -rwxr-xr-x 1 root root 72776 Oct 5 2019 /bin/ping

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            414
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

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