You are not logged in.
Arghh!
I am struggling to get my laptop to resolve either "localhost" or "pantherworm" (which is my hostname), which used to work just fine. The machine uses networkmanager to manage both wireless and wired connections. Neither name works.
hostname -a
hostname: Unknown host
This is what I currently have in /etc/hosts (having tried five hundred thousand million billion variants with no success up until this point):
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost pantherworm
::1 localhost6.localdomain6 localhost6
::1 localhost.localdomain localhost
127.0.0.1 localhost
127.0.0.1 pantherworm
# End of file
I suspect there is a recent regression somewhere in the network pipeline. Does your machine use networkmanager and resolve localhost and your hostname correctly? Please please post your settings/file contents to get this working!
Offline
did you enter the hostname in /etc/rc.conf?
Offline
did you enter the hostname in /etc/rc.conf?
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="pantherworm"
Offline
Try adding your hostname to the ipv6 lines too in /etc/hosts.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Does it work w/o ipv6? If not, try only this one line in /etc/hosts:
127.0.0.1 pantherworm.localdomain localhost.localdomain localhost pantherworm
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Please post the output of ifconfig and ls -l /etc/hosts
[]s
Luiz
Offline
Here is an update on the issue. At the office I use manual settings of a normal ipv4 network and neither hostname -a nor hostname -f returns anything more than an empty line. At home I get my network settings from my wireless router running Gargoyle and while hostname -a still does not return anything, hostname -f returns:
pantherworm.BLODAN
Still no localhost though...
Offline
Does it work w/o ipv6? If not, try only this one line in /etc/hosts:
127.0.0.1 pantherworm.localdomain localhost.localdomain localhost pantherworm
Tried it. Makes no difference :-(
Offline