Mike Gabriel: Systemd based network setup on Debian Edu jessie workstations
This article describes how to use systemd-networkd on Debian Edu 8.x (aka jessie) notebooks.
What we have to deal with?
At the schools we support we have several notebooks running Debian Edu 8.x (aka jessie) in the field.
For school notebooks (classroom sets) we install the Debian Edu Workstation Profile. Those machines are mostly used over wireless network.
We know that Debian Edu also offers a Roaming Workstation Profile at installation time, but with that profile chosen, user logins create local user accounts and local home directories on the notebooks (package: libpam-mklocaluser). For our customers, we do not want that. People using the school notebooks shall always work on their NFS home directories. School notebooks shall not be usable outside of the school network.
Our woes...
The default setup on Debian Edu jessie workstations regarding networking is this:
- systemd runs as PID 1
- ifupdown manages static network interfaces (eth0, etc.)
- NetworkManager manages wireless network interfaces
- for our customers we configured NetworkManager with a system-wide WiFi (WPA2-PSK) profile
- By default, network interface eth0 is managed by ifupdown (via /etc/network/interfaces):
auto eth0 iface eth0 inet dhcp
Woe no. 1: In combination with systemd, this results in a 120sec delay at system startup.