Geolocation Doesn't Work on LAN (desktop)

Hi folks. The geolocation on my LAN doesn't work.


- restarted modem more than twice

- troubleshooted with router manufacturer's tech support

- saw geolocation come back for a small bit, then it turned off again after a short time


For the life of me I can't seem to get any of this to work. It's my understanding my router is the unit giving me my geolocation, but it isn't working. Tech-support didn't give me anything real. Our session ended when a power outage brought back geolocation.


Anybody know how I can tackle this stuff? It's truly strange.


Cheers

Mac Pro, OS X El Capitan (10.11), Hypercard UG!

Posted on Mar 29, 2018 9:55 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 29, 2018 10:40 AM

Where (which apps) do you need the geolocation?

System Preferences > Security & Privacy > Privacy > Location Services >

that sets the enable/disable setting, as well as a list of apps the are allowed access to it (checkmark), if enabled.


Even if e.g. Safari is allowed to access to Location Services, there are still settings in Safari to limit that to only certain websites (domains). Safari Preferences > Websites > General > Location > {website} Ask/Deny/Allow


Location Services uses detectable Wi-Fi networks to make a better prediction on the location. It works best if your desktop has activated Wi-Fi, even if it is connected with wired ethernet.


Without macOS Location Services, the only other clue is your IP address. Several organizations try to map IPs to coordinates, with varying degrees of success, and web-services can do a look-up there. It could be 2 miles off, or 80 miles off.

Similar questions

18 replies
Question marked as Top-ranking reply

Mar 29, 2018 10:40 AM in response to BioRich

Where (which apps) do you need the geolocation?

System Preferences > Security & Privacy > Privacy > Location Services >

that sets the enable/disable setting, as well as a list of apps the are allowed access to it (checkmark), if enabled.


Even if e.g. Safari is allowed to access to Location Services, there are still settings in Safari to limit that to only certain websites (domains). Safari Preferences > Websites > General > Location > {website} Ask/Deny/Allow


Location Services uses detectable Wi-Fi networks to make a better prediction on the location. It works best if your desktop has activated Wi-Fi, even if it is connected with wired ethernet.


Without macOS Location Services, the only other clue is your IP address. Several organizations try to map IPs to coordinates, with varying degrees of success, and web-services can do a look-up there. It could be 2 miles off, or 80 miles off.

Mar 29, 2018 3:32 PM in response to BioRich

Your ISP address lookup will get you into the right part of the country, based on information from your ISP, but not necessarily stable, consistent, or town-accurate information. My location based on that is usually 20 miles away, sometimes 25 miles in a different direction.


Mac 'Location Services' uses your Wi-Fi Router's "well-known" location to provide your geographical location. That is, the location verified by more than one other device and stored in Apple's database of known locations for Routers.


My story: I have three Routers, but we live in the woods, and do not have iPhones or any other GPS devices. For many months, our location was essentially "unknown".


Then we had a party, and invited our iPhone-carrying friends over for a few hours. Now all of our Routers are know, and their Lat and *** locations are slightly different from each other.

Mar 30, 2018 2:26 PM in response to BioRich

Applications on your Mac can potentially use MANY different methods of determining your location.


As you have observed, some work pretty good, others show you in Ottawa (i have no idea if Ottawa is anywhere near you).


Only one of these is particularly reliable -- "Location Services". If you do not have a reliable Wi-Fi connection to your Router, Location Services is dead to you.


Here is another article about Location Services, which you are NOT using if you only have an Ethernet connection to your Router. (NB> this does not have to be a Good Wi-Fi connection,and it does not have to be the TopMost connection -- the one that carries your traffic bound for the Internet).


http://www.idownloadblog.com/2016/01/30/mac-location-services/

.

Mar 29, 2018 12:20 PM in response to BioRich

Google Chrome has its own Location Services equivalent, so that is why it doesn’t have to ask permission from the OS, why it doesn’t get listed in System Preferences. Not sure how they do it.

Google Chrome has an advanced Preference to allow (Ask) location services. Settings > Advanced > Privacy and security > Content settings > Location > Ask before accessing. Sites that you allow, will be added to the list of allowed sites mentioned there (with an option to remove from that list).

To see it in action, go to google.com/maps. The default view is probably IP based. Click the My Location icon at bottom rightUser uploaded file. You should see the request for access to LS in the upper left corner [Block] or [Allow]. After allowing, the icon will be pulsating for a few seconds, and put the blue marker of your best-guessed location on the map, or show the error that it failed to do so. In my situation, with Wi-Fi off, it was reasonable improvement over the default view, but with Wi-Fi on, it was spot on (a few yards).

Mar 30, 2018 4:38 PM in response to BioRich

Apple does not allow its Location services to be used AT ALL unless you opt IN


