how to find IP address of server showing up under Shared in window left panel

On my 10.6.8 system at home (LAN), I open a new Finder window and am seeing a new entry under the SHARED category on the left panel of the windows (along with the other machines in the house that have sharing turned on). I have no idea what this one is and would like to get some info on it so I could track it via my router. How do I get its ip address, or anything else the OS knows about it when it decided to show it in the Shared section of the window left panel?

Posted on Nov 29, 2014 5:34 PM

Reply
29 replies

Nov 29, 2014 5:47 PM in response to KiltedTim

I'm looking at the router's embedded web pages, but the name that the Finder lists for this thing is not showing up anywhere else. I need to know what IP it is in order to ping it or find it in the router's logs or DHCP tables. How do I find out what IP Finder has for this? When I right-click on it and choose "get Info", all it says is that "kind: PC server".

Nov 29, 2014 5:54 PM in response to KiltedTim

> If it shows up by name in finder, then you should be able to ping it by name.


nope,


% ping brw008092c476a5

ping: unknown host brw008092c476a5


Before I change my password on every device in the house, I'd like to know what Finder knows: what is this thing's assigned IP? Then I can see if it's one of the hardware ethernet addresses I allow on the network.

Nov 29, 2014 6:05 PM in response to Loner T

> Run arp -a on any of your machines, and eliminate the known MAC addresses of your equipment from this list. You will get a remaining MAC and an IP, both.


I see. But what about the more general case, if there's > 1 unknown - arp doesn't list the name that Finder shows. Is there anyway to match them up exactly, to see what IP Finder knows internally, or make arp show the name Finder is using and showing me in the window?

Nov 29, 2014 6:44 PM in response to Michael Levin

A bit of bash in a Terminal window


for mn in `arp -a | awk '{print $2}' | sed -e 's/)//g' -e 's/(//g'`; do nslookup ${mn}; done


results in


Server: 192.168.1.1

Address: 192.168.1.1#53


1.1.168.192.in-addr.arpa name = ActionTec.home.


Server: 192.168.1.1

Address: 192.168.1.1#53


16.1.168.192.in-addr.arpa name = Bedroom-ATV.home.


Server: 192.168.1.1

Address: 192.168.1.1#53


25.1.168.192.in-addr.arpa name = Macmini-i51.home.


Server: 192.168.1.1

Address: 192.168.1.1#53


26.1.168.192.in-addr.arpa name = Wii.home.

Nov 30, 2014 2:25 AM in response to Loner T

>


this looks just like what I need but I get


%bash

bash-3.2$ for mn in `arp -a | awk '{print $2}' | sed -e 's/)//g' -e 's/(//g'`; do nslookup ${mn}; done


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 0.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 1.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 3.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 4.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 5.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 6.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 7.1.0.10.in-addr.arpa.: NXDOMAIN


and so on, all the way until


Server: 8.8.8.8

Address: 8.8.8.8#53


** server can't find 255.255.254.169.in-addr.arpa.: NXDOMAIN

Dec 1, 2014 4:38 AM in response to Michael Levin

Usually the DNS servers are local on the LAN and allow machines to register their names (on a Mac you can set this in System Preferences -> Sharing -> Computer Name). Your LAN DNS server will accept such names and a nslookup/dig will return such names for IPs or IPs for such names.


Currently you have your LAN DNS server set to

Server: 8.8.8.8

which is


nslookup 8.8.8.8

Server: 192.168.1.1

Address: 192.168.1.1#53


Non-authoritative answer:

8.8.8.8.in-addr.arpa name = google-public-dns-a.google.com.

Google's DNS will not allow machines on your local LAN to register machine names. Of the many reasons, one, is name conflicts between your LAN network and someone else's. Bonjour service discovery is meant for local LANs.


Do you have a router/gateway between you and your ISP?

Dec 1, 2014 4:44 AM in response to Loner T

> Do you have a router/gateway between you and your ISP?


yes, I have a Netgear router. Should I set its ip address (10.0.1.1) as the "DNS" on my Mac's Network preferences panel instead of the Google DNS? Does the router know how to provide DNS info from elsewhere, for those machines not on my LAN (do I need to then set an external DNS server's IP address in the DNS field on the router, perhaps the 8.8.8.8)? thanks!

Dec 6, 2014 2:13 PM in response to Michael Levin

Michael Levin wrote:


so I should set the DNS for all my machines here as the IP of the router (10.0.1.1), and the router's own DNS setting should be 8.8.8.8 ?


Yes. Usually, your ISP provides your WAN DNS and the LAN DNS is pointed to the Gateway for all LAN hosts to the Router/Gateway at the border. If your Netgear LAN IP is 10.0.1.1, then it can forward DNS requests to the designated WAN DNS server (8.8.8.8 - Google DNS).


All my LAN hosts use 192.168.1.1 which is also their default gateway/dns server and my WAN DNS is VZ DNS. I have tried OpenDNS and Google DNS, but have some latency issues.

Dec 6, 2014 2:19 PM in response to Loner T

Ok. Just to make sure: I now re-ran the bash command you gave me earlier, and see this:


bash-3.2$ for mn in `arp -a | awk '{print $2}' | sed -e 's/)//g' -e 's/(//g'`; do nslookup ${mn}; done

Server: 10.0.1.1

Address: 10.0.1.1#53


** server can't find 0.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 10.0.1.1

Address: 10.0.1.1#53


** server can't find 1.1.0.10.in-addr.arpa.: NXDOMAIN


Server: 10.0.1.1

Address: 10.0.1.1#53


** server can't find 3.1.0.10.in-addr.arpa.: NXDOMAIN


and so on, for all the addresses. Is this correct now?

Dec 6, 2014 2:32 PM in response to Michael Levin

As long as Netgear allows DNS registration, this will work. If the machines weer booted before this change was made, they will not automatically re-register with the Netgear. As a test, disconnect one of the machines from the network, and reconnect. Check on the Netgear for DNS registrations. Also, make sure on your Macs, System Preferences -> Sharing -> ComputerName is set correctly with te correct domain.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to find IP address of server showing up under Shared in window left panel

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.