Jonathan216

Q: 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

Close

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

  • All replies
  • Helpful answers

first Previous Page 11 of 16 last Next
  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 11, 2012 12:06 AM in response to namuh
    Level 1 (112 points)
    iPhone
    Dec 11, 2012 12:06 AM in response to namuh

    What changes did you do?

     

    Mine or others?

  • by namuh,

    namuh namuh Dec 11, 2012 7:08 AM in response to loïcfernandezcastrillon
    Level 1 (0 points)
    Dec 11, 2012 7:08 AM in response to loïcfernandezcastrillon

    The ones I described on page 7 of this topic.  It worked then and still does on my system. 

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 12, 2012 1:52 PM in response to namuh
    Level 1 (112 points)
    iPhone
    Dec 12, 2012 1:52 PM in response to namuh

    I made yours and it totally messed up my iMac, with Back to my Mac nothing worked, so I've redonne mine, and now everything's back to normal.

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 12, 2012 1:59 PM in response to loïcfernandezcastrillon
    Level 1 (112 points)
    iPhone
    Dec 12, 2012 1:59 PM in response to loïcfernandezcastrillon

    I don't think it's a software trouble, since my MacBook Pro works fine, it's more a firmware trouble, I think the problem occured on iMac since the WiFi upgrade which was in a Firmware update.

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 19, 2012 9:10 AM in response to namuh
    Level 1 (112 points)
    iPhone
    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?

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 21, 2012 2:55 PM in response to IIIMOODIII
    Level 1 (112 points)
    iPhone
    Dec 21, 2012 2:55 PM in response to IIIMOODIII

    And what about: pmset -g networkoversleep 1

    By default it's 0

  • by namuh,

    namuh namuh Dec 22, 2012 5:24 PM in response to loïcfernandezcastrillon
    Level 1 (0 points)
    Dec 22, 2012 5:24 PM in response to loïcfernandezcastrillon

    I would first try changing networkoversleep to 1.

     

    The other stuff looks like it is for a PPP connection.

     

    Good luck.

  • by Charles Lindauer,

    Charles Lindauer Charles Lindauer Dec 30, 2012 2:12 PM in response to loïcfernandezcastrillon
    Level 1 (10 points)
    Dec 30, 2012 2:12 PM in response to loïcfernandezcastrillon

    Where did you find pmset -g networkoversleep 1? I'd like to try it.

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Dec 31, 2012 12:15 AM in response to Charles Lindauer
    Level 1 (112 points)
    iPhone
    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.

  • by Obii-wan,

    Obii-wan Obii-wan Jan 2, 2013 6:17 PM in response to Freducken
    Level 1 (0 points)
    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.

  • by Tony T1,

    Tony T1 Tony T1 Jan 2, 2013 6:56 PM in response to Obii-wan
    Level 6 (9,249 points)
    Mac OS X
    Jan 2, 2013 6:56 PM in response to Obii-wan

    No need to edit the plist file.  In Terminal: sudo pmset networkoversleep 1

     

    From the man page:

    networkoversleep - this setting affects how OS X networking presents

    shared network services during system sleep. This setting is not used by

    all platforms; changing its value is unsupported.


  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Jan 3, 2013 7:45 AM in response to Obii-wan
    Level 1 (112 points)
    iPhone
    Jan 3, 2013 7:45 AM in response to Obii-wan

    Hello Obii-wan,

     

    Could you tell me the step by step in order to change the PrioritizeNetworkReachabilityOverSleep settings the right way and have it to work?

     

    Cause I already changed the values but it didn't work, that's why, I think I made a mistake somewhere

  • by Tony T1,

    Tony T1 Tony T1 Jan 3, 2013 11:37 AM in response to loïcfernandezcastrillon
    Level 6 (9,249 points)
    Mac OS X
    Jan 3, 2013 11:37 AM in response to loïcfernandezcastrillon

    In Terminal:

       sudo pmset networkoversleep 1

    Then

      pmset -g

    to confirm that it was set

    You can also do:

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

    to see that PrioritizeNetworkReachabilityOverSleep was changed in the .plist file.

  • by loïcfernandezcastrillon,

    loïcfernandezcastrillon loïcfernandezcastrillon Jan 3, 2013 11:41 AM in response to Tony T1
    Level 1 (112 points)
    iPhone
    Jan 3, 2013 11:41 AM in response to Tony T1

    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...

  • by Tony T1,

    Tony T1 Tony T1 Jan 3, 2013 12:15 PM in response to loïcfernandezcastrillon
    Level 6 (9,249 points)
    Mac OS X
    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

first Previous Page 11 of 16 last Next