You are not logged in.

#1 2021-11-29 12:16:39

Noki
Member
Registered: 2018-06-08
Posts: 100

[SOLVED] Cannot ping by name computers on my LAN

Hi,

I am switching back to Arch after a stint on Manjaro, after installing on my XPS 15 everything works except name resolution.

My NAS is called kablamo, and on my Manjaro Desktop (and XPS 13 running Mint) I can ping it just fine using "ping kablamo.local".

This is not the case on this Arch install. I am running KDE via SDDM and NetworkManager. I can ping it via the IP 192.168.1.8.

My /etc/resolv.conf looks like:

# Generated by NetworkManager
search workgroup
nameserver 1.1.1.1
nameserver 192.168.1.2

the nameserver listed is my router, which is running DHCP though the NAS has a fixed IP.

My /etc/hosts file looks like:

127.0.0.1  localhost
::1  localhost ip-localhost ip6=localhost
127.0.0.1  computername

where computername matches the string in /etc/hostname

I've been comparing related files to my Manjaro desktop in an attempt to fix but cannot see what I am missing. Shouldn't installing NetworkManager and enabling/starting it have set this up correctly?

https://wiki.archlinux.org/title/Domain_name_resolution this says that it is provided as part of glibc which is installed as it should be.

What else can I look at to resolve this?

Thanks in advance.
Noki

Last edited by Noki (2021-11-29 12:35:13)

Offline

#2 2021-11-29 12:19:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,935

Re: [SOLVED] Cannot ping by name computers on my LAN

for .local resolution you want to setup avahi: https://wiki.archlinux.org/title/Avahi

Offline

#3 2021-11-29 12:35:02

Noki
Member
Registered: 2018-06-08
Posts: 100

Re: [SOLVED] Cannot ping by name computers on my LAN

Yes, that fixed it. Many thanks!

Offline

Board footer

Powered by FluxBB