Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: wolo2663 on April 26, 2014, 07:11:19 PM

Title: Initialise Ethernet on boot
Post by: wolo2663 on April 26, 2014, 07:11:19 PM
Hi Everyone,
Does anyone know how I can make eth0 initialise on boot rather than having to manually run 'ifup eth0'?

Thanks
Will 
Title: Re: Initialise Ethernet on boot
Post by: Lurch on April 26, 2014, 09:33:24 PM
why not just edit /etc/metwork/interfaces and uncomment '#auto eth0 dhcp' to read 'auto eth0 dhcp' ?
Title: Re: Initialise Ethernet on boot
Post by: scott-alex on May 25, 2014, 05:40:27 PM
You can also add ip=dhcp or ip=xx.xx.xx.xx to your kernel boot parameters. You need to ensure that the kernel has dhcp etc compiled into it.

Beware that if you used dhcp, the kernel will wait until it has an IP address before finishing to boot.

Title: Re: Initialise Ethernet on boot
Post by: Chax on May 27, 2014, 08:43:23 PM
Maybe the topic starter means having ethernet enabled in u-boot? I'm not sure if this is possible for Olinuxino u-boot. My Guruplug can do this and have images sent over tftp.