Thank you for your donation!


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


Connect to other moOde players
#4
(04-10-2018, 05:23 PM)energyi Wrote:
(04-10-2018, 03:12 PM)Tim Curtis Wrote: Try running the commands below and then post the output

pi@rp3:~ $ avahi-browse -a -t | awk '/IPv4/ && /moOde audio player:/ {print $7}' | sort
moode
rp1
rp2
rp3
rp4
rp5
pi@rp3:~ $ getent hosts rp1
192.168.1.170   rp1
pi@rp3:~ $


-Tim

moode
moode-3

<and>

198.105.254.23  rp1getent.Home
198.105.244.23  rp1getent.Home
198.105.254.23  hosts.Home
198.105.244.23  hosts.Home
198.105.254.23  rp1.Home
198.105.244.23  rp1.Home


energyi

@energyi

So what are the actual IP addresses for your moOde players and on what host did you execute these CLI (command-line interface) commands?

Your output, both in the image you posted earlier and here, looks a bit wonky. The image says the moOde player you were on detected two players, both named moode-3; the first CLI output you give says there are two players, named moode and moode-3; the second CLI output you show has doubled entries for each host.domain name listed but it gives the appearance that getent wasn't asked about hostnames moode or moode-3.

At the moment, I have three moOde r41 players attached to my LAN; their hostnames are moode, moode-41h, and moode-up. 

From the UI of moode-41h, I get moode and moode-up displayed in the Players popup.

From the command line
Code:
pi@moode-41h:~ $ avahi-browse -a -t | awk '/IPv4/ && /moOde audio player:/ {print $7}' | sort
moode
moode-41h
moode-up
pi@moode-41h:~ $ getent hosts moode moode-41h moode-up
192.168.1.182   moode.fios-router.home
127.0.1.1       moode-41h  <--- 127.0.1.1 is a local address since I'm on this host
192.168.1.184   moode-up.fios-router.home

As you see, there is no doubling of entries here.

Regards,
Kent
Reply


Messages In This Thread
Connect to other moOde players - by energyi - 04-10-2018, 02:57 PM
RE: Connect to other moOde players - by energyi - 04-10-2018, 05:23 PM
RE: Connect to other moOde players - by TheOldPresbyope - 04-10-2018, 06:05 PM
RE: Connect to other moOde players - by energyi - 04-10-2018, 06:39 PM
RE: Connect to other moOde players - by FizzyTea - 04-11-2018, 11:45 AM
RE: Connect to other moOde players - by energyi - 04-11-2018, 02:57 PM
RE: Connect to other moOde players - by FizzyTea - 04-11-2018, 05:26 PM
RE: Connect to other moOde players - by energyi - 04-11-2018, 10:52 PM
RE: Connect to other moOde players - by BryceJ - 04-13-2018, 04:27 PM
RE: Connect to other moOde players - by BryceJ - 04-13-2018, 06:09 PM

Forum Jump: