Weeeell, yes and no.  A lot of this is idiosyncratic (and should not
be, but APIs are the stuff of dollars for proprietary systems).  It
depends on what your ISP is doing, what sort of modem you have and
what not.  Your box should be able to feed the information to the
dhcp server upon request for an IP.  Due to all the different API's
for this, it often fails.  The generic info goes through, and you get
your IP, but the vendor specific API call fails and you get $^&# for
a machine name.  You should have: /etc/hostname on your PC.  IF, and
it can be a major pain, IF you can find what info your particular
dhcp server expects to see, that file is what you need to send it. 
Good luck mon ami.

Doug Riddle


--- Alex <[EMAIL PROTECTED]> wrote:
> Sorry, I should have said it a bit more clearer. 
> 
> I have one computer connected directly to a cable modem (via
> ethernet, not 
> usb).
> 
> My cable IP is dynamic.  At system bootup, it gets the ip address
> and dns 
> info.   It is also setting my $HOSTNAME to the name associated with
> my IP.  
> I would rather my $HOSTNAME stay to one I have setup on dyndns.org 
> (or 
> even just "localhost.localdomain").  
> 
> I need to insert a   "HOSTNAME=localhost.localdomain" somewhere
> ....
> I have heard that some dhcp clients can run scripts when the things
> are 
> changed or renewed / released.    Does  dhcpcd do that? I read the
> man 
> page but didn't see anything about that kind of thing....
> 
> Thanks
> 
> -Alex
> 
> 
> 
> On Fri, 2 Aug 2002 [EMAIL PROTECTED] wrote:
> 
> > Alex:
> >      You are looking for webmin: http://www.webmin.com
> > 
> >      I couldn't quite follow you on the dhcp.  Are you running
> dhcp
> > on a windows system, or a router, such as a linksys router?
> > 
> > Doug RIddle
> > 
> > 
> > --- [EMAIL PROTECTED] 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
> > > 
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > General mailing list
> > > [email protected]
> > > http://brlug.net/mailman/listinfo/general_brlug.net
> > 
> > 
> > =====
> > Warmest Regards,
> > Doug Riddle
> > http://www.dougriddle.com
> >  
> > ## Firearms are second only to the Constitution in importance;
> they are the Peoples' Liberty Teeth." - George Washington ##
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> > 
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://brlug.net/mailman/listinfo/general_brlug.net
> > 
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Reply via email to