System preferences > Security& Privacy > Privacy ...

... and choose "Location Services" off the list in the left pane.

[√] Enable location Services.

Then allow some Applications and/or System Services to use it. Otherwise your it will not tell you anything, it will let you stay in Ottawa.

Mar 29, 2018 1:12 PM in response to BioRich

The whole LAN … 3 Macs.

Something happened outside of the usual culprits.

If you can temporarily hook up a non-Mac computer/notebook to the network, then that could perhaps rule out anything macOS related, if the same applies to that other computer? Then it has to be ISP-related or Access Point (whatever connects your LAN to the internet)-related, wouldn’t it?

Mar 30, 2018 4:09 PM in response to BioRich

I have given you my observations and some background. You are the scientist, and you are interested in learning more. Runs some experiments and share what you find out.


In particular, i would like to know if your MacBook connected with Wi-Fi is actually better than you have said (provided you have opted IN to allowing access to "Location Services" on that computer).


It has always struck me as odd that talking through the same Router to the Internet, whose [Router] location is known, I get no Location Services info over Ethernet, plenty over Wi-Fi.


I would also like to know if you opt In to location services on that no-WiFi computer, whether anything improves at all.

Mar 29, 2018 12:31 PM in response to Urquhart1244

Safari on multiple machines doesn't work as well. I've tried many sites that report back IP, and all of those give something different.


Chrome has always been on "ask". I'm a developer, so I need this type of functionality to test my solutions. Like I said, all of this was working for about a decade, then it stopped. I've looked everywhere, but don't have a way of troubleshooting all this.

Mar 29, 2018 2:53 PM in response to Urquhart1244

I don't have any. I would troubleshoot that way, but I just don't have any way of doing so, outside of getting a neighbour...all that jazz. ISP is fully open (they tout this) and the AP is one I control. I was on with their Chinese D-Link support and they couldn't find anything. So I thought I'd post something here.


Any chance you know the ports used for that stuff? I'm assuming it's port 80 or 443.


It's truly odd. I'll chase up the neighbour. Cheers.

Mar 30, 2018 1:28 PM in response to Grant Bennet-Alder

Currently on Google maps, I am 340 km away from where it's showing "where I am". My ISP's head office is slightly less that distance, in the other direction.


My guess is my router's Wifi well-known location, is pooched somehow, since the LAN has the issue, not just one box. How that is achieved normally, is what I'm guessing I'm asking for, as I need to do this.


I have an iPhone and an iPad, both on the LAN on a daily basis. The iPad doesn't have any other radio (no cell service) but it somehow knows its location. It's an iPad Mini, which has a GPS chip on it.


So just put my iPhone on Airplane Mode, WiFi turned on. Google Maps used, it knows where it is. Pushed the "current location" button, still there. It's on my router.


In Chrome, just asked Google Maps on a fresh tab, where I am. Hit the location button, "Your location could not be determined". Same happened in Safari. Firefox said I'm in Ottawa.

Mar 30, 2018 2:40 PM in response to Grant Bennet-Alder

OK, don't forget all of this worked seamlessly before. One day, boom, no browser on any Mac worked.


Ottawa is a 5 hour drive from me. Half way to NYC. It's not even close. Reliable WiFi connection to my router? My workstation has gigabit Ethernet to the router. So does another Mac. A laptop on perfect WiFi for several years now, to this router. It's the only WiFi router here.


This is not a WiFi issue. Both Wifi and Ethernet all went dead one day. As to what changed that day, I can't remember. Was over a year ago and I don't remember what changed. For me have all three computers drop Location Services, then I would have had to do the same to all three Macs at the same time. One of those is a server which I never spend any time on as a normal user.


It's baffling. And on top of that, a power outage forced all of this to come back, then it went away again. I restarted my modem and router (authentication using router) and it didn't come back. I might try all this using authentication on my workstation only. But that's not really helping since my router is definitely needed and it would be giving the GPS location for the LAN...as I understand it.

Mar 30, 2018 4:26 PM in response to Grant Bennet-Alder

Well, my interest is in getting some work done. I've tried as many things as I can think of, and still nothing. The evidence is confusing with different results, so I thought I'd post here.


Here are some MacBook Air notes just researched:


- Chrome works

- Firefox works

- Safari doesn't work


On my workstation, 1 browser mentioned in my SP::Security & Privacy::Location Services: Safari (doesn't work).


So as to your comment on the router location being known, that's my primary culprit now. It could be that the known locations of other wifi routers around you are giving you a calculated possibility of where the unit is, even though you're not logged onto the service. For all I know, it could actually achieve this without any historical or current login.


All location services are open everywhere. I've never had any reason to turn them off.

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.

Geolocation Doesn't Work on LAN (desktop)

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