#1067034 dhcpcd-gtk: fails to see wireless networks and to let me enter passphrases

Package:
dhcpcd-gtk
Source:
dhcpcd-gtk
Description:
GTK+ frontend for dhcpcd and wpa_supplicant
Submitter:
Francesco Poli (wintermute)
Date:
2024-06-14 03:54:03 UTC
Severity:
normal
Tags:
#1067034#5
Date:
2024-03-17 10:57:38 UTC
From:
To:
Hello!
Thanks for maintaining this Debian package.

I gave it a try on a laptop, in order to manage dhcpcd, but I cannot
seem to make it work for wireless networks.

I did the following:

  # echo 'update_config=1' > /etc/wpa_supplicant/wpa_supplicant.conf
  # echo 'ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev' >> /etc/wpa_supplicant/wpa_supplicant.conf
  # chmod 0600 /etc/wpa_supplicant/wpa_supplicant.conf
  # systemctl restart wpa_supplicant.service
  # systemctl restart dhcpcd.service

Then, as a regular user (belonging to group netdev) within my X session,
I issued the following command:

  $ dhcpcd-gtk &

An icon appeared on my systray (in lxpanel), but it corresponds to
"no network" (see attachment).
Hovering on the icon shows a tip that says that no network is associated
(see second attachment).
Right-clicking on the icon shows a menu with "Preferences", "About", and
"Quit" entries.
I cannot find any list of available wireless networks, I cannot click
on one of them in order to connect, enter passphrase, disconnect, ...

What's wrong or missing?
What did I fail to understand?

Please clarify, thanks for your time!

#1067034#10
Date:
2024-03-22 22:02:46 UTC
From:
To:
Hi,

Control: tags -1 + newcomer
Control: severity -1 normal

This package, when tested, worked normally with WiFi networks without
needing to do any configuration, just install and use. As you ask for
help to use it, I will insert the newcomer tag, understanding that you
have just arrived and want to report a problem you have encountered. I
will investigate what is happening with the package and check for any
problems in the future.

Please keep any new information up to date on this bug and thanks!

#1067034#19
Date:
2024-04-28 21:26:31 UTC
From:
To:
Hello,
please Cc me on replies, I am not subscribed to the bug reports I
file... Thanks.

[...]

What do you mean?
Do you mean that you just install dhcpcd-gtk, start it and see the list
of WiFi networks, choose one, enter the passphrase and connect to it?

Without even having to set update_config=1 in wpa_supplicant.conf, as
stated in the dhcpcd-gtk(8) man page???

That is to say? Do you mean that this bug has a known solution that
some new Debian contributor could easily implement?
Which known solution do you have in mind?
Please try to reproduce the bug and tell me whether you need me to
perform some other test.

Looking forward to hearing back from you.

#1067034#24
Date:
2024-06-14 03:50:23 UTC
From:
To:
On Sun, Apr 28, 2024 at 6:26 PM Francesco Poli <invernomuto@paranoici.org> wrote:

dhcpcd-gtk relies on wpa_supplicant(8) being configured to write its
sockets to /var/run/wpa_supplicant. If dhcpcd-gtk is used to select
and set pass phrases for wireless networks then update_config=1 needs
to be set in wpa_supplicant.conf.

In https://manpages.debian.org/unstable/dhcpcd-gtk/dhcpcd-gtk.8.en.html

This is stated in the package manual and would that be what you want?
I also mentioned during testing that I was able to use this package
(as well as connect to networks normally) and these tests have been
around for a while and I will try to reproduce them as soon as I have
free time.

First, I would have to reproduce your problem and when I have used
this package in the past I have had no problems with it which is what
I mentioned.
Don't worry, I was taking care of other things and I should look into
this, but upstream, when I looked at the issues, nothing came up about
it and if he does something to correct it, a git cherry pick[1] might
be done until he releases a new version.

[1] https://git-scm.com/docs/git-cherry-pick