Hi Jonas18z,
I looked into your problem, and I thought it was strange that RuneAudio (which has a mDNS/bonjour service installed, namely avahi-daemon) couldn't lookup other mDNS hosts. The fix is quite simple, and I hope the developers can add it in a later version of RuneAudio:
You need to login to your RuneAudio as root, I can see from your post that you've got that part covered.
Next, run the command 'pacman -Sy' to synchronize the package databases:
- Code: Select all
[root@runeaudio ~]# pacman -Sy
:: Synchronizing package databases...
core 167.2 KiB 341K/s 00:00 [###################] 100%
alarm 27.2 KiB 223K/s 00:00 [###################] 100%
aur 67.2 KiB 517K/s 00:00 [###################] 100%
Next, run the command 'pacman -S nss-mdns':
- Code: Select all
[root@runeaudio ~]# pacman -S nss-mdns
resolving dependencies...
looking for inter-conflicts...
Packages (1): nss-mdns-0.10-6
Total Download Size: 0.01 MiB
Total Installed Size: 0.07 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
nss-mdns-0.10-6-armv6h 9.1 KiB 0.00B/s 00:00 [##################] 100%
(1/1) checking keys in keyring [##################] 100%
(1/1) checking package integrity [##################] 100%
(1/1) loading package files [##################] 100%
(1/1) checking for file conflicts [##################] 100%
(1/1) checking available disk space [##################] 100%
(1/1) installing nss-mdns [##################] 100%
==> To enable IPv4 multicast DNS lookups, append 'mdns4' to the hosts line
in /etc/nsswitch.conf. Use 'mdns6' for IPv6 or 'mdns' for both.
Finally edit the file /etc/nsswitch.conf using nano or vi. It looks like this to begin with:
- Code: Select all
[root@runeaudio ~]# cat /etc/nsswitch.conf
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
publickey: files
hosts: files dns myhostname
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
Change the line that starts with the word "hosts" to look like this:
- Code: Select all
hosts: files mdns_minimal [NOTFOUND=return] dns myhostname
It's important that the words "mdns_minimal [NOTFOUND=return]" are listed before the word "dns".
Now try pinging your NAS:
- Code: Select all
[root@runeaudio ~]# ping freenas.local
PING freenas.local (192.168.0.11) 56(84) bytes of data.
64 bytes from freenas.local (192.168.0.11): icmp_seq=1 ttl=64 time=0.606 ms
64 bytes from freenas.local (192.168.0.11): icmp_seq=2 ttl=64 time=0.404 ms