What's the reason/motivation behind the project netctl?
netctl seems to be an arch project. arch has a reputation of staying simple and mostly just using upstream projects in it's pure form. So, if the Arch team decided there was a need for netctl, I'm curious to understand what the motivations/goals are.
- Ubuntu/Debian uses
ifupdownproject (that's basically a collection of scripts) that's configured through/etc/networkto accomplish this. - RedHat/CentOS/Fedora similarly uses it's own configurations through
/etc/sysconfig/and a combination of nm and systemd suite (naturally). NetworkManageris widely accepted and used in pretty much all desktop distros, and works well on the command line as well withnmcli/nmtui.systemd-networkd/systemd-resolvedetc and systemd suite of tools are increasingly managing more and more of the basic networking that's needed.
I'm curious to know why arch decided to add another one here, instead of picking one of the above, or the neutral projects like NetworkManager (or even a slimmed down or derived version of this if it dependency is the only issue) or improving the systemd suite instead of an additional project -- while netctl is nice (I love that they're just simple scripts instead of a new dialect), practically IMO has a limited future linked only to arch based systems.
So, I'm trying to understand what the motivations are behind this, over say, simple raw config based on just iproute2 and udev and similar base level projects that do this and graduating to one of the above for more complex config.
Edited 23 Aug 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 51 · 100% up
- Kind
- Text
- ID
- cuabv3
18 comments
it was the follow-up to netcfg. at the time systemd-networkd didnt exist and the other clients you mentioned were either DE or distro specific i guess.
ask on the arch forums if you want a detailed answer
Also,
systemd-networkdwas created by Tom Gundersen, a (now former) Arch developer. It's not unreasonable to view netctl as the predecessor tosystemd-networkd'snetworkctl.The better question is why they didn't just integrate connman, it's very lightweight and had good CLIs way before NM did, and fills a similar niche as netctl with actually caring about roaming and wifi workflows (unlike networkd).
True, intel seems to have done a good job with it. And nice summary, lol.
Some bits though..
netplanseem to be nice solution for 1.Looking at the above though, from today's retrospective standpoint - almost all other pathways sound more future proof due to their transitive nature than netctl to me.
Nowadays, yes, it does. But that wasn't the case for several years, during which you had the choice of either using the GUI, or buying commercial Red Hat support to have them figure out the DBus API for you, because there sure wasn't any useful documentation on it. nmtui/nmcli took way longer than they should have to mature.
Yes, absolutely. It really was just a crutch.
Totally agree that netctl just sucks the least compared to the alternatives. With wpa-actiond and ifplugd it works pretty well on laptops.
I love netctl. It's simple and functional.
I do not even have netctl installed. I use an old favorite; WICD, combo with dhclient, running through home-brewed iptables. KISS.
I believe netctl pre-date network manager. I have seen Arch developers talking about moving to nm several times, so I expect it will happen at some point.
Arch Linux stopped being K.I.S.S. a long time ago, you didn't get the memo? /s
KISS at Arch only refers to the developers.
https://lists.archlinux.org/pipermail/arch-general/2015-July/039443.html
I know I'm just joshing you guys, have had a couple drinks. I love all the Linuxes and BSDs, Arch Linux has a special place in heart so nothing but love from me!
Deleted before we saved it.
Sorry but I don't follow.
Keep It Simple Stupid.