The officially official Devuan Forum!

You are not logged in.

#1 2017-10-30 12:36:53

fredg
Member
From: /france/lyon
Registered: 2016-11-30
Posts: 4
Website

ifup wait at boot

Hello,

I am running Devuan Ascii on a laptop.

The boot process is a little bit long because of ifup.

When I boot with eth0 cable unplugged in the bootup log sequence I get:

Configuring network interfaces...
ifup: waiting for lock on /run/network/interfaces/ifstate.eth0

Then, the boot wait for about 1 min and I got the message:

ifup: interface eth0 already configured

And, boot continues.

f@g:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

Any clue ?

++

Offline

#2 2017-10-30 12:50:50

fsmithred
Administrator
Registered: 2016-11-25
Posts: 444

Re: ifup wait at boot

Replace 'allow-hotplug' with 'auto'.

Offline

#3 2017-10-30 13:05:30

fredg
Member
From: /france/lyon
Registered: 2016-11-30
Posts: 4
Website

Re: ifup wait at boot

When done, it hangs a bit on :

DHCPDISCOVER on eth0 to 255?255.255.255....

So, as wicd manage the network on the laptop, I have chosen to remove all eth0 related things on the config file. And, of course, it works wink
Is it a good way or not ?

++

Offline

#4 2017-10-30 13:50:57

cynwulf
Member
Registered: 2017-10-09
Posts: 99

Re: ifup wait at boot

The interfaces config file sources /etc/network/interfaces.d/*

What files do you have in that directory?

As you use a network connection manager (wicd), you can safely comment out all the lines from the interfaces file, as you have done.

You could also setup eth0 as fsmithred suggested and also add your wlan device, essid and psk.  But if you're not just wired but also connecting to lots of different wireless APs (public wifi, etc) it's probably better to stick with wicd.

Last edited by cynwulf (2017-10-30 13:51:42)

Offline

#5 2017-10-30 13:57:02

fredg
Member
From: /france/lyon
Registered: 2016-11-30
Posts: 4
Website

Re: ifup wait at boot

The interfaces config file sources /etc/network/interfaces.d/*

What files do you have in that directory?

No files.

Ok for the advices. Thank you very much.

++

Offline

Board footer