Web lists-archives.com

Re: Ethernet is not started at boot




#########  Do not Cc: me, I am on THE LIST and I do not need  ##########
#########  messages twice which make it very hard to answer.  ##########


Am DATE hackte AUTHOR in die Tasten: tomas@xxxxxxxxxx
> This is all? No "lo" stanza? Hm.

it is:

auto lo
iface lo inet loopback

> In that case, it looks more or less correct. Issuing "ifup -a"
> should bring up your enp0s25 interface. Does it?

Yes, it is up.

The problem since Jessie is, that my PostgreSQL instances (I have 4) and
the nfs mounts plus VPN are ALWAYS started before the network and exit
with errors.

I have to start ALL services by hand in order!

If PostgreSQL can not start, then NO USER can log into the systenm!

> But in this case it isn't clear what is triggering your DHCP
> client.

I have already deinstalled the isc-dhcp-client.

> Nothing else in some subdirectory /etc/network/interfaces.d?

No.

I have now moved the config for ethernet to

/etc/network/interfaces.d/enp0s25

So the content of the files show

----[ /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
------------------------------------------------------------------------

----[ /etc/network/interfaces.d/enp0s25 ]-------------------------------
auto enp0s25
iface enp0s25 inet static
        address         192.168.0.202
        netmask         255.255.255.0
        gateway         192.168.0.1
        network         192.168.0.0

allow-hotplug enp0s25
------------------------------------------------------------------------

> OK. Let's try to debug that: since you're doing SysV init, the
> whole magic is done in  /etc/init.d/networking. This one is controlled
> by parameters set in /etc/default/networking. What is in there?

----[ /etc/default/networking ]-----------------------------------------
# Configuration for networking init script being run during
# the boot sequence

# Set to 'no' to skip interfaces configuration on boot
CONFIGURE_INTERFACES=yes

# Don't configure these interfaces. Shell wildcards supported/
#EXCLUDE_INTERFACES=

# Set to 'yes' to enable additional verbosity
VERBOSE=yes
------------------------------------------------------------------------

> Next time you boot: could you watch your boot process and see whether
> you see anything special around "Configuring network interfaces" (that
> should be the message issued by /etc/init.d/networking). Perhaps there
> is something enlightening around that.
>
> Cheers

Thanks in advance

-- 
Michelle Konzack        Miila ITSystems @ TDnet
GNU/Linux Developer     00372-54541400