NetworkManager Setup

Last Edit: 2024.08.06

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.

NetworkManager TUI - Edit a connection.

Choose the interface to configure from the list and select Edit.

NetworkManager TUI - Edit a connection - Ethernet.

Modify the interface configuration as necessary.

SettingValueDescription
IPv4 ConfigurationManualDisable DHCP by selecting manual.
Addresses192.168.1.199/24IP address and subnet for the system.
Gateway192.168.1.1Default gateway, usually the router IP.
DNS Servers9.9.9.9, 149.112.112.112Define DNS servers to use, use the gateway IP to use network DNS servers. This example uses Quad9.
Ignore automatically obtained DNS parameterstrueEnable this to prevent the system from using network DNS servers. Only use this if defining DNS servers.
Require IPv4 addressing for this connectiontrueOptional, can be left as false.
IPv6 ConfigurationDisabledEnable for IPv6 support.

NetworkManager TUI - Ethernet interface configuration.

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.

NetworkManager TUI - Set system hostname.

Define a hostname when prompted, select OK.

NetworkManager TUI - Hostname configuration.

Radio Switches

Control the state of radios on the system.

Select Radio in the NetworkManager TUI.

NetworkManager TUI - Radio.

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.

NetworkManager TUI - Radio switches status.

Apply Changes

Quit the NetworkManager TUI.

NetworkManager TUI - Quit.

Reboot the system to apply changes.

sudo reboot

References

1 2 3


  1. Debian. “NetworkManager.” 2024. ↩︎

  2. Fedora. “NetworkManager.” 2024. ↩︎

  3. OpenSUSE. “NetworkManager.” 2024. ↩︎