From nobody Sun Mar 22 13:43:58 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fdyG22y6Lz6WWR1 for ; Sun, 22 Mar 2026 13:44:26 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fdyG20pKyz3JSy for ; Sun, 22 Mar 2026 13:44:26 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-794719afcd4so27265317b3.1 for ; Sun, 22 Mar 2026 06:44:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774187065; x=1774791865; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qY+m9DqD/6jIWvKsnlYY5GneltaC34Nb7AZ7bysK8HQ=; b=OV5NWdKSLX6B9ln9EPGnET/CzizHTpjJ6x5P5pNfsaNjjZBX2fv/05ckxfkE8mPkx1 3WvnEnTIqAzbDZ4LQEVReaNDTejlSImG1XFVn3cZRB81uJqrX9Zs4xYIvPfgqW0UUJz7 KUJShvYBEYXdSyFC06KbYcakKTZ4z9EuHPj6PFzIZmzXc1Em1fjnnodNNIRzp8V5rt9s crHhuzCG7fhRpNRvOPdhV/1t22gVHMlAxjTGRlxIPKZAmcoy4A4N9qt0bvmRk66MDjDQ +3KoAkpb0acUOjO6ECx7DiOA4Ilx26WN1i2SN8UxUgG0bN/K0Q/KiN46UqWKiNHUwVjw Klcg== X-Gm-Message-State: AOJu0Yx4Xz7aWX5/nzlpXPhMfLMGC+Y6WMicEhN8x6AAIjkDZ2LbGiJZ 5GCQhxl6I+ODmteKt/K38EgbJ/T5agg2CTqRG9+w5GBGBWkEraJzauVW+xnNgyAY X-Gm-Gg: ATEYQzxJJ/XNoc+GlDboorfaRpIm+Jf2yOZ6LufERxFD4dN93rqyBPMzs+OFIgcAW/x IrW7Soco+sWz/gIUdw5ZG7EgSVHuvX5FlAr5duPt1B05Gel77muR1niM4IEyw4xgvDse4sHQj1N W/U+2B91Q0LGfaKA7H+xIjoST4Gyip4TIrJBksG9I22lz/68C7HqW19d3RfTaONd+4j+qLA1wAP WDJCOKZ0bU/5ocr13RP1ZrBd6jaX5L9dQ2K0G1o/GeHDaIQVp4wag4qauIAtpulpFI0IIjGwq3A lnf/W+xtDcr60jW7rTznAHhS8W4TvlrQNIzhRZ1RLhFGqHsG7qZU4pqlFTXB7DSpBTn8b0BRM9P XQieRNSZOqhLpLqUkTmsYlvB8o/IimNIW/bcBec9j3o8D9GBPZZQn3eFzq9lnpsEBgAutxDfVh8 jG8aICy2INYI1jEKof2U2ifx8uGl15DH0d4C9VKg2B+ODBb7ir8WvRYfJHEExeZYbWXKWkdKmn2 qu79j7/ZvlmLP5dviOpUps5jNRxr5ugh44O6Ty2iG7Og/bVDvh3de3gG2ouRuf8nK1sf17sLuV3 82g= X-Received: by 2002:a05:690c:89:b0:79a:b49a:cb14 with SMTP id 00721157ae682-79ab49ad764mr5000237b3.24.1774187064957; Sun, 22 Mar 2026 06:44:24 -0700 (PDT) Received: from mail-yx1-f49.google.com (mail-yx1-f49.google.com. [74.125.224.49]) by smtp.gmail.com with ESMTPSA id 00721157ae682-79a9054bee1sm43406827b3.32.2026.03.22.06.44.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Mar 2026 06:44:24 -0700 (PDT) Received: by mail-yx1-f49.google.com with SMTP id 956f58d0204a3-64eb8ceda8fso1065833d50.1 for ; Sun, 22 Mar 2026 06:44:24 -0700 (PDT) X-Received: by 2002:a05:690c:348a:b0:79a:668a:b6e8 with SMTP id 00721157ae682-79a90c567f1mr96084117b3.61.1774187064381; Sun, 22 Mar 2026 06:44:24 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Sun, 22 Mar 2026 16:43:58 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: AQROBzCIOVp5J6jXOwADocIqU82GQTXy3cuVpL38g7pPsHu3KElxlL5-4c0t9Rw Message-ID: Subject: Re: Reworking the Network Configuration Libraries idea for laptop/desktop use To: "berke.nar" Cc: "freebsd-hackers@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4fdyG20pKyz3JSy X-Spamd-Bar: ---- On Sun, Mar 22, 2026 at 3:59=E2=80=AFPM berke.nar wro= te: > > Would a project centered on a small network configuration library plu= s a simple CLI/TUI be considered useful? I do not see it useful. See below for explanations. > Would it be better to focus only on wireless profile management first= , with VM/jail networking as a stretch goal? I think yes, we did the same at Future Crew. > Is there a preferred approach or existing work I should build on to a= void duplicating effort? Major DEs already ship UI components for network configuration. All these components use NetworkManager as a backend. In my opinion, the only sustainable way to make these UI components work on FreeBSD is to port/reimplement NetworkManager (or at least some parts of it). This will give us an opportunity to reuse KDE/Gnome frontends and is overall better than inventing the whole thing ourselves. We at Future Crew made a quick stab on porting NetworkManager, but it turned out to be too Linux-centered and quite a beast itself. Instead we ported Connman, which fills the same backend role as NM, but due to having an incompatible D-Bus interface, we had to write our own UI frontend. This is also not as easy task as it might seem, so while Connman worked for us short term, I believe the proper solution is to have NM implementation. > My goal is to contribute something genuinely useful to FreeBSD laptop and= desktop users by working on the daily cases I encounter while I am using F= reeBSD as a daily driver, while keeping the project realistic for GSoC and = aligned with the current LDWG direction. My gut feeling is that the project is too large for GSoC. You'll need both decent D-Bus proficiency as well as domain-specific knowledge to implement a network configuration daemon. Right now I'm writing a systemd logind reimplementation in my free time and even with all the D-Bus programming skills I have, it is still an enormous amount of work. We also had GSoC students working on much simpler D-Bus daemons and none of these attempts resulted in a salvageable outcome. Getting back to NM, before starting a reimplementation it requires a bit of research work to answer the following questions: - What D-Bus interfaces do we need to implement exactly? It might be that we don't need all of them to get DE widgets work. - What components of the original NetworkManager can be ported and reused? - NM has a C API. Do we have possible consumers for it? As you can see, the amount of work here is incredible. It might make sense to constrain the scope of the GSoC project to writing a neat library only. Design a good API, implement it, write tests, so that if we later reach for NetworkManager, it'll be much ea= sier.