How does WakeOnLAN work without MAC? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: How does WakeOnLAN work without MAC? (/showthread.php?tid=365595) |
How does WakeOnLAN work without MAC? - MoonKid - 2021-11-20 Kodi offers me a setting to wake up remote servers when accessing them. My Kodi is configured to read from an NFS server. So it knows the IP of that server but not its MAC address. In my experience from unixoid systems the wakeonlan feature only works with MAC address not IPs. The wakeonlan need a MAC not an IP as argument. So I can not see a way to give Kodi the MAC of the server. btw: Of couse I can do this myself in a script while the Kodi-device boots up. But this is before Kodi starts. This question is specific to Kodi because it offers the wakeonlan but did not ask for a MAC. RE: How does WakeOnLAN work without MAC? - gibxxi - 2021-11-24 When you add the server as a content (media) source, Kodi will automatically 'ping' that server with Kodi's 'WakeOnLan' (Try to wake up remote servers on access) setting enabled. It will then add the info gleaned from that to the file in your userdata folder called "wakeonlan.xml". At the point in time this occurs, you will see a notification popup in Kodi that the MAC address for that server has been detected. It might show the hostname in the popup notification, or it might detect it via IP address, depending on how many IP addresses your server is occupying and/or if any type of ethernet teaming (like LACP / 802.3ad ethernet teaming, for example) is being utilized on the server. The server(s) Kodi detected will be written to the "wakeonlan.xml" similarly to this: Code: <onaccesswakeup> Dan / Gib. RE: How does WakeOnLAN work without MAC? - MoonKid - 2021-11-24 Never saw such a popup window on different Kodi systems. What exactly is a "media source"? I added it as NFS share and indexed movies and series on it. Does this count as a media source? RE: How does WakeOnLAN work without MAC? - gibxxi - 2021-11-24 (2021-11-24, 10:46)MoonKid Wrote: Never saw such a popup window on different Kodi systems. The source folder(s) or share(s) residing on the server you wish to access that contain the media you wish to add to your library. Dan / Gib. RE: How does WakeOnLAN work without MAC? - gibxxi - 2021-11-24 Bear in mind I do not know whether simply 'creating' the sources for your Kodi media library is enough. It might be the case that you have to actually scrape something from those sources into your media library for Kodi to utilize the feature, somebody else would be best place to confirm or deny this. I've never used the feature, as for some reason, with my two NASes, in the past (on Windows, using SMB rather than NFS) it would cause Kodi to crash for me. Besides, my two NAS devices are on 24/7, so I don't need the functionality anyway. However, the broad outline as I've described it, should work in the main, AFAIK. Dan / Gib. RE: How does WakeOnLAN work without MAC? - MoonKid - 2021-11-28 Of course the source is set, indexed and accessed several times. Nothing happens about MAC or WakeONLan RE: How does WakeOnLAN work without MAC? - gibxxi - 2021-11-28 I don't know much about NFC, I have used it for a limited time, but not since I got my QNAPs since QNAP's NFS implementation is difficult to get set up correctly vs Netgear's for example. But it might be the case that it's simply not compatible with NFS (within Kodi), I don't know. What I can say is the file contents I posted earlier, are direct from my own system, using SMB access for all content, and that the generation of the file (on Windows) by Kodi works as expected. The MAC addresses are automatically detected for those sources added, and placed in the 'wakeonlan.xml' file. Dan / Gib. RE: How does WakeOnLAN work without MAC? - MoonKid - 2021-12-12 The NFS (not NFC) share is much easier to setup as SMB. And it is a simple media source not different from SMB. And with SMB I had the same problem on another Kodi device (LibreELEC). There is no difference between SMB and NFS - in my opinion. I am sure this i is not a bug because others told me this should work. The question is why it does not work on my Kodi devices. The important factore is myself/me. I do something wrong I think. RE: How does WakeOnLAN work without MAC? - gibxxi - 2021-12-12 Yes, NFS. Sorry, typo on my part. Perhaps turning on debug / component logging (Networking) might give you some clue as to why it isn't detecting the MAC addresses of your servers. All I can say is, for me, on SMB, it finds and correctly adds the MAC addresses of my two NAS devices to the 'wakeonlan.xml' file in the kodi profile folder without issue. I too would think it would work the same for NFS. Check your NFS permissions just to be sure. Other than that, someone else with a similar setup / more experience with NFS than me would need to advise you. Dan / Gib. |