From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Rosen Date: Mon, 6 Oct 2014 08:49:39 +0200 (CEST) Subject: [Buildroot] how to restart network interface automatically In-Reply-To: Message-ID: <1039764800.26168682.1412578179624.JavaMail.root@openwide.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net > > 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