Kodi Community Forum
Automatic WakeOnLan upon accessing MySql or FileShares - 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: Automatic WakeOnLan upon accessing MySql or FileShares (/showthread.php?tid=124340)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-19

I do not use different profiles. Maybe that was just at one time issue I am not sure. Is the patch in the nightly now?


RE: Automatic WakeOnLan upon accessing MySql or FileShares - t4_ravenbird - 2013-05-19

Not yet, it is here ; https://github.com/xbmc/xbmc/pull/2762


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-19

Please let me know when it is in the nightly or someone has a windows version compiled so I can try this fix. Thank you. You all have done great work.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - kricker - 2013-05-19

I'm building one for you now to try. I'll post back when ready.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-19

(2013-05-19, 19:25)kricker Wrote: I'm building one for you now to try. I'll post back when ready.

Thank you Kricker.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - kricker - 2013-05-19

Here is the new build. I grabbed the patched file and placed it in before I built, so it "should" be what you need.

XBMCSetup-20130518-0da9a79-master.exe



RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-19

(2013-05-19, 19:48)kricker Wrote: Here is the new build. I grabbed the patched file and placed it in before I built, so it "should" be what you need.

XBMCSetup-20130518-0da9a79-master.exe

I get this error message when I try to run XBMC "The program can't start because d3dx9_41.dll is missing from your computer. Try reinstalling the program to fix this problem."

I finally figured it out. DirectX The web installer made me install the SDK as there was no option to by pass it.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-19

I installed XBMC and copied the advancedsettings.xml file in the userdata directory. I ran XBMC with my servers running and then marked Try to wake remote servers on access. I added my sources and the wakeonlan.xml file was created. Closed XBMC and shutdown all my servers. I ran XBMC but the server did not start. I tried to run it again and my computer locked up. I tired it again and same thing happened except this time I received the blue screen of death.

I uninstalled Virtualbox and I observed that it left 2 out of the 3 network interfaces. I manually removed them and rebooted my system. I also unstalled XBMC and the profile.

I then again proceeded to reinstall XBMC. Followed the same steps and this time it worked with no crashing. I reinstalled Virtualbox and it only installed one network interface. I booted a couple of different VMs to be sure I could still connect properly to my network and Internet.

Closed the VMs and ran XMBC. The server did boot this time. I tested this a couple more times with no problems. I even tested it while one of my VM were running and it worked that time also. It seems to be fixed now.

I am not sure but maybe there was a conflict with the other 2 Virtualbox adapters. It is strange though when I first disabled the VirtualBox Host-Only Network adapter it also disabled the other 2 and it worked partly for a while before all the system lockups.

Just a note I did not make any changes to the wakeonlan.xml file.

I noticed that I am still receiving this error regardless if the second NIC is enabled or disabled. It is working but I wanted you to be aware of it.

ERROR: CNetworkWin32:TongueingHost - IcmpSendEcho failed - Error due to lack of resources. (0x2B02)

http://pastebin.com/7hb1SMhb

Thank you t4_ravenbird and kricker for your assistance. Let me know if there is anything you would like me to test.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-29

I just wanted everyone to know it is working just fine for me now. I was just curious has this patch been added to the nightly builds?


RE: Automatic WakeOnLan upon accessing MySql or FileShares - Memphiz - 2013-05-29

yep


RE: Automatic WakeOnLan upon accessing MySql or FileShares - t4_ravenbird - 2013-05-29

"wake on access" feature is merged and included in nightly and soon in monthly for may ; https://github.com/xbmc/xbmc/pull/1892
but the multiple network issue is not merged yet if that is what you ment ? https://github.com/xbmc/xbmc/pull/2762


RE: Automatic WakeOnLan upon accessing MySql or FileShares - m1975Michael - 2013-05-29

I was actually referring to the multiple network issue patch. TY t4_ravenbird for all your hard work.


RE: Automatic WakeOnLan upon accessing MySql or FileShares - bilbonvidia - 2013-05-30

I compiled an openelec generic build with the woa.patch in /packages/mediacenter/xbmc/patches but no woa function. How does one apply the patch?


RE: Automatic WakeOnLan upon accessing MySql or FileShares - t4_ravenbird - 2013-05-31

you apply the patch just like that - put it in the ../patches folder and rename it to match the naming convention the other patches use
then you need to build and make sure the xbmc package gets unpacked again and the patch should automatically be picked up and applied
if xbmc-build is skipped (because it is up-to-date already) you may need to delete some of the old output to force a fresh unpack/compile ..


RE: Automatic WakeOnLan upon accessing MySql or FileShares - bilbonvidia - 2013-05-31

Thanks putting xbmc on the front made it get picked up but the build bombed on applying it for some reason.
The last thing in the log " APPLY PATCH (common): packages/mediacenter/xbmc/patches/xbmc-woa.patch"
on the terminal screen
"
patching file language/English/strings.po
can't find file to patch at input line 85
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj
|index 7e32ccc..d109bcc 100644
|--- a/project/VS2010Express/XBMC.vcxproj
|+++ b/project/VS2010Express/XBMC.vcxproj
--------------------------
File to patch:
"

I am using the backported frodo patch.