Back
If there's trouble with a network configuration, one thing to check is the current status of the network. To do so, run the following command.
# /etc/init.d/network status
The command should list the configured and active devices. If a key device such as eth0 is not listed as active, that explains why the network seems to down. Key configuration files start with /etc/sysconfig/network. They continue with files in the /etc/sysconfig/network-scripts directory.
Sometimes mistakes happen. If you have deactivated an adapter or just lost a wireless connection, one simple solution may be to restart networking. The following command restarts networking with current configuration files.
# /etc/init.d/network restart
If a simple restart of networking services doesn't work, then it's time to get into the files.
If there's trouble with a network configuration, one thing to check is the current status of the network. To do so, run the following command.
# /etc/init.d/network status
The command should list the configured and active devices. If a key device such as eth0 is not listed as active, that explains why the network seems to down. Key configuration files start with /etc/sysconfig/network. They continue with files in the /etc/sysconfig/network-scripts directory.
Sometimes mistakes happen. If you have deactivated an adapter or just lost a wireless connection, one simple solution may be to restart networking. The following command restarts networking with current configuration files.
# /etc/init.d/network restart
If a simple restart of networking services doesn't work, then it's time to get into the files.