-
Notifications
You must be signed in to change notification settings - Fork 242
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
Does not work with uncommon netmasks #17
Comments
Hello, The app is trying to get the net mast in here:
If everything fails, it uses /24. I guess those commands are not working in current versions of Android |
Hello and thanks! I took a look and forked the repo now. Once I get home later I'll fix it and create a pull request. I am running stock Android 6.0.1 and the binary is still there, just at a different location. I will of course make a fix with backwards compatibility. I will then also take a look and test it on vanilla Android N (AOSP 7) in a virtual machine once home. There is of course a possibility that it's just my manufacturer that put things in different places, we'll see. |
Well, the version in github is ahead of the version on the play store. I Regards Le 10/18/2016 à 04:03 PM, Nat a écrit :
|
I am in a /16 network, but inside the app it defaults to /24, meaning it won't scan the entire network.
I went into my WiFi settings inside Android and manually set a static address with a 16 bit netmask to be absolutely sure Android knows it's a 16 bit netmask. After the change, the address displayed inside the app updated, but the netmask remained /24 which leads me to believe it's an issue with the app.
Unless of course, Android returns a wrong netmask.
Edit:
I am aware that 2^16 would mean it scans for 65,536 potential devices, which might be a little bit too much.
Maybe add an additional option to scan for an address range instead of the entire network?
But of course that should be fully optional, and default to scanning the entire network, as typing in a range each time could get annoying quite quickly! 😄
Also, someone that wants to actually scan a network might not know how many devices there are, or where they are, and would likely want to scan it all. So maybe add a warning that such a scan might take some time?
The text was updated successfully, but these errors were encountered: