[yocto] Losing Ethernet after reboot
Gary Thomas
gary at mlbassoc.com
Tue Mar 18 09:56:51 PDT 2014
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 at 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 at mlbassoc.com <mailto:gary at 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
------------------------------------------------------------
More information about the yocto
mailing list