All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Rick Bianchi <bianchirickkutta@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Losing Ethernet after reboot
Date: Tue, 18 Mar 2014 11:11:02 -0600	[thread overview]
Message-ID: <53287E26.3060005@mlbassoc.com> (raw)
In-Reply-To: <CAA7h+Ep4-7XLFfpJurAikNMEDSesmTv=1Sc20QuLhALn4EATDg@mail.gmail.com>

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 <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> 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 <gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>> 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
>     ------------------------------------------------------------
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
> 
> 

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2014-03-18 17:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 16:10 Losing Ethernet after reboot Rick Bianchi
2014-03-18 16:17 ` Gary Thomas
2014-03-18 16:42   ` Rick Bianchi
2014-03-18 16:50     ` Sandeep G.R
2014-03-18 16:56     ` Gary Thomas
2014-03-18 16:58       ` Rick Bianchi
2014-03-18 17:11         ` Gary Thomas [this message]
2014-03-18 17:14           ` Rick Bianchi
2014-03-18 17:51             ` Gary Thomas
2014-03-18 18:32               ` Rick Bianchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53287E26.3060005@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=bianchirickkutta@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.