Help/How Do I?
I have my HTPC configured to sleep when not in use (works great, very quiet as all the case fans power off). However, there is no LAN when it wakes up. If I unplug the LAN cord and then plug it back in, it usually works. I am using Windows 7 with all new hardware purchased about a month ago.
Don't go to sleep... just kidding. I haven't heard of this, but I don't have anything on my computer sleep except the monitors. Did you try updating drivers already?
This may or may not be helpful for you. Before you try the first solution they have listed, updating or downgrading your bios, which seems a bit extreme. I would try the second one which is just checking to make sure that you have allowed your computer to control to turn off the device in the device manager. Maybe Windows is powering down but does have permission to do that for the LAN adapter so it breaks the connection. I really have no idea but that could easily be tested and reset.
I also saw another post that said that it could be your ISP too which could actually make sense. It might not be your LAN at all it could be that your cable modem or DSL loses the connection and you have to unplug and plug back in to reconnect. A lot of cable modems have to have things powered up in a specific order. You could try testing that with a laptop or some other computer and see if you put it to sleep and wake it back up again if it reconnects. If that's the case it might not be your HTPC at all.
If changing the power settings on the network adapter (allow Windows to power off this device) doesn't help, you could try assigning a static IP address to the HTPC in your router. Pick an address outside the range that DHCP is allowed to use, and associate that address with the MAC ID of your HTPC's network adapter.
That actually makes a lot of sense to me. When your computer goes to sleep it might be releasing the ip address to the router. Your router then reassigns the ip address to something else. When your computer wakes up it wants the same address and it's unavailable, thus no internet. Setting a static ip would solve this for sure.
Thanks for the suggestions. I have set a static address from the top of my DHCP range (for now at least) as it seems like the IP addresses are selected from the bottom up and I only have about 7 IP devices on my network. I will try an IP outside that range if this does not work. I wanted to keep them all on the same subnet for file sharing. Would that be a problem if I put the HTPC on a separate subnet?
You definitely want everything on the same subnet, but that gives you over 250 possible addresses. I know that some routers by default set the DHCP range to 200 of them, but that can be changed to something more reasonable (for most people anyways) like 40-50 addresses. While statically assigning an IP from the high end of the DHCP reserved range should not be a problem, it's almost as easy to narrow the DHCP range to eliminate any overlap.
What kind of router is it?
Sorry for the delay. I have been away for a while.
My current router setup is a bit temporary. I am still running everything off of a modem/router provided by AT&T U-Verse. The DHCP range is 63-253, so I have selected 253 for now and it has been working great. I agree that I probably should have simply selected something else between 1 and 62 though.
I say this is a temporary setup b/c I am considering adding another router to create another subnet. I would then put most of my devices on the 2nd subnet and then feel a little more secure about giving the password for the first (modem/router) to others (kid's friends, baby sitters, etc.). I am thinking the 2nd router (and firewall) will keep my personal files secure from while allowing others to share my internet connection. Any thoughts?
I spoke too soon... Right after my last post I logged into my HTPC and found that the connection was lost... I guess I'll try an address outside the DHCP range and see what happens.
Instead of second subnet does the router have a guest zone you can set up?
I use the 2 router setup and it works pretty well. My first router is my Vonage router. It handles all my phone calls and has two hard lines coming out of it. One to my next router and one for diagnosing my friends' broken computers. The 2nd router is my TrendNet wireless router and handles all my home network traffic. I like the setup for the very reason you say so that I can hook someone up to my network without exposing any of the computers on my network. Now I don't have the wireless option like you want, but I can see where it would be handy. A couple of things I've learned though...
I have every computer assigned a static IP address by my router based on their MAC address. All the computers think they are getting a dynamic address, but the router reserves specific addresses for each computer. This comes in very handy when I'm trying to remote in to another computer on my network, setting up remote access, or even bittorrent traffic. I have rules that will forward the appropriate ports to the correct computer and it works well.
The other thing is just to make sure that each router has it's own range of addresses to work with. So for example, your first router may use 184.108.40.206 and then your second router could use 220.127.116.11. That way you know there aren't any conflicts.
If you're router can't assign static IP addresses, then you can also have Windows look for a static address and basically it will do the same thing. Just make sure the address you provide Windows is also allowable by your router.
By chance, is your system using an integrated nVida network controller? If so, do you still experience loss of LAN after you wake from sleep by keyboard or mouse input? The reason I ask is that I will always loose network if I wake my HTPC (Acer Aspire X3400 with integrated nVida NIC) by using the IR remote with my Hauppauge 2250 card. If I use the roller ball on my Lenovo N5901 mini keyboard, I do not lose LAN. I wish I had an answer to this one, other than installing a PCIe NIC from a different manufacturer. This has been a long standing annoyance with this system, especially since it's my primary HTPC. This isn't just loss of TCP/IP, the network driver crashes, it's in the system log. However, if I use the remote to wake from Hibernate (which works beautifully), it's not a problem, the network is fine.
I have tried every setting available and every driver available. I contacted Hauppauge, but they finally said it's nVdia, not us. I can't completely disagree. I have a second HTPC on an older Dell P4 which has and integrated ATI NIC and it does not have this issue. It also doesn't support S3 sleep, but I've tried changing the sleep mode on the Acer, and it also didn't resolve the issue. The only fix for this issue I've found (aside from spending more money on a new NIC) is to reboot and try next time to remember not to wake it from sleep with the IR remote.
You could also try to change the standby mode in your BIOS. The theory is a bit complicated, but you really can't do much wrong by experimenting:
Thanks for the reply PeterPVR. I'm open to further suggestions, but I've tried the basic stuff like BIOS sleep settings, network driver settings, windows sleep settings, network driver updates and Hauppauge MCE driver updates. I even installed MCE standby tool to try and resolve the issue. It's corrected some sleep anomalies, but the loss of network adapter after LAN wake from IR remote persists.
I'm puzzled that no one seems to have this issue and I only have it on my particular hardware configuration. Someone at TGB replied that he had a built-in nVidia NIC and doesn't have an issue. To be clear, this is the IR receiver that comes in the Hauppauge HVR-2250 KIT. I have two of these kits and I've tried swapping them to no avail. Both my HTPCs are running Win7 32-bit, but I experienced this on my Acer even when it was previously running Win 7 64-bit. My of P4 Dell with an integrated ATI NIC doesn't have an issue. The Dell doesn't support S3 sleep, so I set it to always hibernate because it's in my bedroom and the fans would otherwise run constantly. However, as a test I have manually put it to sleep. No problem on resume from Sleep or Hibernation with the IR remote, where as the Acer network will only resume from Hibernation with the IR remote without crashing the NIC driver. If I forget and use the IR remote to resume the Acer from Sleep, I have to reboot or I won't have network. No way around it that I've found.
Or you could just stay awake the whole time.
Not a bad suggestion ;D
So many scheduled recordings, defrags, etc., it's on more than it's off anyway.
I figured you were trying to save money. For my pvr that actually does the recording, it's on 24/7/365. I think of it like an extra fridge. In the evenings I have it archive (transcode) shows I want to keep. I have a nightly backup to my WHS. I also have it set to do any updates. So for me while I'm sleeping is usually when the computer is doing most of it's work in my day.