Tool/software: Linux
Hi,
I am working on a board based on TI Sitara 335x. using Sitara SDK Version 7.00.00, Ubuntu 12.04.5LTS, GNU/Linux 3.12.10-ti2013.12.01 armv71.
Board is having single Ethernet port (eth0), and have connected to the LAN. I have dhcp running on eth0. When I bring the eth0 down and up with commands "ifconfig eth0 down" and "ifconfig eth0 up" using below script, after some iteration eth0 not acquiring an IP address and the board is not reachable. I need to reboot the board to bring it back to normal condition.
#!/bin/bash
for i in `seq 1 100`;
do
echo "ifconfig eth0 down"
ifconfig eth0 down
sleep 2
echo "ifconfig eth0 up"
ifconfig eth0 up
sleep 4
done