Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4476

Raspberry Pi OS • MirrorDirector thinks I'm in Russia, redirects me to a Belarusian mirror who blocks Russian IPs🤦‍♂️

$
0
0
Hi,

I'm faced the most frustrating issue I have ever had with a Raspberry Pi. I am working for a school who has its own Autonomous System in France (https://bgpview.io/asn/211850). Since few days, I am unable to do a basic apt upgrade command while using the default mirrors in Raspberry Pi OS (http://raspbian.raspberrypi.com/raspbian/). After investigating, I've discovered that apt is trying to use mirror.datacenter.by to download packages which is located in Bielorussia. It's a bit weird, because I'm in France and I am pretty sure that there are much closer mirrors. My IP address (185.235.207.212) is banned from this mirror, I'm unable to even access datacenter.by website from my laptop.

After further investigations, I've discovered that on the page http://mirrordirector.raspbian.org/snap ... mirrorlist, my IP address is located in Russia, which is obviously wrong and doesn't match any other IP geolocation databases.

Image

Yes I could just manually change the mirror in sources.list file except that I am managing a fleet of 2000+ Raspberry Pi based robots (https://esieabot.esiea.fr) handled by students and I am looking for a simpler solutions than telling all my students to manually change their sources.list file...

Any idea is welcome! (I have already contacted the mirror admin to unban my IP but I don't know how to correct the geolocation of my IP in MirrorDirector itself?)

Statistics: Posted by Gauthier99 — Tue Feb 25, 2025 10:04 am — Replies 0 — Views 17



Viewing all articles
Browse latest Browse all 4476

Trending Articles