How can I scan the local network for connected devices? (Mac OS)
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 Question
00:38 Accepted answer (Score 236)
00:58 Answer 2 (Score 9)
01:14 Answer 3 (Score 7)
01:29 Answer 4 (Score 5)
02:34 Thank you
--
Full question
https://superuser.com/questions/124453/h...
Question links:
[this]: https://superuser.com/questions/79990/sc...
Answer 2 links:
http://nmap.org/download.html
[Angry IP Scanner]: http://angryip.org/
Answer 3 links:
https://nmap.org/
https://nmap.org/zenmap/
https://www.macports.org/
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #mac #networking #printer #networkshares
#avk47
ACCEPTED ANSWER
Score 246
Ping the broadcast address. (You can find it with
ifconfig | grep broadcast
.)And then do an
arp -a
.
ANSWER 2
Score 9
Where x.x.x is the first three numbers in your ip address.
for ip in $(seq 1 254); do ping -c 1 x.x.x.$ip -o ConnectTimeout=5; [ $? -eq 0 ] && echo "x.x.x.$ip UP" || : ; done
ANSWER 3
Score 8
Single Line Answer: http://nmap.org/download.html [Use NMAP] or Angry IP Scanner
ANSWER 4
Score 5
Your printer provides a file share for dropping files into or are you just trying to locate the printer on your network?
Does your new multifunction printer support Bonjour/ZeroConf? (Most new network based printers do) If so you can use a program such as Bonjour Browser to see what is available on your network.
On your router does it appear on the DHCP Clients Table (you may have to consult your manual to see how to see this table) - as this will also give you the IP but will also let you know for certain that your printer is actually connected to your network.
From your Mac itself you can use a program such as Nmap from the command line or use a GUI based app (eg. Zenmap - GUI for Nmap or AngryIPScanner) to scan your network and then see what ports are available.