Before the switch to systemd, I was able to ssh between my two machines via user@hostname but now I get a "could not resolve hostname" error and have to use the IP address instead.
karol wrote:The important thing is you're running it in VirtualBox, right? https://wiki.archlinux.org/index.php/Ar … lBox_GuestIIRC the hostname error is harmless.Woohoo! Works now. And thanks for mentioning the hostname error. It still happens but at least I can forget about it now.
carebearboy
https://bbs.archlinux.org/profile.php?id=50226
2011-07-24T18:03:39Z
Well, to help along the way, I found this: https://wiki.archlinux.org/index.php/Sy … er_boot.3FThat worked exactly as described. Now, though, the interface isn't failing anymore, so I can't diagnose what was happening in the first place, haha.Speculation still welcome. I don't much prefer to simply let a problem "disappear" without knowing what it was.
@ghen, you are right about this. But when I have seen this fudging things up, it usually ends up the hostname being the comment (in this case #hostname). Do you think that it is actually setting it as a blank line?
WonderWoofy
https://bbs.archlinux.org/profile.php?id=60312
2012-10-20T07:37:51Z
Thank you very much, that was it!I tried removing /etc/hostname and it just went fine. However $HOSTNAME was not defined anymore after that so I tried to define it in /etc/rc.conf and that worked properly.
tuvistavie
https://bbs.archlinux.org/profile.php?id=57105
2012-09-30T17:50:07Z
Since the demise of rc.conf I have been unable to find out how to set the system's domain name. I tried "hostnamectl set-hostname hostname.domain" but it just set the hostname to "hostnamedomain". I also tried setting it manually through the hostname utility but it broke GUI applications (could not connect to display error). No luck with google or tge wiki either.
/etc/hostname (or old style, HOSTNAME in rc.conf)
Allan
https://bbs.archlinux.org/profile.php?id=11253
2012-08-13T22:57:28Z
https://wiki.archlinux.org/index.php/Be … e#HostnameDeal with /etc/hostname and /etc/hosts, and configure the network from /etc/rc.conf, as explained on that page.
DSpider
https://bbs.archlinux.org/profile.php?id=28388
2012-09-17T22:56:47Z
Thanks, moetunes! My /etc/hostname has already been set to mybox .## /etc/hosts: static lookup table for host names##<ip-address> <hostname.domain.org> <hostname>127.0.0.1 localhost.localdomain localhost# End of fileThis should be correct. Unfortunately, the problem is still there. Could /etc/hosts be innocent, after all?