Page 1 of 1

Device list by MAC address rather than IP?

PostPosted: Wed Jan 16, 2013 8:50 am
by mpi
Hi,

Currently devices are listed by IP address, and profile assignment are recorded using this reference.
However in many cases devices IP adress are delivered by DHCP, and therefore changing overtime: this makes status list grow overtime, and profile assignment complex, unless one gets into router setup to change DHCP addressing.

Wouldn't it make sense to rather have Serviio identify devices by their MAC address, which is a better indication of the actual physical device?
This would remove dependency on router DHCP setup, and make profile assignment more straightforward.
IP could eventually be displayed as an information after refresh, but won't be the key to reference profile assignment.
Great if we could also assign a plain name for that device, once internally referenced by MAC address.

Thanks for comment.

Re: Device list by MAC address rather than IP?

PostPosted: Wed Jan 16, 2013 1:19 pm
by zip
Java won't allow to get the remote device MAC address.

Re: Device list by MAC address rather than IP?

PostPosted: Wed Jan 16, 2013 9:08 pm
by mpi
Isn't it possible to send terminal commands such as ping and arp the same way you issue ffmpeg command?

edit: you might find these interesting:
-http://www.gitspot.com/2012/02/java-code-to-get-mac-address-from.html
-http://blog.jdknight.me/2011/06/java-mac-jmac-to-find-cached-mac.html
-http://www.rgagnon.com/javadetails/java-0369.html
I'm not a Java dev, so can't comment on them.
Networking wise, it's a good idea to ping target IPs (one packet is enough) prior to issuing arp command: it'll freshly resolve IPs and therefore update arp cache accordingly.

Re: Device list by MAC address rather than IP?

PostPosted: Sat Dec 17, 2016 4:31 pm
by RYann
Hello,

The links given by mpi are really interesting.
If there could be such a solution, even tricky, to identify devices on our home network by their MAC address (which are stable) instead of the IP addresses (which can be changing, depending on your router allocation strategy), this would be far more user-friendly at use!

Any hope towards this direction about using MAC addresses in Serviio?
Best regards.