system-config-network is a graphical user interface tool used to configure network interfaces on CentOS 6.2. This tool provides an easy way to manage network settings, such as IP addresses, DNS servers, and network adapters.
[root@centos6 ~]# system-config-network -bash: /usr/sbin/system-config-network: No such file or directory
In this guide, we will show you how to install system-config-network on CentOS 6.2.
Step 1: Update package index
Before installing system-config-network, it is recommended to update the package index on your CentOS 6.2 server. Open a terminal and run the following command:
sudo yum update
This will update the package index and ensure that you have the latest packages available.
Step 2: Install system-config-network
Once the package index is updated, you can install system-config-network by running the following command:
sudo yum install system-config-network
This will download and install the system-config-network package along with any required dependencies.
[root@centos6 html]# yum install system-config-network-tui Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.ipserverone.com * extras: centos.ipserverone.com * updates: centos.ipserverone.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package system-config-network-tui.noarch 0:1.6.0.el6.2-1.el6 will be installed --> Processing Dependency: usermode for package: system-config-network-tui-1.6.0.el6.2-1.el6.noarch --> Processing Dependency: python-iwlib for package: system-config-network-tui-1.6.0.el6.2-1.el6.noarch --> Processing Dependency: python-ethtool for package: system-config-network-tui-1.6.0.el6.2-1.el6.noarch --> Processing Dependency: pciutils for package: system-config-network-tui-1.6.0.el6.2-1.el6.noarch --> Processing Dependency: dbus-python for package: system-config-network-tui-1.6.0.el6.2-1.el6.noarch --> Running transaction check ---> Package dbus-python.i686 0:0.83.0-6.1.el6 will be installed ---> Package pciutils.i686 0:3.1.4-11.el6 will be installed ---> Package python-ethtool.i686 0:0.6-1.el6 will be installed --> Processing Dependency: libnl.so.1 for package: python-ethtool-0.6-1.el6.i686 ---> Package python-iwlib.i686 0:0.1-1.2.el6 will be installed --> Processing Dependency: wireless-tools >= 28-0.pre8.5 for package: python-iwlib-0.1-1.2.el6.i686 --> Processing Dependency: libiw.so.29 for package: python-iwlib-0.1-1.2.el6.i686 ---> Package usermode.i686 0:1.102-3.el6 will be installed --> Running transaction check ---> Package libnl.i686 0:1.1-14.el6 will be installed ---> Package wireless-tools.i686 1:29-5.1.1.el6 will be installed --> Processing Dependency: crda for package: 1:wireless-tools-29-5.1.1.el6.i686 --> Running transaction check ---> Package crda.i686 0:1.1.1_2010.11.22-1.el6 will be installed --> Processing Dependency: iw for package: crda-1.1.1_2010.11.22-1.el6.i686 --> Running transaction check ---> Package iw.i686 0:0.9.17-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved =============================================================================================== Package Arch Version Repository Size =============================================================================================== Installing: system-config-network-tui noarch 1.6.0.el6.2-1.el6 CentOS6.2-Repository 1.2 M Installing for dependencies: crda i686 1.1.1_2010.11.22-1.el6 CentOS6.2-Repository 23 k dbus-python i686 0.83.0-6.1.el6 CentOS6.2-Repository 196 k iw i686 0.9.17-4.el6 CentOS6.2-Repository 34 k libnl i686 1.1-14.el6 CentOS6.2-Repository 123 k pciutils i686 3.1.4-11.el6 CentOS6.2-Repository 83 k python-ethtool i686 0.6-1.el6 CentOS6.2-Repository 28 k python-iwlib i686 0.1-1.2.el6 CentOS6.2-Repository 14 k usermode i686 1.102-3.el6 CentOS6.2-Repository 187 k wireless-tools i686 1:29-5.1.1.el6 CentOS6.2-Repository 92 k Transaction Summary =============================================================================================== Install 10 Package(s) Total download size: 2.0 M Installed size: 7.2 M Is this ok [y/N]: y Downloading Packages: ----------------------------------------------------------------------------------------------- Total 7.6 MB/s | 2.0 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libnl-1.1-14.el6.i686 1/10 Installing : iw-0.9.17-4.el6.i686 2/10 Installing : crda-1.1.1_2010.11.22-1.el6.i686 3/10 Installing : 1:wireless-tools-29-5.1.1.el6.i686 4/10 Installing : python-iwlib-0.1-1.2.el6.i686 5/10 Installing : python-ethtool-0.6-1.el6.i686 6/10 Installing : usermode-1.102-3.el6.i686 7/10 Installing : dbus-python-0.83.0-6.1.el6.i686 8/10 Installing : pciutils-3.1.4-11.el6.i686 9/10 Installing : system-config-network-tui-1.6.0.el6.2-1.el6.noarch 10/10 Installed: system-config-network-tui.noarch 0:1.6.0.el6.2-1.el6 Dependency Installed: crda.i686 0:1.1.1_2010.11.22-1.el6 dbus-python.i686 0:0.83.0-6.1.el6 iw.i686 0:0.9.17-4.el6 libnl.i686 0:1.1-14.el6 pciutils.i686 0:3.1.4-11.el6 python-ethtool.i686 0:0.6-1.el6 python-iwlib.i686 0:0.1-1.2.el6 usermode.i686 0:1.102-3.el6 wireless-tools.i686 1:29-5.1.1.el6 Complete!
Step 3: Launch system-config-network
After installing system-config-network, you can launch it by running the following command:
sudo system-config-network
This will open the graphical user interface for system-config-network.
Step 4: Configure network settings
Once system-config-network is launched, you can use it to configure network settings. You can add or edit network interfaces, set IP addresses, DNS servers, and network adapters. When you are done configuring network settings, click the “Save” button to apply the changes.
Step 5: Restart network service
After configuring network settings, you need to restart the network service to apply the changes. You can do this by running the following command:
sudo service network restart
This will restart the network service and apply the new network settings.
Conclusion:
In this guide, we have shown you how to install system-config-network on CentOS 6.2. This tool provides an easy way to manage network settings on your server. Remember to update the package index before installing system-config-network and to restart the network service after configuring network settings.