Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have had my MacBook Pro for about 6 months; bought it new in 2010. I am running Mac OS 10.6.5.

Using Airport to connect to the Internet. Had no problems until this last week, when at an apparently random moment, some applications (e.g. Safari, iTunes, Adium and Tweetie) decide the Internet is no longer connected. The message from Safari is the standard "You are not connected to the Internet."

Pinging different hosts on the Internet works completely fine, and I can browse without any issue on Firefox.

Network Diagnostics reports that the Internet is connected. Turning Airport on and off, and closing and rebootting the applications doesn't seem to help.

I did manage to fix the problem with a reboot but would rather find the underlying issue and a better solution. Can anyone out there help?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I've had this issue on my Macbook as well and found that if you go into terminal and clear the cache it loads the pages again.

Type dscacheutil -flushcache

share|improve this answer
    
Thanks for the suggestion Split71, I'll give it a go next time it happens. –  Formulate Information Design Mar 15 '11 at 6:22
1  
Just had the problem happen again, and that command seemed to fix it. Thank you! –  Formulate Information Design Mar 31 '11 at 7:03

Just stabbing in the dark here - DNS? Or rather, the relation of Safari towards DNS (since you mentioned that Firefox was working fine).

I know that Safari takes on the system wide proxy settings and firefox has its own - another possible avenue why firefox works when safari doesn't.

Maybe you could try opening two new tabs when the issue occurs again and try accessing http://72.30.2.43 and www.yahoo.com on the second tab. Perhaps we could help eliminate DNS with that test.

Muck around the system proxy settings is another possible investigation route.

share|improve this answer
    
Finally had the error occur again and tried your suggestion. Browsing by IP address works but browsing by name doesn't. Again, Firefox works fine for both, and 'host yahoo.com' from the terminal resolves the name correctly. Any ideas on how to fix, or further things to look at? –  Formulate Information Design Jan 18 '11 at 12:17
    
Cool. I think we've narrowed it down to DNS - for some reason your machine is not able to resolve the IPs to the websites. I do not have a reason as to why it does that but I would like to suggest that you change the DNS server entries on your network settings to 8.8.8.8 & 8.8.4.4 (these are Google DNS servers you can also use any free DNS services on the net eg. opendns) and test it out for a bit. –  deeviate Jan 20 '11 at 2:30
    
Really appreciate all your attempts to help me with this one, deeviate. I know the DNS servers work because other computers on the network can resolve hosts. I also need local DNS servers to resolve internal addresses, so I can't use the Google ones. –  Formulate Information Design Mar 15 '11 at 6:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.