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.
    • A
      aldoa1 @apollon77 last edited by

      @apollon77
      per Konsole ist es der root.

      Log:
      radar2.0 2020-08-28 23:02:35.009 warn (7797) Adapter not running as root or iobroker has no sudo right, cannot use arp-scan!
      radar2.0 2020-08-28 23:02:34.977 info (7797) Adapter disconnected and stopped with dostop(null) and callback(true)
      radar2.0 2020-08-28 23:02:34.976 info (7797) Unload adapter now with null
      radar2.0 2020-08-28 23:02:34.973 warn (7797) Uncaught Exception: bind EACCES 0.0.0.0:67
      radar2.0 2020-08-28 23:02:34.968 error (7797) Error: bind EACCES 0.0.0.0:67 at dgram.js:338:20 at processTicksAndRejections (internal/process/task_queues.js:85:21)
      radar2.0 2020-08-28 23:02:34.967 error (7797) uncaught exception: bind EACCES 0.0.0.0:67
      radar2.0 2020-08-28 23:02:34.952 info (7797) arp-scan will use the following interfaces: [ 'eth1', 'docker0' ]
      radar2.0 2020-08-28 23:02:34.950 info (7797) debug: use known IP list: ['192.168.167.1','192.168.167.2','192.168.167.115','192.168.167.62']
      radar2.0 2020-08-28 23:02:34.946 info (7797) debug: use known BT list: []
      radar2.0 2020-08-28 23:02:34.945 info (7797) debug: radar2 set to flag items away if they are not seen for 3 minutes
      radar2.0 2020-08-28 23:02:34.883 info (7797) net-ping not available! Will try to use normal ping!
      radar2.0 2020-08-28 23:02:34.733 info (7797) debug: started #3 hciconfig hci0 up
      radar2.0 2020-08-28 23:02:34.582 info (7797) debug: started #2 hciconfig hci0 down
      radar2.0 2020-08-28 23:02:34.569 info (7797) Will run hcitool-mode and not noble on device []!
      radar2.0 2020-08-28 23:02:34.536 info (7797) debug: started #1 hcitool dev
      radar2.0 2020-08-28 23:02:34.507 info (7797) Will use l2Ping for BT scans.
      radar2.0 2020-08-28 23:02:34.492 info (7797) radar2 initialization started...

      apollon77 harrym 2 Replies Last reply Reply Quote 0
      • apollon77
        apollon77 @aldoa1 last edited by

        @aldoa1 Naja da steht es ... liesst mal die Readme des Adapters,da steht drin was Du ggf noch an extra Befehlen ausführen musst (Stichwort setcap) ... oder lass den iobroker fixer laufen

        A 1 Reply Last reply Reply Quote 0
        • A
          aldoa1 @apollon77 last edited by

          @apollon77

          den fixer habe ich schon probiert.
          die setcap Befehle konnte ich nicht ausführen.

          Wenn ich als root per Konsole starte, funktioniert der adapter super.

          apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
          • harrym
            harrym @aldoa1 last edited by

            @aldoa1 sagte in IOBroker - Radar2:

            Adapter not running as root or iobroker has no sudo right

            keine Ahnung welchen fixer du laufen hast lassen ... es war nicht der richtige.

            A 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @aldoa1 last edited by

              @aldoa1 sagte in IOBroker - Radar2:

              die setcap Befehle konnte ich nicht ausführen.

              Warum nicht? Wenn die Programme nicht installiert sein sollten dann installiere sie bitte

              1 Reply Last reply Reply Quote 0
              • A
                aldoa1 @harrym last edited by

                @harrym

                Hatte im Portainer beim iobroker die Kosole als root geöffnet und dann:

                curl -sL https://iobroker.net/fix.sh | bash -

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

                  @aldoa1 sagte in IOBroker - Radar2:

                  Wenn ich als root per Konsole starte, funktioniert der adapter super.

                  Das ist aber falsch, du startest gar nichts aktiv als root.
                  Als user:

                  iobroker fix
                  
                  1 Reply Last reply Reply Quote 1
                  • harrym
                    harrym @aldoa1 last edited by

                    @aldoa1 und wieso nicht einfach unter /opt/iobroker (zur sicherheit) iobroker fix .... iobroker bietet auch seine ganzen befehle an ... wenn man ihn aufruft ....

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      aldoa1 @harrym last edited by

                      @harrym

                      habe nun iobroker fix durchgeführt. Es kam zu einer Erfolgsmeldung. Docker iobroker noch mal gestopt und neu gestartet.

                      radar2 immer noch rot 😞

                      (ein anderes Problem (Schreibrechte bei zigbee-Adapter) wurde aber gelöst)

                      1 Reply Last reply Reply Quote 0
                      • A
                        aldoa1 last edited by

                        und hier habe ich noch was im Log (wenn ich manuell als user iobroker starte):

                        warn: radar2.0 (2621) radar initialization finished with error TypeError: Cannot read property 'push' of nullat main (/opt/iobroker/node_modules/iobroker.radar2/radar2.js:764:29)at processTicksAndRejections (internal/process/task_queues.js:97:5)at async IobAdapter.onReady (/opt/iobroker/node_modules/iobroker.radar2/fjadapter-core.js:212:3), will stop adapter!

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

                          @aldoa1

                          whoami && who -r && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            aldoa1 @Thomas Braun last edited by aldoa1

                            @Thomas-Braun said in IOBroker - Radar2:

                            whoami && who -r && which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                            iobroker
                            /usr/bin/nodejs
                            v12.18.3
                            /usr/bin/node
                            v12.18.3
                            /usr/bin/npm
                            6.14.6
                            nodejs:
                              Installiert:           12.18.3-1nodesource1
                              Installationskandidat: 12.18.3-1nodesource1
                              Versionstabelle:
                             *** 12.18.3-1nodesource1 100
                                    100 /var/lib/dpkg/status
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @aldoa1 last edited by

                              @aldoa1 Konsolenausgabe auch gerne als Text in </> CodeTags.
                              NodeJS ist aber sauber.

                              1 Reply Last reply Reply Quote 0
                              • A
                                aldoa1 last edited by

                                könnte ich beim docker ein startscript erstellen und einfach

                                node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy

                                als root ausführern?

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

                                  @aldoa1
                                  Ups. Den Synology/Docker habe ich übersehen. Da dann doch mit root agieren, bin aber sonst raus aus dem Nummer. Gut möglich, dass das dort auch mit setcaps nicht funktioniert. Das ganze ist etwas 'komisch'

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active last edited by

                                    iobroker fix funktioniert soviel ich weiss für alle setcap Befehle, ausser arp scan(benötigt root-Rechte), dieser wird damit nicht gesetzt, deshalb setz ich die immer, wie in der Doku beschrieben

                                    1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @aldoa1 last edited by

                                      @aldoa1 sagte in IOBroker - Radar2:

                                      ich kann den Adapter nicht starten. Bleibt rot.
                                      Verwende iobroker mit synology / docker

                                      Adapter not running as root or iobroker has no sudo right, cannot use arp-scan!

                                      Wie hast du eigentlich den Adapter installiert und welche Version ?

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        aldoa1 @Glasfaser last edited by

                                        @Glasfaser

                                        Den 2.0.1 über Git

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

                                          @aldoa1 Warum von git?

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Fabian1 last edited by

                                            Hi Zusammen,
                                            ich habe letztens meinen IOBroker auf eine andere SD Karte gebackuped und es hat auch alles funktioniert, außer der Radar2, obwohl ich keine Fehler bekomme, werden keine Bluetooth Geräte mehr gefunden.

                                            Super komisch, da die Hardware und alles im IOBroker genau so ist wie auf der anderen SD Karte.

                                            Wie gesagt, es gibt keine Fehler und es wird im log auch (11167) Will use l2Ping for BT scans and (11167) found und will use '@abandonware/noble' angezeigt mit dem richtigen HCI0 Gerät. Aber er findet einfach nichts.

                                            Ich hab dann ca. 2 Nächte durch debugged, hab jeden Tipp hier ausprobiert und hab sogar eine neue Bluez Version kompiliert, alles ohne Erfolg.

                                            Dann ist mir etwas aufgefallen und ich hab einfach ein altes Raspian Image: 2019-07-10-raspbian-buster-lite runtergeladen und installiert und das backup von vorher eingespielt und alles lief perfekt.

                                            Dann apt-get update und upgrade und wieder der selbe Fehler, es werden keine bluetooth geräte gefunden, ohne fehler.

                                            irgendwas im neuen Raspberry PI OS August 2020 macht den Radar2 kaputt.

                                            harrym lobomau 2 Replies 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

                                            805
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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