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

Nicolas Cavallari Nicolas.Cavallari at green-communications.fr
Tue Sep 4 12:31:46 UTC 2018


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)



More information about the buildroot mailing list