aceberg / WatchYourLAN

Lightweight network IP scanner. Can be used to notify about new hosts and monitor host online/offline history
https://hub.docker.com/r/aceberg/watchyourlan
MIT License
3.61k stars 107 forks source link

Devices missing in scan #98

Open thesebastianf opened 2 weeks ago

thesebastianf commented 2 weeks ago

Hey I tried v1 and v2 of WYL. On both it doesnt find some devices on my lan. Those are devices by LAN cable, 24/7 online and I can ping them. Any hints why or what I could do to get any device discovered?

screenshot is sorted by IP .. e.g. all devices 192.168.1.1- x.x.x.5 are missing. I ping 2 of those in the cmd shell image

fraintt commented 2 weeks ago

I have the same problem, that I cannot ping and the scan cannot find some of my devices.. I can ping the device from the container console

mochaslave commented 1 week ago

The scan mechanism is based on arp-scan. As you can see, the binary file has been copied into the docker image and executed by this tool. Since the arp-scan has not been released version for a long time, I built the latest master branch on my Raspberry Pi 5 to compare the 1.10.0 results.

Here are my experimental results: Setup Platform arp-scan Version Result
Brew install arp-scan Mac M1 1.10.0 No missing
WatchYourLAN Pi 5 1.10.0 Missing some hosts
Execute arp-scan in WatchYourLAN container Pi 5 1.10.0 Missing some hosts
Build binary on Pi 5 Pi 5 1.10.1-git Missing some hosts

Hard to say what's factor cause this issue, but it should be the arp-scan problem.