WIFI 的国家/地区代码如何修改?

2017-05-13 12:19:38 +08:00
 guanaco
MAC pro 少时间可以连上 5G WI-FI,但是大部分时间是 2.4G WI-FI,经过检查猜测是系统信息,接口 EN1 里的国家/地区代码的设置问题,请赐教如何修改这个地区码?比如把 CN 改为 US。
16301 次点击
所在节点    MacBook Pro
15 条回复
Jimrussell
2017-05-13 12:59:46 +08:00
各国对 5g 信道的标准不一样的。估计你路由器 5g 信道开了默认的自动,你改成手动指定一个本国标准支持的信道就行了。
guanaco
2017-05-13 14:17:46 +08:00
@Jimrussell 是这样,我发现国行的机器,有时也能找到低端的 39 通道,所以怀疑硬件通用,但是被软件锁死。想打开试试。
Jimrussell
2017-05-13 16:06:06 +08:00
https://my.oschina.net/u/994235/blog/204096

哈哈,硬件必然通用的啊。软件怎么改我也不清楚了。39 信道居然没找到,38 后面直接是 40 了...
goodbest
2017-05-13 16:32:18 +08:00
挺难改的,我试过各种方法都不行。
guanaco
2017-05-13 18:26:23 +08:00
@Jimrussell 不好意思,38 打错了
shanliang
2017-05-13 21:54:49 +08:00
终端输入
sudo perl -pi -e 's|\x81\x78\x30\x6B\x10\x00\x00\x0F\x85|\x81\x78\x30\x6B\x10\x00\x00\x90\xE9|' /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortBrcm4360.kext/Contents/MacOS/AirPortBrcm4360 && sudo touch /System/Library/Extensions/
以上以 brcm4360 网卡为例,需修改为自己的网卡
shanliang
2017-05-13 21:55:39 +08:00
shanliang
2017-05-13 22:00:17 +08:00
<img src="http://i4.buimg.com/588926/c26a5e4d44827510.jpg" class="embedded_image">德国支持的有。如图。。。
goodbest
2017-05-13 22:36:07 +08:00
@shanliang 6L 的方法早就试过,现在的系统已经无效啦
guanaco
2017-05-13 22:44:02 +08:00
@shanliang 有个奇怪的现象,用 system_profiler SPAirPortDataType 这个命令,在连接不同路由器下显示的不一样。有时显示 Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 149, 153, 157, 161, 165,有时会增加 36,38,40,44。不能理解和路由器的有啥关系。按照这个方法是否可行。https://discussions.apple.com/thread/3656144?start=0&tstart=0
shanliang
2017-05-13 23:18:21 +08:00
@guanaco 我好像看到过一篇文章说这和路由器的国家代码也有关,如果侦测到的最近的信号国家代码和系统不一样,就会变成那个路由器的国家代码。。。
shanliang
2017-05-13 23:24:43 +08:00
I had a similar issue close to two months ago. My problem was that my router correctly sent SE as country code, but some of my neighbours routers sent GB as country code and from time to time my Air would not connect since it picked up the beacon from one my of neighbours routers. Sometimes event if connected, I still could not reach the internet. Spent a couple of weeks with Apple support and they suggested that I changed the channel of my router (an Airport Extreme Base Station) from Auto to 6 (in Auto ch 11 was used) and since then no more issues with wrong country code being configured.
找到了就这段
guanaco
2017-05-14 00:48:08 +08:00
@shanliang 我留意了国家代码都是 CN。
ouqihang
2017-05-14 09:29:19 +08:00
在路由器里面改,电脑一般不用顾忌,都能连,问题是一些分区域销售的可连 5G wifi 的设备,如果改到其他地区而恰好设备的区域不支持,那是直接搜不到,手机同理,不过手机可以根据 SIM 来判断所在区域,自动屏蔽或开放支持的频段。
eightsheep
2022-10-15 20:25:09 +08:00
想知道国行 iphone 能修改无线区域吗?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/361060

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX