Hi, Alexander: You're right. sleep's not needed. Actually "netcfg usb0 dhcp" is enough for enabling the ethernet and dhcp the ip address. Let's see how we can do this after we create the common directory for all the boards. This patch is only for enabling the ethernet during booting Android. If the wire is replugged, dhcp can not be triggered again.
-Jeremy
The sleep feels dirty. Whats the underlying root cause for this being required?
Also, is this something we can solve in a common fashion for all boards with ethernet?
Also, is netcfg smart enough to renew dhcp lease if i unplug/replug the wire etc.?
--
- Alexander