NetworkManager Setup
Fedora / Rocky / RHEL
OpenSUSE MicroOS
Overview
Configure network settings with NetworkManager.
Assumptions
- Logged in as administrative user.
NetworkManager TUI
Modify the network configuration with the NetworkManager TUI.
sudo nmtui
Static IP Address
Define a static IP address for the system.
Select Edit a connection
in the NetworkManager TUI.
Choose the interface to configure from the list and select Edit
.
Modify the interface configuration as necessary.
Setting | Value | Description |
---|---|---|
IPv4 Configuration | Manual | Disable DHCP by selecting manual. |
Addresses | 192.168.1.199/24 | IP address and subnet for the system. |
Gateway | 192.168.1.1 | Default gateway, usually the router IP. |
DNS Servers | 9.9.9.9 , 149.112.112.112 | Define DNS servers to use, use the gateway IP to use network DNS servers. This example uses Quad9. |
Ignore automatically obtained DNS parameters | true | Enable this to prevent the system from using network DNS servers. Only use this if defining DNS servers. |
Require IPv4 addressing for this connection | true | Optional, can be left as false. |
IPv6 Configuration | Disabled | Enable for IPv6 support. |
Select OK
followed by Back
to return to the main menu.
System Hostname
Set a hostname for the system.
Select Set system hostname
in the NetworkManager TUI.
Define a hostname when prompted, select OK
.
Radio Switches
Control the state of radios on the system.
Select Radio
in the NetworkManager TUI.
Modify the radio configuration as necessary. Disable all radios that will not be utilized. If the system is connected via ethernet and will not use WiFi, disable all radios.
Apply Changes
Quit the NetworkManager TUI.
Reboot the system to apply changes.
sudo reboot
References
Debian. “NetworkManager.” 2024. ↩︎
Fedora. “NetworkManager.” 2024. ↩︎
OpenSUSE. “NetworkManager.” 2024. ↩︎