Community discussions

MikroTik App
 
dawe4444
just joined
Topic Author
Posts: 17
Joined: Sat Sep 14, 2019 1:37 pm

Routers Current Location

Mon Jul 13, 2020 5:02 pm

Dear Mikrotikers,

I'm using the RBD52G-5HacD2HnD with Router OS 6.47.1.
MacOS is getting the current location from the router so it automatically sets the correct timezone for example.

I'm wondering what and how to set this up so Mikrotik broadcasts this information and OSX can understand it.

Thanks !
 
dawe4444
just joined
Topic Author
Posts: 17
Joined: Sat Sep 14, 2019 1:37 pm

Re: Routers Current Location

Tue Jul 14, 2020 9:12 am

any help ? Would be much appreciated!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13288
Joined: Thu Mar 03, 2016 10:23 pm

Re: Routers Current Location

Tue Jul 14, 2020 9:19 am

My guess (might be true for Mikrotik or not): physical wireless interfaces have setting conuntry ... it directly affects the Tx power and channel selection, but information might get added into wifi beacon as well. For all those reasons it's advisable to set it to correct setting (unless one has really good reasons not to, but that's beyond current scope of discussion).
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11362
Joined: Mon Dec 04, 2017 9:19 pm

Re: Routers Current Location  [SOLVED]

Tue Jul 14, 2020 10:47 am

Another possibility related to router configuration would be to set DHCP option 101, but that's all just guessing... I would suspect that MacOS simply uses a geoIP database to determine the location. So I'd start from double-checking that the time zone setting is on auto, and that privacy settings permit location detection, and seeing what happens. From implementation point of view, use of geo IP database is the most efficient approach. Wireless country info (if it is indeed broadcast) is useless for wired connection, DHCP option 101 has been standardized just 13 years ago...
 
dawe4444
just joined
Topic Author
Posts: 17
Joined: Sat Sep 14, 2019 1:37 pm

Re: Routers Current Location

Tue Jul 14, 2020 10:50 am

Yes, I was reading about this as well. The problem is that I used this router in a different part of the world and now I moved. So the Location on the Apple's DB is not up to date. Firstly I thought that this information is being pushed via DHCP. But I was wrong.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11362
Joined: Mon Dec 04, 2017 9:19 pm

Re: Routers Current Location

Tue Jul 14, 2020 12:20 pm

Well... the Apple's geoIP DB can get nothing but the public IP address of the router (and maybe its LAN side MAC address, but I cannot see any point in collecting that piece of information), and if you move the router to another country, its public IP address changes, and the database likely uses address ranges rather than individual IPs. So unless you use a VPN to connect to georestricted services from abroad, moving the router to another country should not prevent the location autodetection from working.