[Buildroot] Problmes with eth0 on Raspberry Pi 3B+

Peter Korsgaard peter at korsgaard.com
Tue Sep 4 21:17:20 UTC 2018


>>>>> "Nicolas" == Nicolas Cavallari <Nicolas.Cavallari at green-communications.fr> writes:

 > On 9/4/18 12:58 PM, Oscar Gomez Fuente wrote:
 >> auto eth0
 >> iface eth0 inet manual
 >> wait-delay 10
 >> pre-up ifconfig eth0 up
 >> pre-up /sbin/udhcpc -R -b -p /var/run/udhcpc.eth0.pid -i eth0
 >> pre-up /etc/network/nfs_check
 >> post-down kill -9 $(cat /var/run/udhcpc.eth0.pid)
 >> post-down ifconfig eth0 down

 > pre-up will run before the wait_iface hook.  For things that are actually
 > configuring the interface, you should use up.
 > (and ifconfig is a bid deprecated these days)

Correct. In addition to that, what is the reason why you manually run
udhcpc instead of just using 'iface eth0 inet dhcp'?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list