Note: “CentOS Dolphin” typically refers to CentOS 8/Stream 8 (or later) with the KDE Plasma Desktop (where Dolphin is the default file manager). Network configuration in this context involves system-wide network settings (managed by NetworkManager) rather than Dolphin-specific configurations. Below are key network configuration techniques for CentOS with KDE Dolphin:
Before making changes, verify existing network interfaces and settings:
ip addr show (preferred) or ifconfig (legacy) to list all network interfaces, their IP addresses, and statuses.ip addr show
For a persistent static IP setup (recommended for servers or fixed networks):
ens33 with your actual interface name, e.g., eth0):sudo vi /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static # Disable DHCP (use static IP)
ONBOOT=yes # Enable interface at boot
IPADDR=192.168.1.100 # Static IP address
NETMASK=255.255.255.0 # Subnet mask (or use PREFIX=24)
GATEWAY=192.168.1.1 # Default gateway
DNS1=8.8.8.8 # Primary DNS server
DNS2=8.8.4.4 # Secondary DNS server
sudo systemctl restart NetworkManager
ip addr show ens33 # Check IP assignment
ping 8.8.8.8 # Test external connectivity
For a user-friendly approach, use the NetworkManager Text User Interface (nmtui):
sudo nmtui
ens33) → Press Enter.192.168.1.100/24), gateway (192.168.1.1), and DNS servers (comma-separated).Tab to highlight OK → Press Enter → Save changes.sudo systemctl restart NetworkManager
Alternatively, use the KDE Plasma System Settings for network configuration:
If your network requires a proxy server (e.g., for internet access in Dolphin):
proxy.example.com (replace with your proxy address)8080 (default for HTTP proxies)localhost, 127.0.0.1).ONBOOT=yes in config file) and cables are connected. Use ip link show to check interface status.ping 192.168.1.1 (gateway) and ping 8.8.8.8 (external DNS).sudo systemctl restart NetworkManager) instead of the legacy network service.sudo systemctl stop firewalld)—re-enable it afterward for security.These techniques cover essential network configuration tasks for CentOS with KDE Dolphin. For advanced scenarios (e.g., VLANs, bonding), refer to the CentOS NetworkManager documentation.