Configure dhcpcd-gtk, was: Desktop/login and network managers that 100% don't depend on systemd ?

Ottavio Caruso ottavio2006-usenet2012 at yahoo.com
Mon Jun 26 12:14:02 BST 2023


On Mon, 26 Jun 2023 at 12:06, Ottavio Caruso
<ottavio2006-usenet2012 at yahoo.com> wrote:
>
> On Mon, 26 Jun 2023 at 11:27, Matthew Vernon <matthew at debian.org> wrote:
> >
> > On 26/06/2023 10:08, Ottavio Caruso wrote:
> > > On Sat, 24 Jun 2023 at 14:36, Ottavio Caruso
> > > <ottavio2006-usenet2012 at yahoo.com> wrote:
> > >> In particular, I was thinking of replacing NM with dhcpcd-gtk. There
> > >> are no documents about that on the Debian wiki.
> > >>
> > >
> > > I haven't switched yet, but I'd like to have dhcpcd-gtk on
> > > Debian+sysvinit as I used to have it on NetBSD. I assume that I'd have
> > > to install it and configure it before disabling Network Manager and
> > > eventually getting rid of it.
> > >
> > > On NetBSD, it's built in. On Debian+sysvinit, what would I have to do,
> > > apart having a working wpa_supplicant file?
> >
> > Shouldn't be more complex than
> > apt install dhcpcd-gtk
>
> Well. no.
>
> I did it on current Debian Bullseye with systemd. After disabling NM
> (sudo systemctl stop NetworkManager) I ended up without network and
> the dhcpcd deamon refused to start.

Steps to reproduce the issue:

$ sudo apt-get install dhcpcd-gtk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dhcpcd-dbus
The following NEW packages will be installed:
  dhcpcd-dbus dhcpcd-gtk
0 upgraded, 2 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/141 kB of archives.
After this operation, 1,294 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package dhcpcd-dbus.
(Reading database ... 315560 files and directories currently installed.)
Preparing to unpack .../dhcpcd-dbus_0.6.1-1_amd64.deb ...
Unpacking dhcpcd-dbus (0.6.1-1) ...
Selecting previously unselected package dhcpcd-gtk.
Preparing to unpack .../dhcpcd-gtk_0.7.8-1_amd64.deb ...
Unpacking dhcpcd-gtk (0.7.8-1) ...
Setting up dhcpcd-dbus (0.6.1-1) ...
Setting up dhcpcd-gtk (0.7.8-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.24-0+deb11u1) ...
 $ sudo systemctl stop NetworkManager
 $ ping google.com
ping: google.com: Name or service not known
 $ ping 8.8.8.8
ping: connect: Network is unreachable
 $ sudo systemctl status dhcpcd
● dhcpcd.service - DHCP Client Daemon
     Loaded: loaded (/lib/systemd/system/dhcpcd.service; disabled; vendor prese>
     Active: inactive (dead)
       Docs: man:dhcpcd(8)
 $ sudo systemctl start dhcpcd
 $ ping 8.8.8.8
ping: connect: Network is unreachable
 $ dhcpcd-gtk
** Message: 12:10:47.230: Connecting ...
** Message: 12:10:47.230: Status changed to down
** Message: 12:10:47.231: Status changed to opened
** Message: 12:10:47.231: Connected to dhcpcd-7.1.0
** Message: 12:10:47.231: Status changed to disconnected
** Message: 12:10:47.231: enp0s25: Link is down
** Message: 12:10:47.231: wlp3s0: Not associated

It seems that there are extra steps to do that are not handled by a
simple installation of the package.

-- 
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the Debian-init-diversity mailing list