• Announcements

    • Terry (WGS)

      WGS Forums Will Close on January 31st 2017   01/18/17

      Hi everyone, We're coming up to We Got Served's ten year anniversary and I've been taking a good look at the site to work through some plans for the future. I wanted to give you all a couple of weeks notice that I'll be closing WGS Forums at the end of this month.  As you'll be aware, the forums were opened to support Windows Home Server users and have done so brilliantly, thanks to everyone's participation. However, with each day that passes, there are fewer and fewer WHS deployments out there, meaning that forum registrations and traffic has now dwindled. I've tried a few times over the years to test some forums on related or adjacent topics, however, they simply haven't caught on. It's clear that these were always going to be predominately Windows Home Server forums and, with the passing of that platform, they've served their purpose well. So, please take some time to archive anything you need over the next two weeks. Access to the forums will end on Jan 31st 2017. Many, many thanks once again for your participation and support here. It's been a great community! Very best wishes Terry
nsainfreek

Wake Server When Accessing Network Shares

11 posts in this topic

I posted this on a different forum but was told to try and present the question here as the people here may be more knowledgable. I don't run WHS but was hoping you guys could still help me. I'm running Windows 7 Ultimate with a DIR-665 Router and have also tried a Netgear WNDR3700 Router.

I have a server with all my movie files and I would like to share them with other computers on my network. The other computers would mount network shares on their computer in order to access the server. However, the server is not accessed most of the times since it is a home server and I would like it to go to sleep when not in use. I could enable Wake-On-Lan, but that is an extra step to send a magic packet to wake the server up. I would like the server to wake when someone attempts to access one of the network shares.

There is the option of waking on ping, which would wake the server whenever there is any attempted communication. This is probably the path I want to take. However, with this option on the server wakes after just two minutes of going to sleep and does not go back to sleep. After reading a lot of threads on the web, it seems the router is doing an arp refresh (not sure if that's the right terminology). The router is asking "who has this ip address" and it hits all the computers on the network, which wakes the server. The router does this like every 2 minutes. Some people online have said that they got wake on ping to work properly but those were old threads and I couldn't get any answers.

Anyway, I've tried assigning static IPs on the network, shutdown the dhcp server, and bought a new router. Computer is still waking up shortly after going to sleep. I read somewhere that you can edit the arp table so that it doesn't bother the computer, but I'm not sure if that's possible since I have found no documentation of editing arp tables on routers.

Does anyone know if and how this can be done? Any response would be useful thanks.

Share this post


Link to post
Share on other sites

Upgrade to a WGS Supporter Account to remove this ad.

You'd need to connect to the router through telnet and create a static ARP entry for the WHS IP using arp -s. Whether or not that will survive a reboot is doubtful though.

Never heard of Wake-On-Ping - learn something everyday :)

Share this post


Link to post
Share on other sites

You'd need to connect to the router through telnet and create a static ARP entry for the WHS IP using arp -s. Whether or not that will survive a reboot is doubtful though.

Never heard of Wake-On-Ping - learn something everyday :)

So you're saying that if I create a static ARP entry the router would probably fail to boot? That's probably not what I want to do then. Any other ideas? I thought that other people may be trying to accomplish such a setup to have a mix of 24/7 accessibility, ease of use, and power savings. Apple has it's Wake-on-demand functionality which works by having the router send the magic packet while using bonjour to broadcast the services of the server. This would work except Mac's aren't really expandable (beside the Mac Pro) and I have around 10 HDs running in my server.

Is it possible to do something where if you try to access a network drive it auto sends a magic packet?

Share this post


Link to post
Share on other sites

The apple thing sounds most cool. What I mean is that the static arp cache entry won't survive a router reboot, i.e. it will go back to being dynamic when you reboot the router for any reason.

