how to bring network up at boot time in linux
I am working on an embedded linux system, my aim is to activate ethernet interface at boot time. I am using u-boot as bootloader. I passed ip=169.254.1.1:::255.255.255.0:Eddy:eth0:off and eth=00:05:F4:11:22:33 u-boot environment variables to the linux kernel as bootargs and configured linux kernel as IP:kernel level autoconfiguration , enabled. However, that didn't bring the network interface up, as "ifconfig eth0 up" do.
So, I am wondering if it is possible to instruct linux kernel to configure and activate eth0 interface without resorting to user space scripts (ifup and ifconfig)?
Last edited by Aymen; 11-13-2012 at 10:55 AM.