Timeline for Use systemd-networkd for general networking
Current License: CC BY-SA 4.0
40 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 16 at 19:40 | comment | added | Ingo | @zenlord Yes, I'm aware of the problem with the NetworkManager. It aggressive occupy the network resources without any checks if they are also used by other services so they are fighting for the resources. But default Raspberry Pi OS never used NetworkManager so I didn't think to mention it. Thank you for your hint :-). I have updated the tutorial. | |
| Feb 16 at 19:26 | history | edited | Ingo | CC BY-SA 4.0 | Add hint from 'zenlord' in his comment to also deinstall 'networkmanager'. |
| Feb 15 at 7:03 | comment | added | zenlord | @Ingo Thank you for such a great answer! It helped me on my way, but one major omission is that one also needs to uninstall NetworkManager! apt remove --purge network-manager and the entire setup is solid as a rock (otherwise nm will break the network settings continuously) | |
| Feb 6, 2022 at 9:19 | comment | added | Narshe | On quick guide, the step apt install libnss-resolve fails because at this point the system can no longer resolve dns | |
| Aug 7, 2021 at 19:10 | comment | added | Ingo | @MatthewRedmond Seems I forgot to support the headless installation over time :-/ I will have a look at it. Thanks for the hint. | |
| Aug 1, 2021 at 5:28 | comment | added | MethodMan | In the quick setup, how do you not loose your SSH connection when running: "systemctl disable --now...."? | |
| Jul 12, 2021 at 9:41 | history | edited | Ingo | CC BY-SA 4.0 | Improved Quick Step |
| Jul 11, 2021 at 12:52 | history | edited | Ingo | CC BY-SA 4.0 | Improved Quick Step |
| Jun 27, 2021 at 22:56 | history | edited | Ingo | CC BY-SA 4.0 | Added setup line to stop services before purging them |
| Jun 21, 2021 at 9:00 | comment | added | Ingo | @ankostis rsyslog is redundant information to the systemd journal and waste of storage. This is the reason why Debian suggested at /usr/share/doc/systemd/README.Debian.gz to remove it: If you enable persistent logging, consider uninstalling rsyslog or any other system-log-daemon, to avoid logging everything twice. | |
| Jun 2, 2021 at 12:40 | comment | added | ankostis | But why remove rsyslog?! | |
| May 1, 2021 at 11:39 | comment | added | Gui13 | @Ingo this is a fantastic guide, and it works beautifully on a RPi0W! One question thoug: you strongly linked ap@wlan0 and wlan0, such that we cannot put down the hostap without taking the wlan0 down with it. Would it be possible to have a version where both can cohabit? This is useful if you want the AP to be UP for initial config (and loss of STA wifi if you move the device), but then tear it down when the RPI is configured. | |
| Apr 7, 2021 at 8:37 | comment | added | mksteve | Hi - name resolution broke, and apt install libnss-resolve failed. My hack fix was to add a couple of addresses to hosts. But I think it needs to be pre-downloaded for this to work well | |
| Feb 7, 2021 at 22:00 | comment | added | Ingo | @JaromandaX By the way, you will find a testing, more for my own documentation, at How to use IPv6 internet addresses on Linux with systemd-networkd. | |
| Feb 6, 2021 at 20:34 | comment | added | Ingo | @JaromandaX Yes, you are right. Haven't thought of it but will make it next time now. | |
| Feb 6, 2021 at 2:12 | comment | added | Jaromanda X | The only thing missing is IPv6 configuration | |
| Dec 20, 2020 at 23:49 | comment | added | Ingo | @lbt I noticed with older systemd versions some times ago that there was a problem, but it doesn't hurt me, because I had found a solution. I have documented it in my answer at the end in section DNS-name domain search trouble. | |
| Dec 20, 2020 at 23:38 | history | edited | Ingo | CC BY-SA 4.0 | Added solution for the DNS domain search option |
| Dec 20, 2020 at 18:53 | comment | added | lbt | Additionally, before systemd v243, any 'search' options in resolv.conf are kinda broken and need a Domains=<blah> entry in the [Network] section. See superuser.com/questions/1490670/… No problem at all @Ingo - just adding this info as it may help others - you may even want to include it in your excellent guide. | |
| Dec 20, 2020 at 18:22 | comment | added | Ingo | @lbt Just do it. What's the problem? | |
| Dec 20, 2020 at 18:16 | comment | added | lbt | I also needed to enable: systemctl enable systemd-networkd-wait-online.service which is needed to wait for a DHCP address before mounting nfs shares. | |
| Sep 4, 2020 at 7:59 | history | edited | Ingo | CC BY-SA 4.0 | Corrected formating |
| Sep 3, 2020 at 21:31 | comment | added | Seamus | I think this would make an excellent page on your github site :) | |
| Sep 3, 2020 at 9:08 | comment | added | Ingo | @Seamus Yes, I completely agree. Except with mobile using you have much more possibilities to do sophisticated things out of the box by just configuring it, or well integrated like VPN with wireguard, also just configurable by systemd-networkd. All this is well structured and straight forward without the need to fit different helpers together and without possible problems on its (different?) APis. | |
| Sep 3, 2020 at 3:49 | comment | added | Seamus | This is a very good "how-to" for systemd-networkd. Reading your answer again has reminded me that it should be mentioned as an alternative to dhcpcd in some situations. In other words, dhcpcd would be for most users, and systemd-networkd for those with use-cases described in your abstract. Do you agree? | |
| Sep 2, 2020 at 21:15 | history | edited | Ingo | CC BY-SA 4.0 | Disabled p2p network on wpa_supplicant |
| Aug 23, 2020 at 18:33 | history | edited | Ingo | CC BY-SA 4.0 | Inserted exit from sudo |
| Aug 22, 2020 at 10:34 | history | edited | Ingo | CC BY-SA 4.0 | Improved network interface files with multicast DNS |
| Jun 11, 2020 at 18:29 | history | edited | Ingo | CC BY-SA 4.0 | Corrected quick step, improved description of the wifi connection |
| May 17, 2020 at 20:32 | history | edited | Ingo | CC BY-SA 4.0 | Removed also drop in file from dhcpcd.service, which isn't deinstalled with the package |
| May 9, 2020 at 18:41 | history | edited | Ingo | CC BY-SA 4.0 | mark hold on libnss-mdns instead of mdns, which does not exist. |
| May 5, 2020 at 20:11 | history | edited | Ingo | CC BY-SA 4.0 | Reordered insallation instructions |
| Apr 25, 2020 at 18:25 | history | edited | Ingo | CC BY-SA 4.0 | Added warning to backup the running system |
| Apr 11, 2020 at 18:06 | history | edited | Ingo | CC BY-SA 4.0 | Set additional packages on hold |
| Apr 11, 2020 at 15:29 | history | edited | Ingo | CC BY-SA 4.0 | Changed wording |
| Apr 4, 2020 at 10:46 | history | edited | Ingo | CC BY-SA 4.0 | Added hold mark to deinstalled Raspbian packages |
| Mar 17, 2020 at 17:34 | vote | accept | Ingo | ||
| Feb 22, 2020 at 0:28 | history | edited | Ingo | CC BY-SA 4.0 | Added to deinstall rsyslog |
| Feb 21, 2020 at 10:37 | history | edited | Ingo | CC BY-SA 4.0 | Reordered and improved description |
| Feb 21, 2020 at 1:21 | history | answered | Ingo | CC BY-SA 4.0 |