You are not logged in.

#26 2012-10-27 20:59:55

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: Can't locate hostnamectl to set hostname

2ManyDogs wrote:

You don't need to reinstall from the AUR if you still have the PKGBUILD files and the source. Just edit the PKGBUILD and rebuild the packages, as described in this topic.


Thanks I didn't even think of that.

Thanks for all your help.

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#27 2012-10-28 20:32:36

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

Re: Can't locate hostnamectl to set hostname

Wiki wrote:

You no longer need to edit /etc/hosts, nss-myhostname will provide host name resolution, and is installed on all systems by default.

What is my /etc/hosts supposed to look like now?

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	localhost.localdomain	localhost asus
::1		localhost.localdomain	localhost asus

# End of file

Offline

#28 2012-10-28 20:44:49

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: Can't locate hostnamectl to set hostname

afaik it can stay as it is. It just isn't required anymore to add your hostname to the localhost entries.

Offline

#29 2012-11-05 22:59:26

12eason
Banned
Registered: 2010-07-20
Posts: 103

Re: Can't locate hostnamectl to set hostname

Somewhat related: how do you set multiple hostnames with hostnamectl?

Last edited by 12eason (2012-11-05 22:59:43)

Offline

Board footer

Powered by FluxBB