Open main menu

DAVE Developer's Wiki β

Changes

XELK-AN-008: How to use systemd on an Embedded system

162 bytes added, 15:06, 16 February 2023
Wired interface
systemd uses a slightly different configuration mechanism than SystemV. The configuration file is the following one with an example of configuration:
/etc/systemd/network/20-eth0.network
<pre>
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
</pre>
 
Activate the new network configuration restarting the <code>systemd</code> services:
 
systemctl restart systemd-networkd
systemctl restart systemd-resolved
==== Wireless interface ====
8,231
edits