• BusyBox ifup udhcpc后台运行


    /**********************************************************************
     *              BusyBox ifup udhcpc后台运行
     * 说明:
     *     发现ifup会调用udhcpc,但是并不会切换到后台运行,解决一下。
     *
     *                                  2016-10-11 深圳 南山平山村 曾剑锋
     *********************************************************************/
    
    
    一、参考文档:
        1. How to get BusyBox udhcpc to run in background forever?
            https://unix.stackexchange.com/questions/267733/how-to-get-busybox-udhcpc-to-run-in-background-forever
    
    二、解决办法:
        1. cat /etc/network/interfaces
            # interface file auto-generated by buildroot
            
            auto lo
            iface lo inet loopback
            
            auto eth0
            iface eth0 inet dhcp
                udhcpc_opts -b          # <------ 添加udhcpc参数
            
        2. 启动输出信息:
            ...
            Starting network: eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
            udhcpc: started, v1.26.2
            udhcpc: sending discover
            PHY: 1:01 - Link is Up - 100/Full
            udhcpc: sending discover
            udhcpc: sending discover
            udhcpc: no lease, forking to background
            ...
  • 相关阅读:
    目标检测评价指标
    DALSA相机SDK不完全教程
    windows 安装pycocotools
    keras第二课:后端函数
    Python中os.mkdir()与os.makedirs()的区别
    ARM知识
    神经网络结构
    PIL 中的 Image 模块
    Matplotlib使用
    keras第一课:Cifar分类
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/7651707.html
Copyright © 2020-2023  润新知