工具/软件:Linux
您好!
我正在开发基于 TI Sitara 335x 的电路板。 使用 Sitara SDK 版本7.00.00、Ubuntu 12.04.5LTS、GNU/Linux 3.12.10-ti2013.12.01 armv71。
电路板具有单个以太网端口(eth0)、并已连接到 LAN。 我在 eth0上运行 DHCP。 当我使用下面的脚本使用命令"ifconfig eth0 down"和"ifconfig eth0 up"打开 eth0时、经过一些迭代 Eth0无法获取 IP 地址且无法访问电路板。 我需要重新启动电路板、使其恢复正常状态。
!/bin/bash
` I in `seq 1 100 μ A;
操作
回显"ifconfig eth0 down (ifconfig eth0 down)"
ifconfig eth0 down
睡眠2.
回显"ifconfig eth0 up"
ifconfig eth0 up
睡眠4.
完成