Open barudo opened 7 years ago
Another miss:
+-----------------------------------------------------------------------------------------+
| Address | Host response | Could be a Pi | Time |
+-----------------------------------------------------------------------------------------+
| 192.168.0.101 | SSH-2.0-OpenSSH_7.6 | | 7s |
| 192.168.0.45 | SSH-2.0-OpenSSH_7.4p1 Raspbian-10de | | 20s |
+-----------------------------------------------------------------------------------------+
Tho Q Luong, http://github.com/thoqbk/pi-oi
(the second one is a Pi 1 Model B)
@savefromgoogle I have rebuilt pi-oi.jar. Could you help to check again?
It is working as intended now:
+-----------------------------------------------------------------------------------------+
| Address | Host response | Could be a Pi | Time |
+-----------------------------------------------------------------------------------------+
| 192.168.0.164 | SSH-2.0-OpenSSH_7.4p1 Raspbian-10de | YES | 8s |
| 192.168.0.80 | SSH-2.0-OpenSSH_7.4p1 Debian-10deb9 | YES | 9s |
| 192.168.0.32 | SSH-2.0-OpenSSH_6.8p1-hpn14v6 | | 16s |
| 192.168.0.45 | SSH-2.0-dropbear_2017.757Bcurve2551 | | 21s |
+-----------------------------------------------------------------------------------------+
Tho Q Luong, http://github.com/thoqbk/pi-oi
All but the third one are Raspberry Pis. The last one uses a GeexBox Kodi ARM image. As far as I understand, you basically look if there's "Debian" or "Raspbian" in the host response somewhere, so it doesn't detect the last one as possible candidate. Maybe a better/additional way would be to check if the associated MAC address starts with B8:27:EB, that would have detected the last one as possible candidate, too.
That's such a good approach, I will update this tool when I have time. Thank you so much.
If PI determination is based on response, Jessie responded with: SSH-2.0-OpenSSH_6.7p1 Raspbian-5deb