Navigation

    全志在线开发者论坛

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

    wifi_connect_ap_test、wifi_scan_results_test 运行错误

    其它全志芯片讨论区
    3
    8
    2312
    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.
    • H
      Hongyao LV 3 last edited by

      错误如图所示
      cfc0af35-571a-45d2-b0e4-11a2706836d2-7a1a08d851744b55697ac656db32c02.png
      帮忙看看什么问题?

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        看看rootfs是不是只读的:

        touch /test

        H 1 Reply Last reply Reply Quote Share 0
        • xiaowenge
          DOT小文哥 LV 8 last edited by xiaowenge

          wpa_supplicant服务好像都没起来,wifi驱动好像也没加载
          root@cowboy?什么板子?看着是代理商给你的板子和固件没对上

          H 1 Reply Last reply Reply Quote Share 0
          • H
            Hongyao LV 3 @whycan last edited by

            @whycan 应该是只读了,touch: /test: Read-only file system
            有解决办法吗?

            whycan 1 Reply Last reply Reply Quote Share 0
            • H
              Hongyao LV 3 @xiaowenge last edited by

              @xiaowenge R818+XR829,但从图形界面上看,WiFi是工作正常的。

              whycan 1 Reply Last reply Reply Quote Share 0
              • whycan
                whycan晕哥 LV 9 @Hongyao last edited by whycan

                @hongyao
                原因是wpa_supplicant 连接wifi的时候需要读写几个文件,如果是只读文件系统,就会失败。

                先试一试这个 squashfs + overlayfs(ext4):

                在D1的tina上整上overlayfs
                https://bbs.aw-ol.com/topic/1000/share/12

                1 Reply Last reply Reply Quote Share 0
                • whycan
                  whycan晕哥 LV 9 @Hongyao last edited by

                  @hongyao
                  或者试一试这个(ext4 rootfs):

                  按照教程编译D1的Tina Linux系统,为什么是只读系统,无法新建文件
                  https://bbs.aw-ol.com/topic/1005/share/7

                  H 1 Reply Last reply Reply Quote Share 0
                  • H
                    Hongyao LV 3 @whycan last edited by

                    @whycan rootfs只读的问题解决了,但还是有问题。R818+XR829,是还有地方没配置对吗?这要怎么排查?
                    root@cowboy:/# wifi_scan_results_test
                    Unable to open connection to supplicant on "/etc/wifi/sockets/wlan0": Connection refused
                    connect wpa_supplicant failed,please check wifi driver!
                    wifi on failed

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

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

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