Changing the IP & Hostname

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO'Connorkevin_oconnor@geocities.com
Date:  
Subject: Changing the IP & Hostname
I think what you want is : netcfg
Be sure you invoke it from a terminal window running under X. You need
to run it as root also.....

Kevin

Datawolf wrote:
>
> Change your IP and related info in:
>    /etc/sysconfig/network
>    /etc/sysconfig/network-scripts/ifcfg-eth* (e.g. ifcfg-eth0)
>    /etc/hosts

>
> Change your hostname in:
>    /etc/sysconfig/network
>    /etc/hosts
>    /etc/HOSTNAME
> and run "hostname MYNEWNAME".

>
> Note that RedHat will determine your domain name from your /etc/hosts
> file.
>
> <editorial>
> Seems to me they keep the hostname info in way too many places.
> </editorial>
>
> -BVG
>
> AZ Pete wrote:
> >
> > Hi all,
> > I have a RedHat 6.0 system, that I must change both the hostname and IP on.
> > Can someone tell me all the relevant files that I must change this info in?
> >
> > Thanks,
> > Peter
> >
> > _______________________________________________
> > Plug-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--
Kevin O'Connor

"Waving away a cloud of smoke, I look up, and am blinded by a bright,
white
light. It's God. No, not Richard Stallman, or Linus Torvalds, but God.
In
a booming voice, He says: "THIS IS A SIGN. USE LINUX, THE FREE UNIX
SYSTEM
FOR THE 386."
(Matt Welsh)