Network Device Updates w/ Command Line

Mindwatering Incorporated

Author: Tripp W Black

Created: 11/18/2007 at 02:04 PM

 

Category:
Linux
Configuration

If adding new devices run "setup" or the network config files in: /etc/sysconfig/networking/

In /etc/sysconfig/networking/devices/ are your ethernet configuration file(s).
In addition, there are another set of these files in the /etc/sysconfig/networking/profiles/default/ folder.
Lastly, there is another in set in /etc/sysconfig/network-scripts. (The ones here will create the others if you run the Fedora / RedHat setup program.)
If you need to remove a device, simply delete the file here with the "rm" command.

Other possible updates:
Change the DNS by changing resolv.conf
/etc/resolv.conf

Change the hostname by updating the hostname file.
/etc/sysconfig/network

Update the hosts entry with the hostname, too.
/etc/hosts


previous page

×