You are not logged in.
Hi All,
My issue is Networking, I cannot access my network machines with friendly names. In Manjaro and Mint I can ping 'kablamo.local' and get a response from my NAS. Under Arch I can only seem to use IP. I have tried many variants: kablamo kablamo.localdomain kablamo.workgroup and nothing seems to work. I am clearly missing something in my Network setup.
I haven't used Arch for over a year, but I didn't have this issue previously (same machine). I am trying to fix now but any help would be appreciated. Next post has more details about what I did during the install etc.
Thanks, Noki
(edited to remove a second issue, will make another post about that)
Last edited by Noki (2020-09-19 15:35:50)
Offline
Please choose one topic per thread. You also give us nothing to comment on in terms of what could be the problem: post the steps you performed and which guide you used to configure your networking, for example.
Offline
My apologies I should have made it a single issue. I will update the original post to just the network thing. In terms of my steps I followed the Arch Installation Wiki and then ran through General Recomendations and did some items from there.
This pastebin shows most of my Bash History for root and noki users. The only part it doesn't show is the initial install from the live USB. The only things it won't show are what I edited in some files, like enabling multi-lib for 32bit apps or adding 'noki' as a sudoer. I did everything basically as the guides describe.
For networking I used dhcpcd and NetworkManager (as I have used them before).
If I use Dolphin to browse to 'Network > Shared Folders (SMB)' I can see 'KABLAMO' as a folder in there, which I can then browse inside. But I can't ping or mount it via terminal with a friendly name which is strange. Right now I am running through the guides again to see if I missed anything.
Last edited by Noki (2020-09-19 14:52:19)
Offline
You have both dhcpcd and NetworkManager enabled. The services are competing to control the interface and this causes issues. If you stop and disable one of the two is the issue still present?
Edit:
From the bash history as an off topic note systemd-udevd.service and systemd-modules-load.service are statically enabled and can not be controlled by systemctl enable or systemctl disable.
Last edited by loqs (2020-09-19 15:01:19)
Offline
Hi, I must have had my wires crossed, I just tried this:
[noki@GRANDSLAM ~]$ sudo systemctl disable NetworkManager.service
Removed /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
[noki@GRANDSLAM ~]$ sudo systemctl stop NetworkManager.service
[noki@GRANDSLAM ~]$ ping kablamo.local
ping: kablamo.local: Name or service not known
[noki@GRANDSLAM ~]$ ping kablamo
ping: kablamo: Name or service not known
[noki@GRANDSLAM ~]$ ping kablamo.localdomain
ping: kablamo.localdomain: Name or service not known
[noki@GRANDSLAM ~]$ ping kablamo.workgroup
ping: kablamo.workgroup: Name or service not known
[noki@GRANDSLAM ~]$ ping 192.168.1.7
PING 192.168.1.7 (192.168.1.7) 56(84) bytes of data.
64 bytes from 192.168.1.7: icmp_seq=1 ttl=64 time=0.254 ms
64 bytes from 192.168.1.7: icmp_seq=2 ttl=64 time=0.357 ms
^C
--- 192.168.1.7 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1012ms
rtt min/avg/max/mdev = 0.254/0.305/0.357/0.051 msI don't need a Network Manager so dhcpcd should be sufficient for me.
Last edited by Noki (2020-09-19 15:05:15)
Offline
Are you using Samba#NetBIOS/WINS_host_names to resolve kablamo or AVAHI or something else?
Offline
FIXED, thank you! I didn't seem to have samba fully setup so that should now be resolved (testparm returns no errors) and I didn't have avahi-daemon.service installed and running. Having now done this and rebooted the issue still persisted. In fact I could no longer browse in Dolphin neither, however I could still see the KABLAMO folder, but it said "Could not connect to host for smb://kablamo.local/" when I tried.
But then I noticed I missed this step '/etc/nsswitch.conf' and adding the line 'mdns_minimal [NOTFOUND=return]' to hosts and boom:
[noki@GRANDSLAM ~]$ ping kablamo.local
PING kablamo.local(KABLAMO.local (fe80::d63d:7eff:fe37:994c%enp4s0)) 56 data bytes
64 bytes from KABLAMO.local (fe80::d63d:7eff:fe37:994c%enp4s0): icmp_seq=1 ttl=64 time=0.344 ms
64 bytes from KABLAMO.local (fe80::d63d:7eff:fe37:994c%enp4s0): icmp_seq=2 ttl=64 time=0.225 ms
^C
--- kablamo.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 0.225/0.284/0.344/0.059 msThanks again for the help.
Offline