Re: dhcp evils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-04-16 at 23:25 -0500, Michael Hennebry wrote:
> On Sat, 16 Apr 2005, Brian Truter wrote:
> 
> > On 4/16/05, Michael Hennebry <hennebry@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > > Recently my computer seems to have had
> > > a name transplant.
> > > When things I working right, it thinks
> > > its name is a combination of its IP
> > > address and cableone.
> > > The current name, the output of hostname,
> > > is one that I'd previously only seen when I'd
> > > booted a kernel that wouldn't talk my
> > > ethernet card.
> 
> >
> > You will find the logs in /var/log
> >
> > Your DHCP client messages would be in /var/log/messages
> 
> Thanks.  I had looked there before, but that was before I
> knew to look for dhclient instead of dhcp.
> 
> Alas it didn't solve the mystery, to wit,
> where is stmike coming from?  I suspect that I
> will never solve the mystery of where it came
> from originally, but I would dearly like to
> know where it is being stored.
> What I don't want to do is just find a way
> to force the hostname to be something else.
> That wouldn't tell me what is going on.
> 
> I'm pretty sure my setup is supposed to get the
> hostname through through dhcp.  That is the way
> it worked when I first managed to connect it
> to the internet.
> 
> Ideas anyone?

DHCP gives you an IP address, not a hostname. The hostname then comes
from doing a reverse lookup of the IP address (usually using DNS, but in
some environments this might be a hosts file, NIS etc.).

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux