# systemctl stop networking.service
oder
# systemctl stop NetworkManager.service
# mv /etc/network/interfaces /etc/network/interfaces.ORIG
# touch /etc/network/interfaces
# systemctl disable networking.service
bzw.
# systemctl disable NetworkManager.service
# update-rc.d networking remove
[Match]
Name=eth0
[Network]
DNS=8.8.8.8
[Address]
Address=192.168.10.50/24
[Route]
Gateway=192.168.10.1
# systemctl start systemd-networkd.service
# systemctl start systemd-resolved.service
# systemctl status systemd-networkd.service
# systemctl status systemd-resolved.service
# systemctl enable systemd-networkd.service
# systemctl enable systemd-resolved.service
# rm /etc/resolv.conf
# ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
# networkctl status eth0
# systemctl is-enabled networking.service
# systemctl is-enabled systemd-networkd
# systemctl is-enabled systemd-resolved
Apr 07 19:04:27 snowcat systemd-networkd[953]: eth0: Starting DHCPv6 client on NDisc request failed: Invalid argument
[Network]
IPv6AcceptRouterAdvertisements=0
# einrichten
# ip addr add 192.168.1.10/24 dev eth0 label eth0:NAME1
# ip addr add 192.168.1.20/24 dev eth0 label eth0:NAME2
# ip addr add 192.168.1.30/24 dev eth0 label eth0:NAME3
#
# löschen
# ip addr del 192.168.1.10/24 dev eth0:NAME1
# ip addr del 192.168.1.20/24 dev eth0:NAME2
# ip addr del 192.168.1.30/24 dev eth0:NAME3
...[Network] Section Options...
Address=
A static IPv4 or IPv6 address and its prefix length, separated by a "/" character. Specify this key more than once to configure several addresses. The format of the address must be as described in inet_pton(3). This is a short-hand for an [Address] section only containing an Address key (see below). This option may be specified more than once...
...
...[Address] Section Options
An "[Address]" section accepts the following keys. Specify several "[Address]" sections to configure several addresses.
Address=
As in the "[Network]" section. This key is mandatory.
[Match]
Name=enp0s25
[Address]
Address=10.10.0.10/24
[Address]
Address=192.168.2.50/24
[Route]
Gateway=10.10.0.1
Destination=10.10.0.0/24
[Route]
Gateway=192.168.2.255
Destination=192.168.2.0/24
[...]
[Network]
DNS=8.8.8.8
DNS=8.8.4.4
[...]
[Match]
NAME=<INTERFACE>
[Network]
DHCP=yes
## oder ##
# DHCP=ipv4
# DHCP=ipv6
# DHCP=both
...Gleichzeitig gab es in der Zeit Probleme mit ceni, das einige devices aus /etc/network/interfaces nicht mehr erkannt wurden (inzwischen gefixt) ...
...Bei Notebooks sieht die Sache (für mich) schon wieder ganz anders aus. Auf einem NB möchte ich schnell mal ein WLAN-Hotspot oder ein WLAN-Gastzugang einrichten ohne in Configfiles rumfrickeln zu müssen. ...Funktioniert NM mit systemd 220-7?
...Was meinst du mit "gefixt"?Da ich da ganze nur am Rande mitverfolgte weil hier interfaces funktioniert: es gab in diesem Thread zu systemd-220 (http://forum.siduction.org/index.php?topic=5557.msg45407#msg45407) u.a. zuerst den Kommentar
...udev (part of systemd) has an issue which breaks network for "allow-hotplug" devices configured in /etc/network/interfaces.Später dann
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787263
This will affect users of our former tool ceni which uses allow-hotplug for wired interfaces.
Users should switch to either systemd-networkd or connman or network-manager...
... and it will bring the fixed version of udev 220-3, see changelog:* sd-device: fix device_get_properties_strv(). Fixes environment for
processes spawned by udev, in particular "allow-hoplug" ifupdown
interfaces via ifup@.service. (Closes: #787263)
so just wait 3 or 4 hours more before you dist-upgrade
...
durch einen Bug in udev funktioniert die klassische Netzwerkkonfiguration momentan nicht, so dass Anwender von Ceni betroffen sind.
Mit dem nächsten Repo-Sync in etwa 3-4 Stunden kommt der Fix....
Da es neben einem CLI-Klienten auch einen ncurses Klienten (noch nicht getestet) gibt, die nutzung des gtk klienten selbsterklären ist frage ich mich, was andere genannte programme wicd voraus haben sollen, ausser dass sie gegenwärtig nicht funktionieren.