You are not logged in.

#1 2017-10-10 11:31:32

rbaj
Member
Registered: 2016-01-27
Posts: 36

Different hostname for different interfaces?

I use pi-hole as a DHCP server. My laptop shows up twice in the list of active leases: once with the wifi MAC and once with the ethernet MAC (different IPs). The wifi MAC has the correct hostname. The ethernet MAC says the hostname is 'unknown'. It caused me some minor confusion seeing an unknown device in the list. Is there somewhere in Arch Linux that I can set the ethernet hostname? Thanks.

Offline

#2 2017-10-10 13:19:19

rbaj
Member
Registered: 2016-01-27
Posts: 36

Re: Different hostname for different interfaces?

Google has answers... https://unix.stackexchange.com/question … cp-and-dns

I'll mark as solved when I've confirmed this fixed the problem.

Offline

#3 2017-10-12 07:46:41

rbaj
Member
Registered: 2016-01-27
Posts: 36

Re: Different hostname for different interfaces?

NetworkManager gives the right hostname in the logs, dhclient setup as per the wiki, etc. I think the problem is with the pi-hole: whichever interface connects first is given the hostname, then the second interface is labelled 'unknown'. So concluded but not solved.

Offline

Board footer

Powered by FluxBB