Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【网络Tips8】Tina网络如何设置国家码?

    MR Series
    1
    1
    907
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RCfly
      三颗芋圆 LV 4 last edited by

      大家好,我是三颗芋圆,始于LWIP,陷于TCP/IP,忠于80211。
      本次Tips聊聊Tina系统网络如何设置国家码?
      设置国家码比较简单,借用wpa_cli工具就可以做到。
      设置国家码:

      root@TinaLinux:/# wpa_cli -i wlan0 -p /etc/wifi/sockets set country US
      OK
      

      查看国家码:

      root@TinaLinux:/# wpa_cli -i wlan0 -p /etc/wifi/sockets get country
      US
      

      PS:国家码的设置和查看,虽然可以通过wpa_cli工具来发命令,但本质上需要Wi-Fi驱动的支持额。

      1 Reply Last reply Reply Quote Share 1
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策