Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


moOde sometimes shows up LAN as <hostname>-2.local
#4
(02-02-2025, 08:33 PM)DRONE7 Wrote:
Code:
:~$ sudo arp-scan --localnet  --ouifile=/usr/share/arp-scan/ieee-oui.txt --macfile=/etc/arp-scan/mac-vendor.txt
[sudo] password for bob:          


192.168.xxx.26    Raspberry Pi Trading Ltd
192.168.xxx.26    Raspberry Pi Trading Ltd (DUP: 2)
Interesting, often whilst booting MoOde and monitoring via arp-scan (to check when it is up and can be found from browser) there will appear 2 IP results both the same address but the second noted as "(dup-2)"

This resolves to one ip once fully booted.

Suppose I have a moOde player with hostname moode and IP address 10.0.0.32. If I boot it several times, I can still reach it at 10.0.0.32* but whether or not I can reach it at moode.local depends on the avahi-daemon issue.

I think this early duplication you observe is what leads to the (buggy) avahi-daemon behavior. I've just seen it suggested on the InterWeb™ that a workaround is to stick a line in rc.local to restart avahi-daemon after the system has finished booting. 

(@Tim Curtis ) I confess I didn't try modifying rc.local but seems like it may work just as well as my first suggestion.

Regards,
Kent

* assuming the lease hasn't timed out and DHCP perversely assigned a different IP address to the MAC.
Reply


Messages In This Thread
RE: moOde sometimes shows up LAN as <hostname>-2.local - by TheOldPresbyope - 02-02-2025, 09:13 PM

Forum Jump: