Reply
Regular Contributor
Posts: 84
Registered: ‎01-10-2004

Computer won't sleep when modem is turned on

About once a year my computer will not go to sleep. If I turn off the modem all is well and it sleeps just fine. If I manually put it to sleep all is well. It is not a computer issue or a mac issue I am convinced it has to do with comcast. One time a support person told me it had to do with putting in comcast phone service in our area and then it stopped. It started doing it again about 10 days ago. Is this a normal log file. I have included just a small samle. It appears that most of the time every 31 seconds something is going on. If the Firewall Log file is normal, does anyone else have an idea of what is going on. I have tried switching out modems and the result is the same

Thanks 

 

Apr  4 14:14:45 mark-gilmans-imac Firewall[434]: Stealth Mode connection attempt to UDP 10.0.1.3:51705 from 10.0.1.1:53

Apr  4 14:14:45 mark-gilmans-imac Firewall[434]: Stealth Mode connection attempt to TCP 10.0.1.3:50489 from 74.125.227.156:80

Apr  4 14:15:03: --- last message repeated 5 times ---

Apr  4 14:15:03 mark-gilmans-imac Firewall[434]: Deny cupsd data in from 10.0.1.3:631 to port 631 proto=17

Apr  4 14:15:34 mark-gilmans-imac Firewall[434]: Deny cupsd data in from 10.0.1.3:631 to port 631 proto=17

Apr  4 14:16:05 mark-gilmans-imac Firewall[434]: Deny cupsd data in from 10.0.1.3:631 to port 631 proto=17

Apr  4 14:16:36 mark-gilmans-imac Firewall[434]: Deny cupsd data in from 10.0.1.3:631 to port 631 proto=17

Apr  4 14:17:07 mark-gilmans-imac Firewall[434]: Deny cupsd data in from 10.0.1.3:631 to port 631 proto=17

 

Email Expert
Posts: 18,235
Registered: ‎04-27-2004

Re: Computer won't sleep when modem is turned on

Is the modem a combo modem/router? Is 10.0.1.3 the IP of the Mac?

 

The first two log messages seem to be talking about replies to the Mac. The first one is about a DNS reply, the second about an HTTP reply from a Google server.

 

The 5 after that have something to do with printing.

 

In the Energy Saver preferences, make sure "Wake for network access" is unchecked.

Networking Expert
Baric
Posts: 24,231
Registered: ‎07-28-2003

Re: Computer won't sleep when modem is turned on

[ Edited ]

There is all kinds of extraneous packets hitting your firewall, this is pretty normal even if we wish it wasn't so.  My advice, get a router.  Then the firewall burden is on the router's side and nothing is disturbing your Mac unless you want it to.  Highly recommended.

 

If you don't want to get a router, then try going into your Energy Saver settings in System Preferences and make sure the option Wake for network access is NOT checked.

 

EDIT: Pfft, I see Barmar beat me to it... ;-)

Email Expert
Posts: 18,235
Registered: ‎04-27-2004

Re: Computer won't sleep when modem is turned on

He already has a router. Notice the 10.x.x.x addresses, those are private addresses (similar to 192.168.x.x).

Regular Contributor
Posts: 84
Registered: ‎01-10-2004

Re: Computer won't sleep when modem is turned on

Have an airport extreme. The computer is hardwired in through the airport extreme, wifi is only for the ipad.

Energy Saver is not checked for wake for network access 

In Network Preferences it say

Ethernet is currently active and has the IP address 10.0.1.3.

For DNS Server and Router it says 10.0.1.1

99% of the time my printer is turned off

95% of the time there is no problem with sleep function. I believe it has to do with something that comcast is testing or changing in the area. Thanks again  The more info I can get here makes it easier when I talk to Comcast. I am also amazed at how fast people respond here

Networking Expert
Baric
Posts: 24,231
Registered: ‎07-28-2003

Re: Computer won't sleep when modem is turned on

It's HIGHLY unlikely to be anything Comcast is doing since you are behind a router.  Unless you have ports fowarded on the router to your Mac, nothing is going to get through to the Mac that did not originate on YOUR side of the router.  And if Wake on network access is unchecked, it's likely NOT a network issue.  There are many things that prevent sleep, have you checked the items on this list?

 

http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp2995.html

 

