V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
guanaco
V2EX  ›  MacBook Pro

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

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

    哈哈,硬件必然通用的啊。软件怎么改我也不清楚了。39 信道居然没找到,38 后面直接是 40 了...
    goodbest
        4
    goodbest  
       2017-05-13 16:32:18 +08:00
    挺难改的,我试过各种方法都不行。
    guanaco
        5
    guanaco  
    OP
       2017-05-13 18:26:23 +08:00 via iPhone
    @Jimrussell 不好意思,38 打错了
    shanliang
        6
    shanliang  
       2017-05-13 21:54:49 +08:00   ❤️ 1
    终端输入
    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
        7
    shanliang  
       2017-05-13 21:55:39 +08:00
    shanliang
        8
    shanliang  
       2017-05-13 22:00:17 +08:00
    <img src="http://i4.buimg.com/588926/c26a5e4d44827510.jpg" class="embedded_image">德国支持的有。如图。。。
    goodbest
        9
    goodbest  
       2017-05-13 22:36:07 +08:00
    @shanliang 6L 的方法早就试过,现在的系统已经无效啦
    guanaco
        10
    guanaco  
    OP
       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
        11
    shanliang  
       2017-05-13 23:18:21 +08:00
    @guanaco 我好像看到过一篇文章说这和路由器的国家代码也有关,如果侦测到的最近的信号国家代码和系统不一样,就会变成那个路由器的国家代码。。。
    shanliang
        12
    shanliang  
       2017-05-13 23:24:43 +08:00   ❤️ 1
    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
        13
    guanaco  
    OP
       2017-05-14 00:48:08 +08:00 via iPhone
    @shanliang 我留意了国家代码都是 CN。
    ouqihang
        14
    ouqihang  
       2017-05-14 09:29:19 +08:00
    在路由器里面改,电脑一般不用顾忌,都能连,问题是一些分区域销售的可连 5G wifi 的设备,如果改到其他地区而恰好设备的区域不支持,那是直接搜不到,手机同理,不过手机可以根据 SIM 来判断所在区域,自动屏蔽或开放支持的频段。
    eightsheep
        15
    eightsheep  
       2022-10-15 20:25:09 +08:00 via iPhone
    想知道国行 iphone 能修改无线区域吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3242 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.