hostname goes in /etc/sysconfig/network HOSTNAME=<your name here>
----- Original Message ----- From: "Terry Stockdale" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 02, 2002 6:44 PM Subject: Re: [brlug-general] RedHat Hostnames and DHCP > Alex, you can handle the script in rc.local: > 1) put your hostname in /etc/HOSTNAME > 2) in /etc/rc.d/rc.local, add the command: hostname -F /etc/HOSTNAME > > At 02:51 PM 8/2/2002 -0500, you wrote: > >I just installed RedHat 7.3. Its been a while since I used linux. I > >messed around with it a few years ago but it didn't support my hardware > >too well so I gave up. > > > >I'm on a cable modem and I have a dynamic IP address. I'm also set up on > >dyndns.org and have a domain name . > > > >The problem is that when the dhcp client runs, it seems to set my hostname > >to whatever corresponds to my current ip address. > > > >This is causing problems because things like "tripwire" stores its keys > >based on the hostname. > > > >How do I permanently fix my hostname? I was thinking in one of the startup > >scripts, I should put something like "hostname xxx", but I'm not sure > >which one. > > > > > >Also, I have heard about a web based remote administration utility for > >linux. It could manage services, configure apache and samba, and do a few > >other things. I forgot its name. Has anyone here heard of anything like > >that? > > > > > >Thank You all, > > > >-Alex > > -- > Terry Stockdale -- [EMAIL PROTECTED] -- Baton Rouge, LA > website: http://www.dadstoy.net > > > > _______________________________________________ > General mailing list > [email protected] > http://brlug.net/mailman/listinfo/general_brlug.net
