How to list all devices on the Windows or Linux home network

How does my Android phone figure out what's on my network without logging into the home router?

I can see 8 devices on the network when I log into the admin account of the router using a web browser on a laptop.

However, I can see all those devices from my Android phone WITHOUT logging into the router, simply by using "Fing" Android freeware:

formatting link

My question?

How does the phone see both wired & wireless devices (such as a wired printer & a wired Ooma) without logging into the router?

More importantly, how can I get Windows & Linux to see the same 8 or 9 devices on my network that the phone sees *without* logging into the router's admin account?

Reply to
Anda Lucite
Loading thread data ...

It seems that there are versions of the Fing app available for desktop operating systems too . The 'Fing for Linux' option lists

RPM 64 Bit or 32 Bit DEB 64 Bit or 32 Bit TGZ 64 Bit or 32 Bit

there may already be a 'build' of the tarball for your distro (possibly in the 'testing' or 'user-contributed' or other 'unofficial' repositories).

Reply to
Whiskers

The web page was nicely set up in that it provided the URL: $ wget "

formatting link
"

$ ls -l

-rw------- 1 anda anda 6813808 Feb 21 12:58 download?plat=lx64&ext=deb

$ file down* download?plat=lx64&ext=deb: Debian binary package (format 2.0)

$ md5sum dow*

438145234207ffd08bb42a808d798eea download?plat=lx64&ext=deb

$ sudo dpkg -i download?plat=lx64 dpkg: error processing archive download?plat=lx64 (--install): cannot access archive: No such file or directory Errors were encountered while processing: download?plat=lx64

$ mv "download?plat=lx64&ext=deb" fing_lx64.deb $ sudo dpkg -i ./fing_lx64.deb Selecting previously unselected package fing. (Reading database ... 363292 files and directories currently installed.) Preparing to unpack ./fing_lx64.deb ... Unpacking fing (3.0) ... Setting up fing (3.0) ...

$ which fing /usr/bin/fing

$ file $(which fing) /usr/bin/fing: POSIX shell script, ASCII text executable

$ cat $(which fing) #!/bin/sh # # Copyright 2015 by Overlook

export LD_LIBRARY_PATH="/usr/local/lib/fing" export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH

ulimit -n 1024 ulimit -c unlimited

/usr/local/lib/fing/fing.bin $@

$ fing Fing init error while creating folder: boost::filesystem::create_directory: Permission denied: "/var/log/fing" Fing init error while creating folders and conf: boost::filesystem::create_directory: Permission denied: "/etc/fing" [overlook.util.logging.FileHandler] unable to open output file Error: no network interface detected please make sure you have administrative rights.

$ sudo fing

13:08:37 > Discovery profile: Default discovery profile 13:08:37 > Discovery class: data-link (data-link layer) 13:08:37 > Discovery on: 192.168.1.0/24

13:08:37 > Discovery round starting.

13:08:37 > Discovery error: unable to select a valid network interface to use

------ control c -------

$ man fing No manual entry for fing See 'man 7 undocumented' for help when manual pages are not available.

$ fing --help

=== overlook fing 3.0 -

formatting link
===

Command line options: -h [ --help ] show this help message -v [ --version ] show fing version -i [ --info ] show network informations -n [ --netdiscover ] arg run network discovery -s [ --servicescan ] arg run service scan on host/network -o [ --output ] arg use output setup for discovery/scan/ping -P [ --profile ] arg use specific discovery/scan/ping profile -d [ --rdns ] arg enable/disable reverse DNS lookups -r [ --rounds ] arg number of rounds (network discovery) --session arg use specific discovery session file --silent force to silent mode --interactive start the interactive mode -p [ --ping ] arg run icmp ping on the hosts --sentinel run Fingbox Sentinel -w [ --wol ] arg send wake on lan on targets

Error: no network interface detected please make sure you have administrative rights.

$ sudo fing -n Error: required parameter is missing in 'netdiscover' INFO 2016/02/21 13:14:07 fing graceful exit.

$ sudo fing -I wlan0 Error: unknown option -I INFO 2016/02/21 13:13:37 fing graceful exit.

$ sudo fing -s Error: required parameter is missing in 'servicescan' INFO 2016/02/21 13:15:05 fing graceful exit.

$ sudo fing -s localhost

13:15:51 > Service scan on: localhost (127.0.0.1)

13:15:51 > Service scan starting.

13:15:51 > Detected service: 53 (domain) 13:15:51 > Detected service: 22 (ssh) 13:15:51 > Detected service: 21 (ftp) 13:15:52 > Detected service: 119 (nntp) 13:15:52 > Detected service: 139 (netbios-ssn) 13:15:52 > Detected service: 445 (microsoft-ds) 13:15:52 > Detected service: 631 (ipp) 13:15:52 > Detected service: 953 (rndc) 13:15:52 > Detected service: 8118 (privoxy) 13:15:52 > Service scan completed in 0.049 seconds.

------------------------------------------------------------------------------- | Scan result for localhost (127.0.0.1) | |-----------------------------------------------------------------------------| | Port | Service | Description | |-----------------------------------------------------------------------------| | 21 | ftp | File Transfer Protocol | | 22 | ssh | SSH Secure Shell | | 53 | domain | Domain Name Server | | 119 | nntp | Network News Transfer Protocol | | 139 | netbios-ssn | NETBIOS Session Service | | 445 | microsoft-ds | SMB directly over IP | | 631 | ipp | Internet Printing Protocol -- for one implementat | | 953 | rndc | RNDC is used by BIND 9 (& probably other NS) | | 8118 | privoxy | Privoxy,

