You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't wake Lion over wifi (or ethernet) using iPad and home sharing.

I've upgraded to Lion and everything's fine apart from one problem: using my iPad to access home shared iTunes content on my mac no longer works when my mac is asleep.


That's a change in behaviour from Snow Leopard; I used to be able to sleep my mac and then wake it over wifi using either my iPad or iPhone to access all of my home shared libraries. The mac screen used to light up for ten seconds and then go dark again, but it served me the files.


Lion seems to go into a deeper sleep which it can't be woken from. If I attempt to wake my mac from my iPad within about ten minutes of putting my mac to sleep then home sharing seems to work and lets me use the home share libraries, but if I leave it any longer than that then the mac seems to fall into a coma and can't be woken. The weird thing is that I still see a "shared library" folder on my iPad, but when I click on it nothing happens. I think my Time Capsule is listening for wifi access and issuing the magic packet to the mac, but the mac just ain't listening.


I'm using a Time Capsule in bridge mode from an ADSL modem and I've accepted a TC firmware update last week and I'm on lion 10.7.3. I've tried using Ethernet to connect the mac to the TC (and temporarily disabled the wifi connection) but that still doesn't work. Also, note I'm NOT suffering from the problem that 10.7.3 seems to be giving a few other people - my mac reconnects to my wifi just fine when I wake it up manually. For the record, This was an upgrade, so there's still a tick in "wake on network" in power settings and home sharing on iTunes is still configured the same as it was before.


Does anyone have any suggestions about how I can get home sharing to work when my Lion mac is asleep please?


Jon

iMac 27" i5-760, Mac OS X (10.6.7)

Posted on Feb 12, 2012 1:27 AM

Reply
227 replies

Dec 19, 2012 9:10 AM in response to namuh

I've checked Computer/Library/Preferences/SystemConfiguration


There is a file called "preferences.plist"

Into it I found:


</dict>

<key>PPP</key>

<dict>

<key>ACSPEnabled</key>

<integer>0</integer>

<key>CommDisplayTerminalWindow</key>

<integer>0</integer>

<key>CommRedialCount</key>

<integer>1</integer>

<key>CommRedialEnabled</key>

<integer>1</integer>

<key>CommRedialInterval</key>

<integer>5</integer>

<key>CommUseTerminalScript</key>

<integer>0</integer>

<key>DialOnDemand</key>

<integer>0</integer>

<key>DisconnectOnFastUserSwitch</key>

<integer>1</integer>

<key>DisconnectOnIdle</key>

<integer>1</integer>

<key>DisconnectOnIdleTimer</key>

<integer>600</integer>

<key>DisconnectOnLogout</key>

<integer>1</integer>

<key>DisconnectOnSleep</key>

<integer>1</integer>

<key>IPCPCompressionVJ</key>

<integer>1</integer>

<key>IdleReminder</key>

<integer>0</integer>

<key>IdleReminderTimer</key>

<integer>1800</integer>

<key>LCPEchoEnabled</key>

<integer>0</integer>

<key>LCPEchoFailure</key>

<integer>4</integer>

<key>LCPEchoInterval</key>

<integer>10</integer>

<key>Logfile</key>

<string>/var/log/ppp.log</string>

<key>VerboseLogging</key>

<integer>0</integer>


Do you think we could solve the problem by changing some of the values?

Dec 31, 2012 12:15 AM in response to Charles Lindauer

Try to google it, I tried that without success, although I solved my problem 3 days ago. Now everything works just fine. In fact it was a really stupid issue and during a few months I didn't find the solution.


My iMac is connected to my Time Capsule with 5GHz and there are several rooms between. So I guess the signal go off when it is asleep for a while.


What I did was to connect it to the AirPort Express 2.4GHz in the very same room. I restarted and BAM now it is always connect and wake from sleep. 😀

Jan 2, 2013 6:17 PM in response to Freducken

Freducken wrote:


namuh wrote:


I have an imac with Lion 10.7.3 and a linksys (cisco) router. I wanted to access it when it was sleeping, but couldn't by wifi, even though the wake on lan option was set.


After reading a bit about the problem and the various fixes, I was searching in the /Library/Preferences/SystemConfiguration folder and I saw the com.apple.PowerManagement.plist file. I opened it in an editor, and then noticed a line that had a key of PrioritizeNetworkReachabilityOverSleep.

The value was 0, so I changed it to 1 and saved the file.


Now I have no trouble accessing the Mac by my iphone, even after it sits overnight. You may want to try it.




/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

This solved the issue for me!!!! You sir, are awesome. Now I can't start putting my computer back to sleep instead of just putting the display to sleep. Before making this ONE, SIMPLE CHANGE, I could not use the VNC app to wake my iMac wake from my iPad. Now it works!!!! Very, very, cool! Can you tell how pleased I am at this fix? LOL.


Also, I am pretty newbie when it comes to this stuff, so for any other newbies out there, remember to change the permissions for the folder in which the plist file resides with Right Click, Get Info. In essence, this is the most difficult part of the fix, which is obviously not.

Both you guys just made my day! Excellent. My remote app wakes the Mac up with no issues now. Might want to add that when you change permissions for the folder, you also need to apply it to the contents of the folder by using the settings button - looks like a gear.

Jan 3, 2013 12:15 PM in response to loïcfernandezcastrillon

loïcfernandezcastrillon wrote:



I am pretty newbie when it comes to this stuff, so for any other newbies out there, remember to change the permissions for the folder in which the plist file resides with Right Click, Get Info.


About this part where we have to change the permissions...


Why are you editing the .plist directly and messing around with permissions?

Use pmset

Can't wake Lion over wifi (or ethernet) using iPad and home sharing.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.