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    



Reply via email to