formatting link
|

-------------------------------------------------------------------------------

$ sudo fing -n localhost Error: in provided network: invalid argument Please provide network in format: address/len. E.g.: 192.168.0.1/24 which is a common class C LAN range. E.g.:

formatting link
which is an internet class C LAN range.

$ sudo fing -n 192.168.1.1/24

13:17:29 > Discovery profile: Default discovery profile 13:17:29 > Discovery class: data-link (data-link layer) 13:17:29 > Discovery on: 192.168.1.0/24

13:17:29 > Discovery round starting.

13:17:29 > Discovery error: unable to select a valid network interface to use

--------control c---------

Well, I'm getting nowhere so, I'll ask how to use it and google some too.

How do I use fing on a typical linux computer on a home network?

Reply to
Anda Lucite

Many many errors that could have been avoided but he finally learned.

So the key file is in /usr/local/lib/fing/fing.bin

What does route -n tell you? Does network 192.168.1.0/24 exist? What does ifconfig -a say?

It cannot find your network. That could mean many things. It could be incompetently written. It could be you have no network.

Note it worked for me-- wired network

It would be a lot better if it actually had source code. One could figure out what it was doing.

Reply to
William Unruh

It works now that I have the syntax figured out!

formatting link

Windows & Linux FINALLY matches what Android & iOS reported all along for *all* devices attached to the network! Thanks to Whiskers for suggesting Fing on Linux/Windows for listing out all the connected network devices.

formatting link

Not a single other Linux or Windows command worked to date other than Fing. For example, neither arp-scan nor nmap worked to list *all* the devices on the network that fing on unrooted Android and iOS reported. $ nmap --script broadcast-dhcp-discover -p67 192.168.1.0/24 $ sudo arp-scan --interface=wlan0 --localnet

Yet fing worked perfectly once installed on the desktop computer!

$ sudo fing -n 192.168.1.0/24 -r 1

15:30:03 > Discovery profile: Default discovery profile 15:30:03 > Discovery class: data-link (data-link layer) 15:30:03 > Discovery on: 192.168.1.0/24 15:30:03 > Discovery round starting. 15:30:03 > Host is up: 192.168.1.11 HW Address: 00:80:05:AA:43:55 (CACTUS COMPUTER) Hostname: anda 15:30:03 > Host is up: 192.168.1.1 HW Address: 84:1B:5E:CC:A3:FF (Netgear) Hostname: router 15:30:04 > Discovery progress 25% 15:30:05 > Discovery progress 50% 15:30:06 > Discovery progress 75% 15:30:03 > Host is up: 192.168.1.3 HW Address: 00:18:61:00:A4:CE (Ooma) 15:30:03 > Host is up: 192.168.1.9 HW Address: F8:D0:AC:DD:5A:FF (Sony) 15:30:03 > Host is up: 192.168.1.10 HW Address: 00:14:22:FF:56:31 (Dell) 15:30:03 > Host is up: 192.168.1.5 HW Address: 40:B0:FA:88:33:A1 15:30:03 > Host is up: 192.168.1.8 HW Address: 40:B0:FA:88:33:A1 15:30:03 > Host is up: 192.168.1.2 HW Address: 5C:0A:5B:C4:22:51 (Samsung) 15:30:03 > Host is up: 192.168.1.4 HW Address: 00:1F:3B:AA:D0:4A (Intel) 15:30:04 > Host is up: 192.168.1.116 HW Address: 00:10:83:00:8A:FF (HP) 15:30:04 > Host is up: 192.168.1.200 HW Address: 00:16:B6:53:66:91 (Cisco-Linksys)

--------------------------------------------------------------- | State | Host | MAC Address | Last change | |-------------------------------------------------------------| | UP | 192.168.1.1 | 84:1B:5E:CC:A3:FF | | | UP | 192.168.1.2 | 5C:0A:5B:C4:22:51 | | | UP | 192.168.1.3 | 00:18:61:00:A4:CE | | | UP | 192.168.1.4 | 00:1F:3B:AA:D0:4A | | | UP | 192.168.1.5 | 40:B0:FA:88:33:A1 | | | UP | 192.168.1.8 | 40:B0:FA:88:33:A1 | | | UP | 192.168.1.9 | F8:D0:AC:DD:5A:FF | | | UP | 192.168.1.10 | 00:14:22:FF:56:31 | | | UP | 192.168.1.11 | 00:80:05:AA:43:55 | | | UP | 192.168.1.116 | 00:10:83:00:8A:FF | | | UP | 192.168.1.200 | 00:16:B6:53:66:91 | |

---------------------------------------------------------------

15:30:49 > Discovery round completed in 45.527 seconds. 15:30:49 > Network 192.168.1.0/24 has 11/11 hosts up. 15:30:17 > Host is up: 192.168.1.6 HW Address: 8C:29:37:AA:21:22

Notice that Android phone (192.168.1.5 & 192.168.1.8) has two IP addresses!

Here is the fing result on the phone at the same time!

formatting link

Finally computer results match unrooted iOS & Android results!

Reply to
Anda Lucite

Please ignore this thread.

That final report was meant for a different set of newsgroups.

Reply to
Anda Lucite

Since we are talking about fing, is it possible to have fing return a chart like the above but including the vendor (if known) and the Client ID? I've been having to do it manually and it's a pain.

Reply to
Lewis

Your name of interest to me as I consult part time for Lucite International. I see you are making products from their monomers and polymer. Nice looking products.

Reply to
Frank

How about trying Belarc Advisor??

Reply to
clare

HomeOwnersHub website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.