This section provides information about updating or reconfiguring the network adapter on a SUSE SLES12SP5 device using the `yast2 lan` tool. The `yast2 lan` tool is a part of YaST (Yet another Setup Tool) which is the SUSE Linux installation and configuration tool.
To update or reconfigure a network adapter, perform the following steps:
Open a terminal window and run the following command:
sudo yast2
Use the arrow keys to navigate and the Enter key to select options.
In the YaST Control Center, navigate to Network Devices using the arrow keys.
Select Network Settings and press Enter. This Network Settings window is displayed where you can configure network interfaces.
Select the interface you want to configure from the list of network interfaces. These are the network adapters available on your device. The list might include entries like eth0, wlan0, or enp0s3 depending on your hardware.
Considerations:
eth0: This is typically the designation for the first Ethernet interface.
wlan0: This is typically the designation for the first wireless interface.
enp0s3: This is a newer naming convention (Predictable Network Interface Names) for network interfaces.
Click the Edit button to modify the selected network interface settings. The Edit Network Interface window is displayed where you can configure various settings.
Options available in the Edit Network Interface window:
Address: Configure the IP address settings (e.g., static or dynamic using DHCP).
Hardware: Set the device name, MAC address, and other hardware-related settings.
General: Configure general settings like device activation and MTU.
Routes: Configure static routes for the interface.
In the Edit Network Interface window, configure the following network settings as per your requirements:
IP Address: Set a static IP address or choose DHCP for dynamic assignment.
Subnet Mask: Set the subnet mask for the network.
Default Gateway: Set the default gateway for the network.
DNS Servers: Set the DNS servers to be used for name resolution.
Considerations:
Static IP: Useful for servers or devices that need a fixed IP address.
DHCP: Useful for client devices that can receive an IP address automatically from a DHCP server.
DNS Servers: Can be provided by your ISP or you can use public DNS servers like Google (8.8.8.8) or Cloudflare (1.1.1.1).
After configuring the network settings, click Next to save the changes.
Review the summary of your changes and then click Finish to apply the changes. YaST will apply the changes and restart the network service if necessary.
NOTE:Review all settings before applying changes to avoid network connectivity issues. If you encounter any issues, you can always revert to the previous settings or reconfigure using YaST.