GL.iNet MT3000 路由器修改区域

We regret to make the following annoucement. Due to current legal and policy restrictions in mainland China, we are unable to provide VPN and AdGuard Home features in our CN version products sold in mainland China.

参考https://github.com/Zayrick/GL-iNet-GeoChanger中命令,试图修改MT3000的区域。

如果是OpenWrt 21,直接参照执行即可,如果是OpenWrt 24,dd if=/dev/mtdblock3 bs=1 count=2 skip=136 2>/dev/null | hexdump -C 不会返回地区代码,因为24和21的分区不同。

root@GL-MT3000:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "BL2"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00200000 00020000 "Factory"
mtd3: 00200000 00020000 "FIP"
mtd4: 00040000 00020000 "log"
mtd5: 0f640000 00020000 "ubi"

OpenWrt 24的Factory分区是mtd2,需要执行dd if=/dev/mtdblock2 bs=1 count=2 skip=136 2>/dev/null | hexdump -C 查看地区代码。

root@GL-MT3000:~# echo -n "US" | dd of=/dev/mtdblock2 bs=1 seek=136 conv=notrunc
dd: error writing '/dev/mtdblock2': Operation not permitted
1+0 records in
0+0 records out

在OpenWrt 24写mtdblock2会报错,需要刷机回退OpenWrt 21修改地区,修改后再升级到OpenWrt 24。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注