Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Auslesen IP -Adressen

    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

    Auslesen IP -Adressen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

      @liv-in-sky Habe jetzt ein paar tools ausprobiert.
      Ob da wirklich etwas besser ist weiß ich nicht.

      Im Prinzip müsste man mehrere kombinieren, und dann die Ergebnisse zu einem Array zusammenführen.
      identische hosts könnten durch MAC oder IP zugeordnet werden.

      IP-Scan:
      ![ip-4n.png](/assets/uploads/fi

      ARP-scan:
      ![ARP-Scan.png](/assets/uploads/files/
      hier sind schon von Haus aus Duplikate drin

      Außerdem habe ich es nicht geschafft "unknown" sauber auszulesen ohne die \n Funktion 😞

      Dann noch nMap um die Hostnamen zuzuordnen

      Trotz allem bleiben inige aktive Hosts unauffindbar, was wohl an deren Responseverhalten auf die Anfragen liegt und von den Hosts beabsichtigt ist nicht gefunden zu werden

      Ich denke dass der Radar-Adapter so etwas bereits machen könnte, man das Rad also nicht neu erfinden muss.

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @Homoran last edited by

        @Homoran

        fall 1 :zuviele änderungen für den moment
        fall2 radar: habe mich noch nie damit beschäftigt - ich weiß nicht, was der für einen output zur verfügung stellt - evt. ein json ? hättes du zeit und lust das herauszufinden - ich ärgere mich gerade mit sortierung herum - bzw duch die einführung der aliasnamen wird diese erschwert

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @liv-in-sky last edited by

          @liv-in-sky sagte in Auslesen IP -Adressen:

          hättes du zeit und lust das herauszufinden

          Wat mutt dat mutt 😉

          bis gleich

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Homoran last edited by liv-in-sky

            @Homoran den radar installieren und erstmal verstehen was der macht - der scannt ja irgendwie alles- ich habe das noch nie näher angesehen - und wenn er scannt und was findet, muss er ja irgendwie datenpunkte haben, die uns sagen was er gefunden hat - und würden in diesen datenpunkte alle unsere erfordernisse stehen -. name, ip und ob erreichbar

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @liv-in-sky last edited by

              @liv-in-sky
              Läuft doch schon 😉

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Homoran last edited by

                @Homoran nd kann man damit das netz scannen oder müssen die clients angegeben werden

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @liv-in-sky last edited by

                  @liv-in-sky sagte in Auslesen IP -Adressen:

                  @Homoran nd kann man damit das netz scannen oder müssen die clients angegeben werden

                  Installiert gerade
                  Bekomme aber ein EACCESS

                  Dauert wohl etwas

                  Aber er scannt das Netz - sehe ich in der Konfig und ich hatte den Adapter schon mal in einer ganz frühen Version getestet

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Homoran last edited by

                    @Homoran das mag ich garnicht, wenn bei der installation schon eine fehrlermeldung kommt - muss da was extra installiert werden ?

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

                      @liv-in-sky sagte in Auslesen IP -Adressen:

                      @Homoran das mag ich garnicht, wenn bei der installation schon eine fehrlermeldung kommt - muss da was extra installiert werden ?

                      muss ich nochmal prüfen. kann sein, im Moment nur Bluetooth-Adressen drin
                      ![radar2_DP.png](/assets/uploads/files/15

                      Der Fehler ließ sich tatsächlich mit dem Fixer beheben - und das bei einer flammneuen Installation.
                      Sollte IMHO auch nicht passieren.

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Homoran last edited by

                        @Homoran wahrscheinlich installiert er irgendwelche npm tools, auf die du dann keine rechte mehr hast - ???

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @liv-in-sky last edited by

                          @liv-in-sky

                          Before installing the adapter into ioBroker you need to install on linux arp-scan and libcap2-bin and some drivers which you can do by running below commands.
                          On Debian (Raspi-Stretch, Ubuntu, …) it looks like:

                          sudo apt-get install libcap2-bin arp-scan bluetooth bluez libbluetooth-dev libudev-dev net-tools
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which arp-scan)
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which node)
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which arp)
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which hcitool)
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which hciconfig)
                          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f which l2ping)
                          If you update node or some system tools the above should be executed again!

                          Lesen hilft 😉

                          sigi234 liv-in-sky 2 Replies Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @Homoran last edited by

                            @Homoran

                            Radar2 ist anscheinend nicht für Windows.

                            liv-in-sky Homoran 2 Replies Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Homoran last edited by liv-in-sky

                              @Homoran aja - die tools habene wir alle schon mal gesehen ? ob der adapter auch auf windows läuft ?

                              1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @sigi234 last edited by

                                @sigi234 diese version machen ich auf jeden fall soweit fertig, dass du sie nutzen kannst - auch wenn leider die echos fehlen werden - aber der rest sollte gefunden werden

                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @sigi234 last edited by Homoran

                                  @sigi234 sagte in Auslesen IP -Adressen:

                                  @Homoran

                                  Radar2 ist anscheinend nicht für Windows.

                                  Das suche ich gerade weil ich das auch im Kopf hatte

                                  @liv-in-sky

                                  This adapter tries to find the devices specified on the network or with bluetooth. It also shows the current external IP of the network, can read ink status of HP printers and also Weather warnings from UWZ for several european countries. It also can read daily currency exchange rates from ECB.

                                  It works by:

                                  Using arp-scan and ping to lookup devices on the network with IPv4 und IPv6!
                                  Listening to dhcp messages which announces new devices coming to the network.
                                  It works on multiple interfaces which mean iof your system has Wlan and lan on different networks it can see both lans.
                                  Normal Bluetooth and Bluetooth LE is supported
                                  HP-printer ink-status
                                  European central bank currency exchange for Euero
                                  UWZ Weather warnings for the area where ioBroker is set to
                                  Uses arp-scan and ping on network as only expernal programs, everything else is internal to nodejs.
                                  The adapter works also without root rights but some configuration actions are required before installation

                                  kommt aber nix - muss mich mal weiter reinarbeiten

                                  sigi234 1 Reply Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @Homoran last edited by

                                    @Homoran sagte in Auslesen IP -Adressen:

                                    kommt aber nix - muss mich mal weiter reinarbeiten

                                    Bei Windows steht arp-scan nicht zur Verfügung und es wird nur node-ping verwendet.

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @sigi234 last edited by

                                      @sigi234 also kannst du ihn auf win installieren ?

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @liv-in-sky last edited by

                                        @liv-in-sky sagte in Auslesen IP -Adressen:

                                        @sigi234 also kannst du ihn auf win installieren ?

                                        Ja,
                                        Adapter aber immer Rot.

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @sigi234 last edited by

                                          @sigi234 was steht im log?

                                          sigi234 1 Reply Last reply Reply Quote 0
                                          • sigi234
                                            sigi234 Forum Testing Most Active @Homoran last edited by sigi234

                                            @Homoran sagte in Auslesen IP -Adressen:

                                            @sigi234 was steht im log?

                                            radar2.0	2020-02-08 12:51:51.945	info	(12800) Terminated (NO_ERROR): Without reason
                                            radar2.0	2020-02-08 12:51:51.944	info	(12800) terminating
                                            radar2.0	2020-02-08 12:51:51.939	warn	(12800) Promise problem unhandledRejection of Promise Promise { <rejected> TypeError: A.isLinuxApp(...).then is not a function at Network.updateMacdb.then.then.then (C:\Program Files\iobroker\Test\nod
                                            radar2.0	2020-02-08 12:51:51.937	warn	(12800) Adapter will exit in latest 1 sec with code false!
                                            radar2.0	2020-02-08 12:51:51.936	info	(12800) Connected with '0.0.0.0' for DHCP Scan
                                            radar2.0	2020-02-08 12:51:51.933	info	(12800) Adapter disconnected and stopped with dostop(false) and callback(true)
                                            radar2.0	2020-02-08 12:51:51.933	error	(12800) Error: No compatible USB Bluetooth 4.0 device found! at BluetoothHciSocket.bindUser (C:\Program Files\iobroker\Test\node_modules\iobroker.radar2\node_modules\@abandonware\bluetooth-hci-soc
                                            radar2.0	2020-02-08 12:51:51.932	error	(12800) uncaught exception: No compatible USB Bluetooth 4.0 device found!
                                            radar2.0	2020-02-08 12:51:51.929	info	(12800) radar2 set to scan every 30 seconds and printers every 100 minutes.
                                            radar2.0	2020-02-08 12:51:51.929	info	(12800) arp-scan will use the following interfaces: [ 'Ethernet', 'Npcap Loopback Adapter' ]
                                            radar2.0	2020-02-08 12:51:51.928	warn	(12800) arp-scan cmd line not configured in config! Will use '-lgq --retry=4 --timeout=400'
                                            radar2.0	2020-02-08 12:51:51.928	info	(12800) use known IP list: []
                                            radar2.0	2020-02-08 12:51:51.928	info	(12800) use known BT list: []
                                            radar2.0	2020-02-08 12:51:51.927	info	(12800) radar2 set to flag items away if they are not seen for 2 minutes
                                            radar2.0	2020-02-08 12:51:51.912	info	(12800) found and will use '@abandonware/noble'
                                            radar2.0	2020-02-08 12:51:51.724	info	(12800) found and will use 'node-bluetooth scan'
                                            radar2.0	2020-02-08 12:51:51.692	info	(12800) radar2 initialization started...
                                            radar2.0	2020-02-08 12:51:51.624	info	(12800) starting. Version 1.2.0 in C:/Program Files/iobroker/Test/node_modules/iobroker.radar2, node: v10.16.3
                                            
                                            Homoran liv-in-sky 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            412
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            vis
                                            17
                                            541
                                            79219
                                            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