Apple Event: May 7th at 7 am PT

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

Mountain Lion disconnect from Ethernet in sleep mode

I have a late 2009 iMac running Mountain Lion. I use a program called LogMeIn to remotely access my iPhone from other computers and my iPhone. This app worked in Lion, since it was able to work even if my iMac was in sleep mode. However, in Mountain Lion, my iMac looses connection to both my Ethernet and Wi-Fi when it is in sleep mode, renedering LogMeIn useless. In order to use it, I had to sett sleep to never in the Energy Saver prefrences.


So basically, all networking stops on sleep, on both Ethernet and Wi-Fi. I did not encounter this problem in Lion, but ever since upgrading to Mountain Lion it's been happening. Does anyone have any suggestions to fix this? Is anyone else havin

iPhone 4S, iOS 5.1.1, Verizon, 16 GB, Black

Posted on Jul 30, 2012 4:07 AM

Reply
Question marked as Best reply

Posted on Jul 30, 2012 4:18 AM

If you have not, I would go to your "Applications" folder>System Preferences>Energy Saver> and check the box "Wake for Network Access".


Hope this helps 🙂

234 replies

Aug 2, 2012 2:55 AM in response to sflomenb

Same here



Recently after upgrading to Mountain Lion I found that my wired Lan show up as unplugged after sleep, I tried


sudo ifconfig en0 down

sudo ifconfig en0 up


which seems to execute very fast, but does not work


I tried logout/in,


The only things there help for now is a reboot and offcause shutdown and start next morning works too.


iMac 27 May 2011

Model Identifier 12,2

Model Number A1312


LAN is 1Gb


I still have Lion on another partition which works perfectly


I suspect a driver issue, so how do I reload the Network LAN Driver


Any Idea's will be appriciated

Aug 3, 2012 8:42 PM in response to sflomenb

Hey folks, I have this problem solved. I purchased a 2011 iMac for iOS development a few days ago (I'm brand new to Apple products). I need to access it remotely (from outside my home network) from my win 7 computer because of my work logistics. Here is what I do:


- Installed logmein on it and set proper port forwarding on router. (I assume you have this done properly)

- installed UltraVNC viewer on my win 7 and set IT'S port forwarding on the router as well. (there is a simple alternative to this. See NOTE below)


Now I do realize have TWO VNC systems, BUT when I kick off UltraVNC viewer on my win 7 PC it does WAKE ON LAN my sleeping iMac successfully. I immediately quit from it and use logmein because I like its interface better and it's faster too. I continue to use Logmein on my PC and it accesses my iMac properly. I use it consitently and it works relatively well.


NOTE: Instead of UltraVNC, I also have installed a wake on lan app on my android and it is able to start my iMAc through wireless (not wi fi) consistently, i.e. it is remote and outside of my network. So alternatively, you can use this instead of UltraVNC installed on your remote computer. If you do go with UltraVNC make sure you don't use CNET's installer--it's a spam installer. Use UltraVNC's own installer (instructions available on their forums and they warn of this as well).


I hope this helps!

Aug 4, 2012 11:05 PM in response to megabyzus

A few days ago, are you sure it's is a Mountain Lion, not sure at all it reach the stores in a week.


Anyway to took your idea and tried to wake from LAN, No Luck


There is link on she switch of mine, but status is still unplugged in OSX and ifconfig show


en0: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500

options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>

ether 40:6c:8f:04:b8:db

media: autoselect (none)

status: inactive


vs.


en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>

ether 40:6c:8f:04:b8:db

inet6 fe80::426c:8fff:fe04:b8db%en0 prefixlen 64 scopeid 0x4

inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255

media: autoselect (1000baseT <full-duplex,flow-control>)

status: active


also i use DHCP (reserved)

Aug 5, 2012 11:13 AM in response to margate

I had this scheme running both on Lion AND I have it currently runing on my very recent Mountain Lion install. I was never able to WOL using Logmein alone (I think even Logmein acknowdledges that).


Unless there is something wrong with your particular unit/iMac, I would focus on getting WOL working on it first (I have an iMac and have changed my Preferences in Energy settings to allow WOL.) before moving on to Logmein.(or whatever VNC).


I use an Android app called 'Wake on Lan' to WOL my iMac externally (there are many). Since you're WOLing externally, make sure you use your iMac's GLOBAL IP address (lots of online sites available to easily find that) and the port you have opened for that app on your router. Use THAT ip address and THAT port on the WOL app (or for the installed UltraVNC on your PC). This particular Android WOL app also requires your iMac's MAC address (find it from 'About Your...' on your iMac unit). You need all three for an external/nonhome WOL. Also make sure you have the proper ports forwarded on your router to your iMac's INTERNAL/HOME IP address.so when the router gets an external WOL signal it routes it properly internally to your iMac unit to wake it up. Each WOL app uses a different 'well known' port. The 'wake on lan' Android app, for example, uses port 9 so port 9 needs to be forwarded on your router to your iMac's INTERNAL IP. On the other hand, UltraVNC that I use normally, (installed on my PC) need ports 5900 and 5800 forwarded on the router if I recall correctly (please confirm yourself).


BTW, judging from the posts here, I would wager, the bug's with Logmein rather than Mountain Lion.



I hope this helps.

Aug 5, 2012 10:10 PM in response to megabyzus

In my case it is the WIRED Ethernet, I dont use Wifi.


@medabyzus, recognize that all the others didn't had issue prior to Mountain Lion upgrade, so it is hardly a HW issue, also Lion is workning where folks tried it incl me.


1st post is about accessing iPhone and other computers from iMac, a few of the post is about remote access incl you, but it seems to be the same issue? within OSX 10.8


So put your imac to sleep in afternoon, wake it up next morning with mouse/keyboard and check your network

Aug 6, 2012 6:58 AM in response to margate

@margate, I didn't say it was a HW issue (although possible). I implied it might be the new OS misbehaving on these different machine.


But to re-iterate, my iMac 2011 (purchased a week ago which I promptly updated to Mountain Lion) is consistenty WOLing and I am consistently able to you Logmein. Again, I was never able to WOL with Logmein alone and I always had to use another mechanism to WOL before using Logmein, in my case 'wake on lan' app on my Android or UltraVNC o my PC.


I have had my machine asleep many many times and have always been able to WOL it remotely regardless of how log it's been asleep and when.

Aug 11, 2012 10:45 PM in response to hilltop415

Hi

The DHCP change turned out to be better, but it didn't solved the loss of network, however I also noticed that my iMac didn't really went to sleep (black screen, a few clicks, but no sleep), so I followed this (2nd reply) to verify disks, SMC Reset and rebooted in Safe mode to clear some caches.


This worked for me (3 days), doing resume and a ifconfig right after, the interface has no IP address, seconds later it has it, so iMac sends a DHCP request on resume, no matter the lease time.


@hiltop415, it is in the routers DHCP settings, but try this first.

Mountain Lion disconnect from Ethernet in sleep mode

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