From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5D21DE00B3C for ; Tue, 18 Mar 2014 10:51:43 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 75335F811F9; Tue, 18 Mar 2014 11:51:43 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 29CFCF811F8; Tue, 18 Mar 2014 11:51:42 -0600 (MDT) Message-ID: <532887BB.6080207@mlbassoc.com> Date: Tue, 18 Mar 2014 11:51:55 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <532871AE.4070709@mlbassoc.com> <53287AD3.5040505@mlbassoc.com> <53287E26.3060005@mlbassoc.com> In-Reply-To: X-Enigmail-Version: 1.5.2 Subject: Re: Losing Ethernet after reboot X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 17:51:44 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 2014-03-18 11:14, Rick Bianchi wrote: > 1. Yes, I do have init-ifupdown on the target. > > 2. No, I have not made any changes to the INITSCRIPT_PARAMS. > OK, you must be using an older release/branch as this was recently changed. You can try tracing the bootup to see if/when the networking is started: Make this change & reboot. root@everest-p36:~# sed -i s/VERBOSE=no/VERBOSE=very/ /etc/default/rcS This will print a line indicating which init scripts are run, etc. Also, what happens if you try to bring up your network using 'ifup eth0' instead of 'ifconfig eth0 up;udhcpc eth0'? > On Tue, Mar 18, 2014 at 10:11 AM, Gary Thomas > wrote: > > On 2014-03-18 10:58, Rick Bianchi wrote: > > ls -l /etc/rc*/S*networking only gives me the following: > > > > lrwxrwxrwx 1 root root 20 Mar 14 2014 /etc/rcS.d/S40networking -> ../init.d/networking > > Looks like something changed the init scripts settings. These are in the file > .../meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb : > INITSCRIPT_NAME = "networking" > INITSCRIPT_PARAMS = "start 01 2 3 4 5 . stop 80 0 6 1 ." > > I presume that you have a init-ifupdown_1.0.bbappend file for your target? > Are you changing the INITSCRIPT_PARAMS perhaps? > > > On Tue, Mar 18, 2014 at 9:56 AM, Gary Thomas >> wrote: > > > > On 2014-03-18 10:42, Rick Bianchi wrote: > > > Sorry typing on the fly. Here is what is in interfaces: > > > auto eth0 > > > iface eth0 inet dhcp > > > > Are you using systemd or sysvinit? > > > > I use sysvinit and have these init script settings that start the network: > > root@everest-p36:~# ls -l /etc/rc*/S*networking > > lrwxrwxrwx 1 root root 20 Mar 18 15:58 /etc/rc2.d/S01networking -> ../init.d/networking > > lrwxrwxrwx 1 root root 20 Mar 18 15:58 /etc/rc3.d/S01networking -> ../init.d/networking > > lrwxrwxrwx 1 root root 20 Mar 18 15:58 /etc/rc4.d/S01networking -> ../init.d/networking > > lrwxrwxrwx 1 root root 20 Mar 18 15:58 /etc/rc5.d/S01networking -> ../init.d/networking > > > > > > > > > > > On Tue, Mar 18, 2014 at 9:17 AM, Gary Thomas > > >>> wrote: > > > > > > On 2014-03-18 10:10, Rick Bianchi wrote: > > > > > > > > I losing Ethernet after every reboot. What is the process to have it come up manually? > > > > > > > > Image: Dylan gumstix-console > > > > > > > > I have already added eth0 auto to my /etc/network/interfaces. > > > > > > Shouldn't this line read > > > auto eth0 > > > not the other way around? > > > > > > > At the moment I need to run the following after every reboot: > > > > > > > > ifconfig eth0 up > > > > udhcpc eth0 -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------