Networking Expert
Baric
Posts: 24,231
Registered: ‎07-28-2003

Re: Computer won't sleep when modem is turned on


Barmar wrote:

He already has a router. Notice the 10.x.x.x addresses, those are private addresses (similar to 192.168.x.x).


Yes, you are correct, the light did not go on until after I posted my reply.  Oh well...

Email Expert
Posts: 18,235
Registered: ‎04-27-2004

Re: Computer won't sleep when modem is turned on

When you use a router (the Airport Extreme), it isolates your computer from anything Comcast is doing -- whatever Comcast sends goes to the router, but it doesn't go to the computer unless it's in response to something the computer sent out or you have port forwarding enabled for that type of traffic. So I think it's very unlikely that Comcast is doing anything to keep your Mac from going to sleep.

 

However, there's obviously some Internet involvement if the problem disappears when you turn off the modem. My guess is that something on the Mac is connecting out to the Internet. If it succeeds, it keeps the computer from going to sleep, but if it can't connect the computer can sleep. I'm not sure what specifically could be doing this, but maybe it will point you in the right direction.

 

This seems like more of a job for the Apple Genius Bar than Comcast tech support. This isn't going to be on their scripts of standard questions and answers.

Regular Contributor
Posts: 84
Registered: ‎01-10-2004

Re: Computer won't sleep when modem is turned on

I have tried some much of what has been suggested, Also started up from a new account with fresh preferences,  I deleted 

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

 /Users/[username]/Library/Preferences/com.apple.systemuiserver.plist, unplugged everything except keyboard and mouse from the imac and zapped the pram, connected directly to the computer and totally bypassed the Airport Extreme, and some other stuff i can't remember. It makes me think it is either something in my computer or Comcast. Why I lean toward Comcast is normally this is not a problem, but about every year and one half this shows up for about 3 weeks and then self corrects. 3 years ago when it happened I went to a local authorized Apple repair shop and they tested the machine for 24 hours and could find nothing with their diagnostics. One week later it was fine. Also one year ago it was doing this a finally a tech who came to the house told me it was because they were changing the area so it could use comcast telephone. Two weeks later all was well. This winter had very, very slow service and after various tech house calls, they announced that they had a bad line for the area, plus other lines just outside the area, plus they had to reconfigure something at the home office. Anyway all was fine until this last go round. (I must say the techs who came to the house were great) So there was also some other non sleep weeks.  Anyway most of the time all is well except for the moments. 

Anyway thanks for the advice and info to all who responded. I have basic Mac Software, MS Word FM Pro, Quicken and some other not very complex software. I even turned off all the check for update software preferences. So I will call Comcast now. They always want me to get a new modem, which I did twice and it didn't work, and hopefully I can get an answer from them or Apple. As a P.S., I have found the support people on the phone have no idea what the techs who come to your house are doing. When I try to get one of the outside people to talk to,  it is almost impossible. For example they didn't know the techs were working on a problem in the area or setting up phone service. This is also a problem i have had with TV issues, where finally the person who came to the house after a few calls said the problem is not with you but in other work we are doing. I also will repeat all tech phone and house calls were very polite and nice people.

 

Web Page Expert
BethKatz
Posts: 5,906
Registered: ‎11-14-2006

Re: Computer won't sleep when modem is turned on

This could also be a power problem. Your Mac may be sensitive to some subtle power fluctuations. One of my uninterruptible power supplies go through various periods of getting more fluctuations. Some of those would trigger my Mac Pro monitor to come on during the night. I use a power strip switch to turn off the monitor overnight.

 

So my question/suggestion is to have a UPS or maybe if your monitor is separate from the computer, a power strip to turn it off at night.
Regular Contributor
Posts: 84
Registered: ‎01-10-2004

Re: Computer won't sleep when modem is turned on

Problem solved. As I said before thanks to everyone for all these suggestions got me thinking, but it was Barmar I believe who mentioned The 5 after that have something to do with printing (from the log information).

Share this printer on the network was checked in Print and Scan Preferences. How it got turned on I am not sure. I think I downloaded the drivers to reinstall from the canon site  (Canon Pixma ip4200) and that might have done it. Now all is solved. As I know very little of networks, it didn't dawn on me that just because the Printer was turned off and unplugged the computer could still be searching for a network. So thanks again,   Mark