Re: Starting a service before any networking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Sept 2023 at 19:38, Mantas Mikulėnas <grawity@xxxxxxxxx> wrote:
That's not a race condition; it's a fault in the network interface
itself. "NO-CARRIER" means it's physically unable to establish the
Ethernet link – an external condition that the service ordering has no
effect on.

That's interesting.

In that case, how is it that 
    ip link set eth0 down
    ip link set eth0 up
.. consistently brings the network up? (I have tested that sequence dozens of times.) What is that doing that isn't happening during a normal boot?

This being a Raspberry Pi I believe that the Ethernet port hangs of the USB bus internally in case that's relevant.

(I should be able to find another Pi to test for any physical hardware issues, I'll try that tomorrow.)
--
Mark Rogers

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux