You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After noticing that my IP is listed as "US", I wondered if there might be an issue with the provider that maps IP addresses to locations. I checked the code and found out that you retrieve the country using the /usr/sbin/system_profiler SPAirPortDataType command. I did some research and asked ChatGPT, and although I couldn't find any documentation to support this, I believe the country in the response does not correspond to the IP address; instead, it relates to the broadcast country code of the Wi-Fi.
Here is an example discussion related to this parameter: https://community.tp-link.com/en/home/forum/topic/174670.
Since there is no better solution than the native one, it looks like nothing could be changed. Ping me if someone has a better solution than the existing one.
Describe the bug
After noticing that my IP is listed as "US", I wondered if there might be an issue with the provider that maps IP addresses to locations. I checked the code and found out that you retrieve the country using the
/usr/sbin/system_profiler SPAirPortDataType
command. I did some research and asked ChatGPT, and although I couldn't find any documentation to support this, I believe the country in the response does not correspond to the IP address; instead, it relates to the broadcast country code of the Wi-Fi.Here is an example discussion related to this parameter: https://community.tp-link.com/en/home/forum/topic/174670.
Details:
Also related to #2183
The text was updated successfully, but these errors were encountered: