I am working on h/w device having linux kernel version 2.6.27 with busybox installed.
I observed below problems while working on jffs2 image is flashed on the board.
1)When the board is powered-up with n/w cable is connected, it doesn't get IP address automatically, I have to use "/etc/init.d/networking restart" in init script(/etc/init.d/rcS) to get the IP address.(I am using dynamic addressing)
2)When the board is powered-up with n/w cable is unplugged and plugging-in once the device is started, I get "link up" message from the system, but still the IP is missing in eth0 interface.
I have udhcpc(v1.14.1) installed.
Giving below commands manually, get the IP for device:
but It is not pretty solution for me !
What I want is, the device should get IP address automatically once the n/w cable is plugged-in.(as we get in desktop m/c's)
Am I missing some scripts or configuration parameters ?
Please let me know your comments or suggestions.
Thanks in advance !