Discuz! Board

标题: 关于插入网线RJ45无法使用的分析 [打印本页]

作者: zangcf    时间: 2016-4-13 09:29
标题: 关于插入网线RJ45无法使用的分析
1,Bug信息显示
EthernetStateTracker(  448): DhcpHandler: DHCP request failed: Timed out waiting for dhcpcd to start
这是非常关键,为何重新启动dhcpcd fail呢?


作者: zangcf    时间: 2016-4-13 09:31
NetworkUtils.runDhcp(mInterfaceName, mDhcpInfo)为何执行这一步会fail呢?
作者: zangcf    时间: 2016-4-13 11:33
检查发现还是init.rc部分dhcp设置有问题,如下修改就好了。
#zcfdebug++<<
on property:init.svc.dhcpcd_eth0=run
    start dhcpcd_eth0

on property:init.svc.dhcpcd_eth0=stopped
    start dhcpcd_eth0

#on property:rj45.ethernet.state=detached
#        stop dhcpcd_eth0
#
#on property:rj45.ethernet.state=attached
#        start dhcpcd_eth0
#
#on property:usb.ethernet.state=detached
#        stop dhcpcd_eth0
#
#on property:usb.ethernet.state=attached
#        start dhcpcd_eth0
#zcfdebug>>++





欢迎光临 Discuz! Board (http://47.89.242.157:9000/bbs/discuz/) Powered by Discuz! X3.2