Re: Problems using dhcpcd-ui
Roy Marples
Wed Aug 03 23:11:31 2016
Hi Tim
On Wednesday 03 August 2016 16:50:33 Tim Tassonis wrote:
> 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.
Glad you enjoy dhcpcd :)
> 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.
Well, let's get it working!
> I stopped network manager and then started dhcpcd on the wlan0 interface
> with:
>
> sudo /sbin/dhcpcd wlan0 -b -q
That's the mistake right there.
It's not clearly spelled out in the man pages, but dhcpcd(8) says this:
/var/run/dhcpcd.sock
Control socket to the master daemon.
dhcpcd needs to be running in Master mode - ie on all interfaces. You're
restricting it on the command line to wlan0.
Sadly, we need to restrict it like so to preserve legacy behavior.
Either use the -M option or allow/denyinterfaces directive in dhcpcd.conf.
I have noticed this in the dhcpcd-gtk man page, as well as others, here:
http://roy.marples.name/projects/dhcpcd-ui/info/ca2b7e8f3311a1ac
Hope this helps!
Roy
Archive administrator: postmaster@marples.name