On December 18, 2016 9:32:25 AM GMT+01:00, Mick <michaelkintz...@gmail.com> 
wrote:
>On Sunday 18 Dec 2016 08:09:06 J. Roeleveld wrote:
>> On December 18, 2016 8:26:40 AM GMT+01:00, Mick
><michaelkintz...@gmail.com> 
>wrote:
>> >On Friday 16 Dec 2016 19:19:11 Poison BL. wrote:
>> >> On Fri, Dec 16, 2016 at 7:14 PM, Mick <michaelkintz...@gmail.com>
>> >
>> >wrote:
>> >> > I am looking at a Mint 18 installation and noticed when running
>> >
>> >netstat
>> >
>> >> > that
>> >> > all tcp connections are showing not the PC name, but
>> >
>> >"Knoppix":<port>.
>> >
>> >> > What might be the cause of this?  The installation was performed
>> >
>> >using a
>> >
>> >> > Mint
>> >> > LiveCD iso.
>> >> > --
>> >> > Regards,
>> >> > Mick
>> >> 
>> >> My first check would be /etc/hosts for an entry there. That, or
>> >
>> >lazily
>> >
>> >> grepping all of /etc for Knoppix.
>> >> 
>> >> It is strange that it's not using either the hostname as given
>during
>> >> setup, or an auto-generated potentially unique one, wherever it's
>> >
>> >pulling
>> >
>> >> that from.
>> >
>> >I've grep-ped the whole of /etc, no mention of "Knoppix" there.
>> >
>> >I've also looked in /var/lib/NetworkManager/dhclient-enp6s8.conf to
>see
>> >what
>> >hostname NetworkManager sends to dhclient.  No trace of "Knoppix" in
>> >there
>> >either.
>> >
>> >What else could it be creating or overriding a Local Address with
>one
>> >called
>> >"Knoppix", rather than what was set at installation time?
>> 
>> There is a hostname option in the kernel config. Maybe that is used
>> somewhere?
>> 
>> # zgrep -i knoppix /proc/config.gz
>> 
>> What does ' hostname ' return?
>> 
>> --
>> Joost
>
>hostname returns the correct name of the PC, as set in /etc/hosts. 
>I'll 
>investigate Tom H's hint that the local router's dhcp server may be the
>
>culrpit.  I seem to recall this PC had booted with a Knoppix CD some
>days ago, 
>perhaps this was cached by the router.

I think dhcpcd and co cache the results given in /var.... somewhere.
They also can log into /var/log/messages

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to