Navigation

    全志在线开发者论坛

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

    T113-S3(MQ-Dual) RTL8189模块上电自动连接wifi,无法获取ip

    MR Series
    2
    3
    1715
    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.
    • J
      jr_online LV 7 last edited by

      在通过RTL8189模块成功连接wifi,也能正常使用。
      但在断电重启后,会自动连接上次保存的wifi,能连接成功,但是无法获取ip。
      需要udhcpc -i wlan0才能分配ip。
      这种情况该如何优化呀?有大佬遇到过这个问题吗?
      @mangogeek

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

        @jr_online 在 T113-S3(MQ-Dual) RTL8189模块上电自动连接wifi,无法获取ip 中说:

        udhcpc -i wlan0

        必须执行这个才能获取IP吧?

        J 1 Reply Last reply Reply Quote Share 0
        • J
          jr_online LV 7 @whycan last edited by

          @whycan 在 T113-S3(MQ-Dual) RTL8189模块上电自动连接wifi,无法获取ip 中说:

          @jr_online 在 T113-S3(MQ-Dual) RTL8189模块上电自动连接wifi,无法获取ip 中说:

          udhcpc -i wlan0

          必须执行这个才能获取IP吧?

          回大佬,这个RTL8189驱动我搞不懂,我是在d1s移植过来的,在d1s的固件里会有一个开机自启的脚本来连接wifi的。
          7e181877-3617-405c-8bd0-ac64f3a0f145-1661245349415_866ABF74-5CC6-4589-92B1-FAA9576AE24E.png

          但是我在t113这边没有用脚本来连接wifi,但断电重启后还是会自动连接上保存在wpa_supplicant.conf的
          wifi。所以就觉得是不是驱动哪里没处理好,还是其他没有连接wifi。我是根据这个控制台打印出wifi的DB数
          据,然后觉得是执行了自动连接wifi。然后ifconfig -a,没有ip。

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

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

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