Interner configuration on FC3
Scot L. Harris
webid at cfl.rr.com
Sun Jan 23 19:37:23 UTC 2005
On Sun, 2005-01-23 at 14:30, Analog Kid wrote:
> Hi,
>
> I use FC3 both at work and at home. At work I have a STATIC IP
> address and at home I have a DYNAMIC IP (DHCP) internet connection.
>
> Everyday when I reach work (or get back home) I edit the
> "/etc/sysconfig/network-scripts/ifcfg-eth0" file in order to change
> from DHCP to static IP (or vice versa) after I start FC3 and then
> restart the system for the new network settings to take effect.
>
> Is there a command I can run to restart the network detection
> process without rebooting once I edit the ifcfg-eth0 file?
You can try the following:
/sbin/service network restart
or
/sbin/ifdown eth0
/sbin/ifup eth0
--
Scot L. Harris
webid at cfl.rr.com
In war, truth is the first casualty.
-- U Thant
More information about the fedora-list
mailing list