Re: Internet configuration on FC3

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

 



On Sun, 2005-01-23 at 13: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?

Sid,

After you finish editing ifcfg-eth0, as root:

# ifdown eth0 ; ifup eth0 ; ifconfig eth0

This will disable, then re-enable it with the new settings, and report the
status of your network interface.

--Doc Savage
  Fairview Heights, IL


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

  Powered by Linux