dhcpcd-ui

From Gentoo Wiki
Jump to:navigation Jump to:search

This article is a stub. Please help out by expanding it - how to get started.

dhcpcd-ui is a Qt and GTK monitor and configuration graphical user interface for dhcpcd.

Installation

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

debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
gtk Add support for x11-libs/gtk+ (The GIMP Toolkit)
libnotify Enable desktop notification support
ncurses Add ncurses support (console display library)
qt5 Add support for the Qt 5 application and UI framework

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

Emerge

Install dhcpcd-ui:

root #emerge --ask net-misc/dhcpcd-ui

Building from source

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

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

Configuration

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


Removal

Uninstall dhcpcd-ui:

root #emerge --ask --depclean --verbose net-misc/dhcpcd-ui

External resources

References