[Buildroot] how to restart network interface automatically
Jeremy Rosen
jeremy.rosen at openwide.fr
Mon Oct 6 06:49:39 UTC 2014
>
> Hello,
>
>
> my network interface eth0 is configured to use DHCP.
>
>
> At boot time, init script S40network starts the network. And if DHCP
> server - for any reason - can't answer, no IP will be set for eth0.
>
>
> What will be the correct strategy to handle this case?
>
IIIRC the problem is in the busybox DHCP which doesn't retry on
failure by default,
fortunately this is just a config option for busybox, so if you
do a make busybox-menuconfig you can change that behaviour
run "udhcpc --help" on the target to see what options are
available
set IFUPDOWN_UDHCPC_CMD_OPTIONS to whatever fits you ned
>
> Best regards,
>
>
> Sylvain
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list