Re: Stupid Hostname Question?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Judd Pickell
Date:  
To: plug-discuss
Subject: Re: Stupid Hostname Question?
Okay.. Now i feel stupid.. Tried to follow the above, but didn't have
the conf file, and it looks like it uses the dhcpd (or some variant)
on boot.

So, I go monkeying about, I decide to man hostname just to see if I
missed something, and sure enough, wouldn't ya know, the file I was
looking for was in the man page.

For those that use FC, and have ever wanted to know where your
hostname is (that gets assigned at boot) it is at this location:
/etc/sysconfig/network

Open it up and modify the HOSTNAME=<ahostname> line, save, and reboot.
(or if you are really tricky you can do /etc/init.d/network restart
-- But this is only recommended if you aren't remoting in the box like
silly me was when I hit it.. )

Anyways.. Hope it helps someone else..

Sincerely,
Judd Pickell


On 6/2/05, Judd Pickell <> wrote:
> Ahh... Thanks. I will give it a try... (will be nice not have to be
> tied to an IP anymore..)
>
> On 5/27/05, Kevin <> wrote:
> > On Fri, 2005-05-27 at 16:14 -0700, Judd Pickell wrote:
> > > So guess the question is, how do I set the hostname so it stays even
> > > after reboot?
> >
> > Judd,
> > This is not a stupid question. I'm not sure if FC uses dhclient or
> > dhcpcd. If it's dhclient, you can use a "supersede" statement in
> > dhclient.conf
> >
> > <SNIP>
> > supersede [ option declaration ] ;
> >
> > If for some option the client should always use a locally-configured
> > value or values rather than whatever is supplied by the server, these
> > values can be defined in the supersede statement.
> > </SNIP>
> >
> > For example:
> > supersede host-name "foo";
> > supersede domain-name "bar.com";
> >
> > If FC uses dhcpcd, make sure your networking scripts are not passing the
> > -H switch to it.
> >
> > Either way see `man dhclient` or `man dhcpcd` for more details.
> >
> > Sorry I can't be more specific, but I do not use Fedora.
> >
> > ...Kevin
> >
> >
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss