How to change settings on Linux Systems

From CyberWurx Customer Wiki

Revision as of 02:53, 23 October 2007 by Cwadmin (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This area will discuss the different operating systems we offer and where to change important system files.

Networking

The core system files of your network.

CentOS

CentOS will store network settings inside a directory named:

/etc/sysconfig/network-scripts/

The particular file that has your settings (depending on your interface), would be:

ifcfg-eth0 (or eth1 etc...)

The ifcfg-ethX file will look something like this:

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
  • These settings are an example and by no means reflect your configuration.

Netconfig

These settings may be a little cryptic to the normal user, so CentOS came packaged with a network configuration interface.

Simply use the following command at your bash prompt:

netconfig

You will see a easy to understand, easy to use menu come up and allow you to enter your networking data.

After modifying your network information, you should either reboot or issue the following:

/etc/init.d/networking restart
Personal tools