Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 17:21:21 +0200
From:      Michelle Sullivan <michelle@sorbs.net>
To:        Christian Alge <lists@burnus.net>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Server insists on wrong hostname
Message-ID:  <54394AF1.7000807@sorbs.net>
In-Reply-To: <5439485F.4000002@burnus.net>
References:  <5438F7A4.4070908@burnus.net> <54392A57.7020704@sorbs.net> <54393142.4050005@burnus.net> <5439326B.3070508@sorbs.net> <54393C76.7090702@burnus.net> <54393DBD.4030602@sorbs.net> <5439485F.4000002@burnus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Alge wrote:
> I do not know, how to put it in debug mode. The manpages of dhclient and
> dhclient.conf are not very helpful..
> Instead I reinvoked dhclient for the interface with dhcpdump running.
> The output looks right to me (see below, slightly obfuscated).. Notice
> that both the request and the reply contain the correct hostname (in
> option 12). However, the hostname does not seem to be set in the end
> (hostname still reports the old name).
> And yes, I did restart the DHCP server after changing the config.
>   

:) you are correct it does show the correct hostname in the DHCP
reply... ok I'm as stumped as you... the only other option I can think
is if something is setting HOSTNAME as an environmental variable (in
your login shell) .. but I thought using the hostname command would read
the system not your env ... so am stumped without getting onto the
system myself and poking around (which even if that was an option for
you, it wouldn't be for me, sorry.)

Michelle

-- 
Michelle Sullivan
http://www.mhix.org/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54394AF1.7000807>