Network management

Resources

This article Article description::lists network management software to establish and manage network connections.

Gentoo provides several tools for managing network connections. If you have emerged OpenRc without network support, i.e. with both USE flags netifrc and newnet disabled, you might need to set up a network manager such as net-misc/netifrc, net-misc/dhcpcd, net-misc/wicd, net-misc/networkmanager, or net-vpn/badvpn. Or, you have the option of emerging openrc with the newnet use flag and configuring /etc/conf.d/network and /etc/conf.d/staticroute if you only use static interfaces.[1]

Available software

Important
The solutions listed here typically do not work together. Be sure only one of these services is running at a time. Starting more than one network management service will lead to unpredictable results!
Name Package Description
Connmannet-misc/connmanConnMan is a command-line network manager designed for use with embedded devices
Netifrcnet-misc/netifrcGentoo's own network configuration scripts, split from OpenRC
Network management using DHCPCDnet-misc/dhcpcdexplains how to use dhcpcd for complete network stack management.
NetworkManagernet-misc/networkmanagera network management software for Ethernet, WiFi, DSL, dialup, VPN, WiMAX, and mobile broadband network connections
OpenRC [newnet]sys-apps/openrcThe newnet USE flag enables the new network stack (experimental)

The easiest to use is dhcpcd. It has perfect integration for wpa_supplicant and automatically switches between wired and wireless connections. In case of using dhcpcd as network manager, the USE flags netifrc and newnet may be deactivated in OpenRC.

FILE /etc/portage/package.useDisabling netifrc and newnet
sys-apps/openrc -netifrc -newnet

Gentoo's standard however for network management is using Gentoo net.* scripts aka netifrc.

Comparison table with wifi supplicant and modem managers

Here are some network packages, along with their capabilities, that are available in Gentoo:

Note
The solutions listed as "Network managers" usually make use of other software listed below, e.g. wpa_supplicant.
Gentoo provides several tools for managing your network connections.
Software Ethernet Wifi DSL Modem WiMAX 3G VPN GUI Boot time
Network managers
Netifrc Yes Yes Yes Yes Yes Yes Yes No Can use gui of wpa_supplicant Yes
DHCPCD Yes Yes No No No No No Yes See dhcpcd-ui article Yes
NetworkManager Yes Yes Yes No Yes Yes Yes Yes Yes
Wifi supplicant
wpa_supplicant Yes Yes No No Yes No No Yes qt5 use flag provides wpa_gui Yes
iwd Yes Yes No No No No No No Yes
Modem only
net-dialup/wvdial No No No Yes No Yes No No No

See also

References

This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.