Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some devices are not detected #97

Open
SuperITMan opened this issue Sep 21, 2021 · 4 comments
Open

some devices are not detected #97

SuperITMan opened this issue Sep 21, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@SuperITMan
Copy link

Hey,

First of all, thanks for your application which is a nice OSS alternative to Fing!

Unfortunately, comparing the results of both applications, I remarked that some of my devices are missing when using Ning, comparing to Fing.

Ning

drawing

Fing

drawing

Missing devices

  • 192.168.2.177 -> MacBook Pro
  • 192.168.2.210 -> HP Laptop Elite

Would you have any idea on how to solve this? 😊

If I can provide more details, please do not hesitate.

@SuperITMan SuperITMan changed the title some devices not detected some devices are not detected Sep 21, 2021
@csicar
Copy link
Owner

csicar commented Sep 21, 2021

First of all, thanks for your application which is a nice OSS alternative to Fing!

Thank you :)

Would you have any idea on how to solve this? blush

Ning uses (among other, faster techniques) a normal ICMP ping to find out what devices are online.

I could see two reasons for issues with the devices:

  1. The network is slow and pings need longer than the set timeout of 1s (https://github.com/csicar/Ning/blob/master/app/src/main/java/de/csicar/ning/scanner/PingScanner.kt#L26)
  2. The devices to not respond to ping requests.

If you don't mind, could you try to ping the missing devices manually?
For example, you could run ping 192.168.2.177 using the termux app.

@SuperITMan
Copy link
Author

Hey @csicar

Sorry for the delay.

Indeed, I tried to ping my MacBook with the command ping 192.168.2.177 and I got 100% packet loss.
Then I tried from a Windows computer to ping the MacBook and same result...

It seems that some devices are not "pingable".

I guess that FIng uses other techniques to detect devices.

@csicar
Copy link
Owner

csicar commented Oct 28, 2021

Does your MacBook have an open port? In that case #100 might solve this as well.

Also: Ning now a custom mDNS / bonjour scanner to find devices independent of ping requests. This might be hard to test for you, but do you know if you MacBook responds to mDNS requests?

@csicar csicar added the bug Something isn't working label Oct 28, 2021
@Flexmaen
Copy link

Flexmaen commented Feb 5, 2023

ning_test_1b
ning_test_2b

I can confirm the same issue.

Also I have a comparison with Fing here:
In the example here we see that a HP Pavillion Laptop is missing in the list in Ning.
Also the IP Adress 192...1 is revealed as Fritzbox 7590 in Fing while it is shown but not detected in Ning.
For the cellphones in the Network Ning shows the vendor while Fing shows the exact device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants