You are not logged in.
I've created a small server and client script to automatically set the proper timezone for a given public IP address. I thought it might be useful for others too.
The (Node.js) server can be hosted on it's own or behind a reverse proxy like NGINX. My own server is publicly available and located at: prjct.net/tzbounce.
The repository script client.sh, when placed in `/etc/NetworkManager/dispatcher.d/`, will request a new GeoIP determined timezone upon connecting to a network.
The script is pretty basic right now (client side caching, etc, aren't yet implemented) but works well for me.
Offline
dhcpcd has been doing this for ..... well a long while. But properly, based on DHCP, not some IP range. After all, which timezone is 192.168.x.x in? Also, while you may get LAN connectivity in some places, there is no guarantee of full internet access.
https://tools.ietf.org/html/rfc4833
http://roy.marples.name/projects/dhcpcd … 06f1730fef
Offline