The officially official Devuan Forum!

You are not logged in.

#1 2021-12-10 13:21:10

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 98  

[SOLVED] ifup interface eth0: time delay too long without carrier

When I start my other laptop, without a carrier in the eth0, it has a very long timeout of 1 minute, until it proceeds without the interface eth0.
the culprit is here from /var/log/boot

Fri Dec 10 10:42:01 2021: .
Fri Dec 10 10:42:04 2021: Configuring network interfaces...ifup: waiting for lock on /run/network/ifstate.eth0
Fri Dec 10 10:43:09 2021: done.

I found from 'man ip' that ip has a loop counter, default 10 loops, so probably there is a 'sleep' inside as well?

The kernel knows the state of the interface, maybe there can be a shortcut installed to jump that minute ?
from dmesg:

[11912.170762] r8169 0000:02:00.0 eth0: Link is Up - 100Mbps/Full - flow control off

Ask the kernel to check the carrier, before attempting to raise an interface w/o carrier ? Where to fix ?
Ideas are welcome.

Last edited by bai4Iej2need (2021-12-12 14:32:17)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#2 2021-12-10 15:35:48

Altoid
Member
Registered: 2017-05-07
Posts: 1,429  

Re: [SOLVED] ifup interface eth0: time delay too long without carrier

Hello:

bai4Iej2need wrote:

... my other laptop, without a carrier in the eth0, it has a very long timeout ...

Answer is probably here, check out this thread and specifically post by Ralph.R: https://dev1galaxy.org/viewtopic.php?pid=6783#p6783

Best,

A.

Last edited by Altoid (2021-12-10 15:38:24)

Offline

#3 2021-12-12 14:41:28

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 98  

Re: [SOLVED] ifup interface eth0: time delay too long without carrier

Yes that did it.
leaving it to the network-manager to handle all interfaces does the trick.


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

Board footer