How to find info on all devices in WIFI network?
How to find info on all devices in WIFI network?
My android tablet has a very nice application called Flingbox. Flingbox will give you a listing of all devices on the network. The information includes both the MAC value and the IP address. Yes, there is a Linux version. But, I figure it should be possible to do it with the IP tools available in Puppy.
I use Fatdog64 version 630. It has busybox version 1.22.0. There is a new command called "ip" that should be able to help. I have tried using with a minimum of results.
Any suggestions on how to get this information. Thank you in advance for any help on this.
I use Fatdog64 version 630. It has busybox version 1.22.0. There is a new command called "ip" that should be able to help. I have tried using with a minimum of results.
Any suggestions on how to get this information. Thank you in advance for any help on this.
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Live Well, Laugh Often, Love Much
Do you want information about the WiFi adapters in your own computer or about the remote access points? Or about all machines connected to your own LAN?How to find info on all devices in WIFI network?
This may be what you are looking for.
Thanks for the information Mikeb and rcrsn51 for the replies. I am looking the MAC and IP address of remote hosts and all other computers attached to the wifi network. I do know that ipconfig along with the system information utility will provide the information on your computer's hardware.
I did try mpscan, it is a port scanner and not quite what I want. I am looking for the command line utilities that could do the listing. I will do so more looking. Thanks again for the help.
I did try mpscan, it is a port scanner and not quite what I want. I am looking for the command line utilities that could do the listing. I will do so more looking. Thanks again for the help.
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Live Well, Laugh Often, Love Much
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
fing
My android tablet has a very nice application called Fing.
Searching the web I have found this:
http://www.overlooksoft.com/download
Downloaded TGZ 64-bit, 32-bit in Fatdog-700b1
and unpacked to /
Launched fing from terminal:
Searching the web I have found this:
http://www.overlooksoft.com/download
Downloaded TGZ 64-bit, 32-bit in Fatdog-700b1
and unpacked to /
Launched fing from terminal:
Code: Select all
# fing
20:42:57 > Discovery profile: Default discovery profile
20:42:57 > Discovery class: data-link (data-link layer)
20:42:57 > Discovery on: 192.168.0.0/24
20:42:57 > Discovery round starting.
20:42:58 > Discovery progress 25%
20:42:57 > Host is up: 192.168.0.21
HW Address: 00:1F:1F:4A:D2:BA (Edimax Technology)
20:42:57 > Host is up: 192.168.0.1
HW Address: 78:8D:F7:CF:5B:82
Hostname: hitronhub.home
20:42:57 > Host is up: 192.168.0.20
HW Address: CC:2D:8C:A6:B0:5D
20:42:58 > Host is up: 192.168.0.254
HW Address: 64:66:B3:42:B0:50
20:42:59 > Discovery progress 50%
20:43:00 > Discovery progress 75%
-------------------------------------------------------------------------------
| State | Host | MAC Address | Last change |
|-----------------------------------------------------------------------------|
| UP | 192.168.0.1 | 78:8D:F7:CF:5B:82 | |
| UP | 192.168.0.20 | CC:2D:8C:A6:B0:5D | |
| UP | 192.168.0.21 | 00:1F:1F:4A:D2:BA | |
| UP | 192.168.0.254 | 64:66:B3:42:B0:50 | |
-------------------------------------------------------------------------------
20:43:02 > Discovery round completed in 4.839 seconds.
20:43:02 > Network 192.168.0.0/24 has 4/4 hosts up.
20:43:02 > Next round starting at 20:43:57. Press Ctrl^C to exit.
- Attachments
-
- Screenshot_2014-10-23-19-57-17.png
- Android app Fing
on 10 inch tablet 1280x800 - (49.3 KiB) Downloaded 753 times
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
@ L18L
Your screenshot makes me want to use Android applications with Puppy.
Regards,
Your screenshot makes me want to use Android applications with Puppy.
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Thanks for the help all. Thanks L18L for the information that fatdog64 700b1 will use the Flingbox package directly. Yes, the screen shot is the same as Android version. There has to be away to get the same information with existing IP tools. I will also try the Flingbox package and see it works.
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Live Well, Laugh Often, Love Much
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
... and I would want to use Puppy (or maybe Fatdog) on an Android tablet.ASRI éducation wrote:@ L18L
Your screenshot makes me want to use Android applications with Puppy.
Regards,
It is taken on my Android tablet.JustGreg wrote: Yes, the screen shot is the same as Android version.
Thanks for confirmation. Hope someone will make the pet.mikeb wrote:Yep confirmed fing working on slax 6 / puppy 4.12.... so should work on pretty much anything...its just big...5MB sfs
IP address, MAc and interface manufacturer
Hi
I have used arp-scan to gather this info on home networks. It runs in Puppy and works very quickly. It may be another option that is worth considering. The web address is:
http://www.nta-monitor.com/tools-resour ... s/arp-scan
I have used arp-scan to gather this info on home networks. It runs in Puppy and works very quickly. It may be another option that is worth considering. The web address is:
http://www.nta-monitor.com/tools-resour ... s/arp-scan
Code: Select all
# nmap -sP 192.168.1.0/24
Nmap scan report for pc2 (192.168.1.1)
Host is up (0.0033s latency).
MAC Address: 20:0C:C8:45:26:71 (Unknown)
Nmap scan report for 192.168.1.100
Host is up (0.0048s latency).
MAC Address: 00:12:FB:F9:15:1F (Samsung Electronics)
Nmap scan report for 192.168.1.101
Host is up (0.0038s latency).
MAC Address: 00:13:21:F7:ED:76 (Hewlett-Packard Company)
Nmap scan report for 192.168.1.102
Host is up.
Nmap scan report for 192.168.1.103
Host is up (0.0030s latency).
MAC Address: 00:13:21:F7:ED:76 (Hewlett-Packard Company)
Nmap scan report for 192.168.1.105
Host is up (0.058s latency).
MAC Address: 00:12:7B:58:DB:BA (VIA Networking Technologies)
Nmap scan report for 192.168.1.106
Host is up (0.052s latency).
MAC Address: 20:02:AF:3B:A3:67 (Unknown)
Nmap scan report for 192.168.1.108
Host is up (0.052s latency).
MAC Address: 40:0E:85:45:A5:DF (Unknown)
Nmap scan report for 192.168.1.109
Host is up (0.057s latency).
MAC Address: 00:12:7B:58:E0:41 (VIA Networking Technologies)
Nmap scan report for 192.168.1.112
Host is up (0.057s latency).
MAC Address: 00:18:FE:94:3E:FD (Hewlett-Packard Company)
Nmap scan report for 192.168.1.115
Host is up (0.0030s latency).
MAC Address: 00:22:64:B9:4A:4F (Hewlett-Packard Company)
Nmap done: 256 IP addresses (11 hosts up) scanned in 3.48 seconds
#
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
This is also cute for finding just IP's:
Code: Select all
#!/bin/bash
is_alive_ping()
{
ping -c 1 $1 > /dev/null
[ $? -eq 0 ] && echo IP: $i is up.
}
for i in 192.168.1.{1..255}
do
is_alive_ping $i & disown
done
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Thank you all for the information. It appears that either arp-scan or nmap would supply the information. Unfortunately, neither are present in fatdog64. arp-scan is available only as source code and nmap is available in rpm format, but, I can not extract it.
I was looking at arp or ip neighbor show to get the address resolution protocol tables. I can get the one on my local hosts but not on the remote hosts. Ideally, if one could get the table for the router at the head of the network then you would have the whole network.
Trapster, the find ip script works, but, the next command prompt is on the same line as the last active IP address when the script ends. It does work and provides the information on the system.
I was looking at arp or ip neighbor show to get the address resolution protocol tables. I can get the one on my local hosts but not on the remote hosts. Ideally, if one could get the table for the router at the head of the network then you would have the whole network.
Trapster, the find ip script works, but, the next command prompt is on the same line as the last active IP address when the script ends. It does work and provides the information on the system.
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Live Well, Laugh Often, Love Much
Getting closer
I am not a coder so you may need help to fine tune this.
Get arp from here
I named this script ip_mac_scanner:
# ip_mac_scanner
? (192.168.1.1) at 20:0c:c8:45:26:71 [ether] on wlan0
? (192.168.1.101) at 00:13:21:f7:ed:76 [ether] on wlan0
? (192.168.1.109) at 00:12:7b:58:e0:41 [ether] on wlan0
? (192.168.1.100) at 00:12:fb:f9:15:1f [ether] on wlan0
? (192.168.1.108) at 40:0e:85:45:a5:df [ether] on wlan0
? (192.168.1.105) at 00:12:7b:58:db:ba [ether] on wlan0
? (192.168.1.103) at 00:13:21:f7:ed:76 [ether] on wlan0
? (192.168.1.115) at 00:22:64:b9:4a:4f [ether] on wlan0
? (192.168.1.112) at 00:18:fe:94:3e:fd [ether] on wlan0
Terminated
#
I am not a coder so you may need help to fine tune this.
Get arp from here
I named this script ip_mac_scanner:
Code: Select all
#!/bin/bash
active_ping()
{
ping -c 1 $1 > /dev/null
[ $? -eq 0 ] && arp -an $i
}
for i in 192.168.1.{1..255}
do
active_ping $i | grep 192 &
done
killall ip_mac_scanner
? (192.168.1.1) at 20:0c:c8:45:26:71 [ether] on wlan0
? (192.168.1.101) at 00:13:21:f7:ed:76 [ether] on wlan0
? (192.168.1.109) at 00:12:7b:58:e0:41 [ether] on wlan0
? (192.168.1.100) at 00:12:fb:f9:15:1f [ether] on wlan0
? (192.168.1.108) at 40:0e:85:45:a5:df [ether] on wlan0
? (192.168.1.105) at 00:12:7b:58:db:ba [ether] on wlan0
? (192.168.1.103) at 00:13:21:f7:ed:76 [ether] on wlan0
? (192.168.1.115) at 00:22:64:b9:4a:4f [ether] on wlan0
? (192.168.1.112) at 00:18:fe:94:3e:fd [ether] on wlan0
Terminated
#
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Thanks trapster, I think you got it. Here is what I get when I run your code with fatdog64 version 630.
If you have busybox version 1.22.0 or newer, then arp is in busybox.
I knew there had to be an easy way to get the information.
I modify your code slightly to this
The wait eliminates the error statement about no process kill.
Code: Select all
# ipmac_scan
? (192.168.1.1) at 4c:60:de:d0:1e:cc [ether] on wlan0
? (192.168.1.8) at 98:ff:d0:a8:3e:bc [ether] on wlan0
? (192.168.1.4) at e4:98:d6:78:58:a2 [ether] on wlan0
? (192.168.1.250) at 20:0c:c8:47:e3:e3 [ether] on wlan0
killall: ip_mac_scanner: no process killed
#
I knew there had to be an easy way to get the information.
I modify your code slightly to this
Code: Select all
#!/bin/bash
active_ping()
{
ping -c 1 $1 > /dev/null
[ $? -eq 0 ] && arp -an $i
}
for i in 192.168.1.{1..255}
do
active_ping $i | grep 192 &
done
wait
#killall ip_mac_scanner
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Live Well, Laugh Often, Love Much
I am late to the game. Sorry. but, I too, am a user of Fing Network Tools on Android.
Thre is one tool in Puppyland which yields similar information to that of Fing; namely AngryIP found here. It is seemingly faster in operation but the output screen present information similar to what is found onscreen from running Fing.
It requires that you have JAVA running on your PUP. Some PUPs come with JAVA running.
Hope this helps
Thre is one tool in Puppyland which yields similar information to that of Fing; namely AngryIP found here. It is seemingly faster in operation but the output screen present information similar to what is found onscreen from running Fing.
It requires that you have JAVA running on your PUP. Some PUPs come with JAVA running.
Hope this helps
Ah thanks for the nmap info...its command options make me go crosseyed but I felt it was the bunny..... at ~350k its a cute solution.
I found ping a bit slow since it needs to timeout on every dead ip which adds up on a large network range so I used mpscan since I was looking for ports anyway.
Only problem I found was nmap getting stuck on windows 7 machine with no NFS but again that only relates to that partiicular scan.
mike
I found ping a bit slow since it needs to timeout on every dead ip which adds up on a large network range so I used mpscan since I was looking for ports anyway.
Only problem I found was nmap getting stuck on windows 7 machine with no NFS but again that only relates to that partiicular scan.
mike
Just compiled arp-scan.... 187kb standalone binary if you don't want the perl functions (probably a no go on puppy anyway)
A bit slow though...assuming timeouts on dead ips again.
Added here for anyone wanting to play with it...32bit compile by the way.
mike
Code: Select all
bash-3.1# /tmp/usr/bin/arp-scan 192.168.1.0/20
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9 with 4096 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.1.1 00:1b:2f:ec:20:4c NETGEAR Inc.
192.168.1.7 00:00:48:5a:24:12 SEIKO EPSON CORPORATION
2 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9: 4096 hosts scanned in 18.031 seconds (227.16 hosts/sec). 2 responded
Added here for anyone wanting to play with it...32bit compile by the way.
mike
- Attachments
-
- arp-scan.tar.gz
- (81.68 KiB) Downloaded 148 times