DHCP bezieht keine IPv4-Addresse, wenn von systemd gestartet

01/09/2016 - 16:40 von Werner Mahr | Report spam
Servus,

vor ca. 4 Wochen hat meine alte Fritz!Box 7390 gestreikt, und ich habe sie
durch eine 7490 ersetzt. Seitdem bekommen 2 Systeme die mit testing laufen,
beim booten keine IPv4 Addresse mehr zugewiesen.

In der /etc/network/interfaces steht folgendes:

auto eth0
iface eth0 inet6 dhcp
iface eth0 inet dhcp

sonst nichts ausser dem loopback, bis zum FB-wechsel hat das auch exact so
funktioniert, wie es sollte.

Ebenso làuft die raise-network.unit beim booten bis zum timeout.

journalctl | grep net sagt dazu:

Aug 29 07:59:20 werner1 kernel: audit: initializing netlink subsys (disabled)
Aug 29 07:59:20 werner1 kernel: microcode: Microcode Update Driver: v2.01
<tigran@aivazian.fsnet.co.uk>, Peter Oruba
Aug 29 07:59:22 werner1 kernel: r8169 Gigabit Ethernet driver 2.3LK-NAPI
loaded
Aug 29 07:59:26 werner1 systemd[1]: Starting Raise network interfaces...
Aug 29 07:59:30 werner1 acpid[2429]: starting up with netlink and the input
layer
Aug 29 07:59:32 werner1 kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Aug 29 07:59:36 werner1 NetworkManager[2447]: <info> [1472450376.6413]
monitoring ifupdown state file '/run/network/ifstate'.
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9823]
interface-parser: parsing file /etc/network/interfaces
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9824]
interface-parser: source line includes interfaces file(s) /etc/network/
interfaces.d/*
Aug 29 07:59:37 werner1 NetworkManager[2447]: <warn> [1472450377.9824]
interfaces file /etc/network/interfaces.d/* doesn't exist
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9825]
interface-parser: finished parsing file /etc/network/interfaces
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9828]
guessed connection type (eth0) = 802-3-ethernet
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9829]
update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet,
id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9837]
guessed connection type (eth0) = 802-3-ethernet
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9837]
update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet,
id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9843]
devices added (path: /sys/devices/pci0000:00/0000:00:1c.5/0000:03:00.0/net/
eth0, iface: eth0)
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9844]
devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Aug 29 07:59:37 werner1 NetworkManager[2447]: <info> [1472450377.9844] device
added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration
found.
Aug 29 07:59:38 werner1 NetworkManager[2447]: <info> [1472450378.0045] Loaded
device plugin: NMEthernetFactory (internal)
Aug 29 07:59:39 werner1 NetworkManager[2447]: <info> [1472450379.3652]
manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/
0)
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Start operation timed
out. Terminating.
Aug 29 08:04:31 werner1 systemd[1]: Failed to start Raise network interfaces.
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Unit entered failed
state.
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Failed with result
'timeout'.

Wenn ich mich nach dem booten einlogge und 'dhclient eth0' aufrufe, kommen
ohne Verzögerung alle Werte die ich erwarte.

Die IPv6 Seite làuft einwandfrei von Anfang an.

MfG. usw.

Werner Mahr
 

Lesen sie die antworten

#1 Michael Biebl
01/09/2016 - 22:20 | Warnen spam
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
protected-headers="v1"
From: Michael Biebl
To:
Message-ID:
Subject: Re: DHCP bezieht keine IPv4-Addresse, wenn von systemd gestartet
References:
In-Reply-To:


Am 01.09.2016 um 16:16 schrieb Werner Mahr:
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Start operation timed
out. Terminating.
Aug 29 08:04:31 werner1 systemd[1]: Failed to start Raise network interfaces.
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Unit entered failed
state.
Aug 29 08:04:31 werner1 systemd[1]: networking.service: Failed with result
'timeout'.



Hört sich nach einem ifupdown problem an.
Was sagt denn (als root)
systemctl status networking.service
journalctl -u networking.service



Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?





Ähnliche fragen