Re: More on Re: Really changing the hostname

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



On Fri, Feb 15, 2013 at 1:35 PM, Les Mikesell <lesmikesell@xxxxxxxxx> wrote:

> On Fri, Feb 15, 2013 at 12:26 PM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
> wrote:
> >
>
> > And when you edit ifcfg-eth0 what command restarts the interface?
>
>
I generally throw in the following to ifcfg-___ just to be safe:
NM_CONTROLLED="no"


>  ifdown eth0
> ifup eth0
>

or
service network restart


>
> If you are changing related routes or the MAC address, do the down
> before the change so the right values are seen.  If you change
> something that doesn't affect the address you can usually stay
> connected if you put both commands on one line with a ; separator.
>
> --
>   Les Mikesell
>     lesmikesell@xxxxxxxxx
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

-- 
---~~.~~---
Mike
//  SilverTip257  //
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux