Closed cernst1980 closed 5 years ago
I am not a network specialist but it seems to be same problem as some people before. The network you are using is not the first in ifconfig. You can try to change network settings so that the network on which your devices are is the first or you change the calls (as somebody stated earlier) for arp-scan to include the all network option (test it on command line first). I am currently still OOH and cannot test/check anything.
Unfortunately, I cannot change the order in ifconfig, because lagg0 is a different type of interface than igb0.
As a workaround, I have already changed the arp-scan options. https://github.com/cernst1980/ioBroker.radar/commit/a5a319798d4a3c83fb2acf2e22b5d5a5d03533b5
But better solution would be interface selection similar to admin adapter. https://github.com/ioBroker/ioBroker.admin/blob/e136f5892b5ea85193ae2c858fd484c3ded0f33e/src/js/adapter-settings.js#L979 ff.
Just put v1.2 on git where you should be able to configure parameters for arp-scan!
In the log, I see
MAC addresses 'xx:xx:xx:xx:xx:xx' will not be scanned because no arp-scan is available!
although arp-scan is installed and in path.When I execute "arp-scan -lgq --retry=7", I get the following error.
This is, because I use lagg on FreeBSD. https://www.freebsd.org/doc/handbook/network-aggregation.html
So interface lagg0 needs to be used by arp-scan.
When executing "arp-scan -lgq --retry=7 -I lagg0", it is working.
So the interface needs to be configurable or auto detected.