You are not logged in.

#1 2013-01-18 16:39:43

nordog
Member
From: Iceland
Registered: 2009-02-22
Posts: 38

[SOLVED] Hostname is "new-host" in router dhcp table

I've just installed Arch Linux on a machine for the first time since the systemd changeover. Now, when I look at my router's DHCP connections, the computer hostname is listed as "new-host". However, I've set the correct hostname in /etc/hostname and run the hostnamectl command, and when I issue the command 'hostname' it tells me that my hostname is correct (i.e. something else than "new-host").

So, where is my router getting this "new-host" hostname from? Is there another place where I should be configuring the hostname besides these?

Last edited by nordog (2013-01-18 22:13:53)

Offline

#2 2013-01-18 18:35:17

tharugrim
Member
Registered: 2012-07-20
Posts: 6

Re: [SOLVED] Hostname is "new-host" in router dhcp table

Offline

#3 2013-01-18 18:56:30

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Hostname is "new-host" in router dhcp table

Maybe the DHCP lease given to your PC during the installation is still active.
Did you try rebooting router?

Offline

#4 2013-01-18 22:13:34

nordog
Member
From: Iceland
Registered: 2009-02-22
Posts: 38

Re: [SOLVED] Hostname is "new-host" in router dhcp table

Saran: Thanks for the suggestion. I tried rebooting the router but it didn't do the trick.

Tharugrim:

Thanks for pointing this out to me. I added

dhcp=dhcpcd

to /etc/NetworkManager/NetworkManager.conf and that took care of the issue.

Best regards

Offline

Board footer

Powered by FluxBB