Navigation

    全志在线开发者论坛

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

    求指导,T113-S3 tinasdk如何配置板子启动后以太网自动启动和获取Ip

    MR Series
    2
    2
    1343
    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.
    • A
      a06041114 LV 4 last edited by

      如题,手上有快T113-S3开发板,以太网插上网线后,都要在终端手动输入ifconfig eth0 up 来启动以太网,然后输入udhcpc来自动获取IP,这个只适合调试,怎么让开发板自动启动以太网并获取IP而不是手动输入命令???我在网上查找时,根据V3S,发现V3s开发板都是在文件系统,修改/etc/network/interfaces 就可以,但T113-S3的Tina SDK里我没找到这个文件,求大神指导

      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        target/allwinner/t113-xxxxx/busybox-init-base-files/etc/init.d/rc.final

        末尾加上
        ifconfig eth0 up
        udhcpc -i eth0

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

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

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