From Gentoo Wiki
Jump to: navigation, search

This article is a stub. You can help by expanding it.

dhcpcd-ui[1] provides the user interface and the graphical gtk and gtk3 (qt5 is under development[2][3]) user interfaces for the net-misc/dhcpcd package.


USE flags

To get one of the graphical user interfaces enable the respective USE flag.

USE flags for net-misc/dhcpcd-ui Desktop notification and configuration for dhcpcd

gtk3 Add support for x11-libs/gtk+ (The GIMP Toolkit)
libnotify Enable desktop notification support

Support for qt4 has been removed with commit 43f5c510450633d249f596fcc4f74255df76bb73 bug #630638.


Then install dhcpcd-ui and remove dhcpcd from the world file:

root #emerge --ask net-misc/dhcpcd-ui
root #emerge --ask --deselect=y net-misc/dhcpcd

Building from source

Alternatively, for installing the bleeding edge[4] of dhcpcd-ui you can use the live ebuild from the bar overlay[5].

root #emerge --ask --noreplace app-eselect/eselect-repository dev-vcs/git
root #eselect repository enable bar
root #emerge --sync bar
root #emerge --ask =net-misc/dhcpcd-ui-9999:bar
root #emerge --ask --deselect net-misc/dhcpcd


Uncomment the controlgroup line in /etc/dhcpcd.conf:

FILE /etc/dhcpcd.conf
# Allow users of this group to interact with dhcpcd via the control socket.
controlgroup wheel

Change group and permissions of /etc/dhcpcd.conf in order to make it writable for the user interface:

root #chgrp wheel /etc/dhcpcd.conf
root #chmod g+w /etc/dhcpcd.conf



External resources