dhcpcd-discuss

Problems using dhcpcd-ui

Tim Tassonis

Wed Aug 03 14:50:34 2016

Hi all

I'm a long-term (very satisfied) user of dhcpcd and wanted to try out dhcpcd-ui (the gtk-2 version), as a possible replacement of NetworkManager.

The idea is to only use it to select wireless networks on the wlan0, starting of wpa_supplicant and dhcpcd itself will be performed before in the background.

However, I don't quite seem to get things working.

I have compiled/installed dhcpcd 6.11.2, with the following options:

./configure --libexecdir=/lib/dhcpcd  --dbdir=/var/lib/dhcpcd

/etc/dhcpcd.conf contains the following:

hostname
controlgroup wheel
debug
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
require dhcp_server_identifier
slaac private
nohook lookup-hostname


I also have compiled/installed wpa_supplicant 2.4 with enabled DBUS intercace for networkmanager.

/etc/wpa_supplicant.conf contains:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1


NetworkManager 1.0.4 runs fine with these settings and program versions.


I stopped network manager and then started dhcpcd on the wlan0 interface with:

sudo /sbin/dhcpcd wlan0 -b -q

and wpa_supplicant with:

sudo /sbin/wpa_supplicant -i wlan0 -B -s -c /etc/wpa_supplicant.conf




However, when I call dhcpcd-gtk, it writes the following to the console:

** Message: Connecting ...
** Message: Status changed to down

** (dhcpcd-gtk:5160): CRITICAL **: dhcpcd_open: No such file or directory


A call with strace tells me that it wants to open /var/run/dhcpcd.sock, which does not exist. there does not exist any dhcpcd related socket in /var/run, even for the eth0 dhcpcd daemon. /var/run does however contain:

./dhcpcd-wlan0.pid
./dhcpcd-eth0.pid


Is there some special option to dhcpcd to have it open the privileged dhcpcd control socket? I have not found any hints in the man page. I'm running on Linux 4.4.13, I can provide more detailed information regarding kernel compile options and modules, if desired.

Kind regards
Tim




Follow-Ups:
Re: Problems using dhcpcd-uiRoy Marples
Archive administrator: postmaster@marples.name