Wake-On-Lan is just a packet with the MAC address repeated six times; I think the best you'll end up with is a scheduled task to send a wakeup packet periodically when the machine is on (or at logon) using the Windows task scheduler. I'm increasingly finding uses for a super-low-power box running from flash, and this is one example. It could sit there on the LAN, and send a WoL packet when it spots an arp request to the specified IP address (arp is the very first packet that will be sent when you try to make the connection and, since it's a broadcast, can easily be detected). I a netbook might fit the bill, but the packback period would be quite long.

Share this post


Link to post
Share on other sites

Thinking about this some more an agent could easily be devised to run on the PC itself, bypassing the need for the centralised monitoing box. But not be me unfortunately :(

Share this post


Link to post
Share on other sites

The apple thing sounds most cool. What I mean is that the static arp cache entry won't survive a router reboot, i.e. it will go back to being dynamic when you reboot the router for any reason.

Wake-On-Lan is just a packet with the MAC address repeated six times; I think the best you'll end up with is a scheduled task to send a wakeup packet periodically when the machine is on (or at logon) using the Windows task scheduler. I'm increasingly finding uses for a super-low-power box running from flash, and this is one example. It could sit there on the LAN, and send a WoL packet when it spots an arp request to the specified IP address (arp is the very first packet that will be sent when you try to make the connection and, since it's a broadcast, can easily be detected). I a netbook might fit the bill, but the packback period would be quite long.

So If I input a static arp entry into the router, it'll be ok as long as I don't reboot the router? And I could just reinput the arp entry if the router was to ever need rebooting, correct? Do you know where I could look for instructions to access a router via telnet?

Scheduled task wouldn't work well for me since the system is not used at regular time intervals. What would need to be created to send a WOL when an arp request to a specified IP is sent out? Would it be a process or program? I'm not sure what you mean when you say "running from flash." Are you talking about a flash program?

Thanks for your responses so far!

Share this post


Link to post
Share on other sites

Yes the router would be fine. Scheduled tasks can be set to run at logon and periodically (say every 5 mins).

Running from flash, as in a USB flash drive instead of a hard disk for an uber-low-power PC.

Re my agent idea, yes a compiled program that monitors the LAN (like Network Monitor does) and, when it sees the packet, sends a WoL packet. Maybe something like ArpAlert could be adapted, I might have a ponder on this over the weekend as it would be highly useful for me...

Cheers!

Share this post


Link to post
Share on other sites

Yes the router would be fine. Scheduled tasks can be set to run at logon and periodically (say every 5 mins).

Running from flash, as in a USB flash drive instead of a hard disk for an uber-low-power PC.

Re my agent idea, yes a compiled program that monitors the LAN (like Network Monitor does) and, when it sees the packet, sends a WoL packet. Maybe something like ArpAlert could be adapted, I might have a ponder on this over the weekend as it would be highly useful for me...

Cheers!

Alright, i'm going to try and see if I can figure out how to telnet into my router and make an arp entry. If you figure anything out, please let me know. Thanks!

Share this post


Link to post
Share on other sites

Well, I can't figure out how to input a static arp into the router. First off, I can't figure out how to telnet into the Dlink Dir 665. I managed to telnet into the Netgear wndr3700 but it won't let me create a static arp. When i use the "arp -s" command it doesn't seem to do anything. Any other recommendations would be appreciated.

Share this post


Link to post
Share on other sites

Hi nsainfreek

I know this is an old thread but did you ever get anywhere with your wake on demand.

I've just installed WHS 2011 and would love the server to be able to make when a request is made by my Sonos or Apple TV2.

Does anyone out there know how to make this work?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now



Upgrade to a WGS Supporter Account to remove this ad.



  • Posts

    • Please contact support@green-it-software.com and I can send you a copy.
    • Hi, I am looking for these drivers HpMssServiceSetup_v1.0.6 but the dowmload link is dead. Does anyone have a working link please. Thank you.
    • That guide is for installing Exchange on a Server Essentials network, not necessarily installing both services on the same server, which isn't a good idea at all to do (as SBS with Exchange 2007/2010 was a good example of how poorly both AD and Exchange run when both are on the same server), nor is it supported by Microsoft.  Exchange 2016 initially had compatibility issues when installed on Server 2016 until Microsoft's server team came up with KB3206632 and the Exchange team released December 2016's quarterly update (CU3 or 4). Your IIS Reverse proxy will only (currently) be supported on Windows Server 2012/R2, as you've no doubt discovered, the Application Request Routing version and update only support 2012/R2. I know it works for 2012 R2 because I'm running Exchange 2016 CU4 on Server 2012 R2 on my domain that also includes a Server Standard with Essentials Role installed (5 VMs:  2 Domain Controllers, Exchange 2016 CU4, Server Essentials and a Reverse Proxy server all running 2012 R2 using ARR 2.5 -- the ARR Reverse Proxy allows me to share Exchange, Essentials RWA and my QNAP on 443), but thus far, I haven't seen anything for Windows Server 2016.  ARR 3.0 might work with Server 2016, or your other alternative is to deploy another server running 2012/R2 and use ARR 2.5.
    • IPv6 is unchecked on the adapters for client and server and disabled on router. Still no connection. Any other ideas?
    • I realize this is probably not the right place. Is Server 2016 Std available for only one CPU/eight cores?
      All is find is 16 cores or more. Will probably end up with 2016 Essentials anyway.
      Thank you.
  • Popular Contributors