Re: linux IP address (change)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Aug 2006, Matthew Benjamin wrote:

> What is the easiest way from command line to set or change the IP address of
> a linux box (FC4)?

The _easiest_ way, assuming you only have one network interface, is to run 
'netconfig' and then run 'service network restart' (both as 'root').

While editting /etc/sysconfig/network-scripts/ifcfg-eth0 (assuming that 
you have an ethernet connection) will work fine and permanently - it 
doesn't qualify as the _easiest_ way to set/change it for a simple 
configuration.

-- 
Benjamin Franz

"It is moronic to predict without first establishing an error rate
 for a prediction and keeping track of one’s past record of accuracy."
                    -- Nassim Nicholas Taleb, Fooled By Randomness

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux