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

Upgraded to OS X lion and now I cannot connect to the Internet. Wifi or hard wired. Any ideas?

After upgrading to lion I cannot connect to the Internet anymore. I have tried wifi and hard wired. Network preferences shows that I have an IP address and my DNS is listing correctly but still cannot connect. I can't even access my routers IP address to get into configuration. Any ideas?

MacBook Pro, Mac OS X (10.7)

Posted on Jul 20, 2011 9:32 AM

Reply
53 replies

Jul 20, 2011 11:51 AM in response to JErnesti

Launch Terminal app. and try to ping your router IP address.

so type:

ping -c5 x.x.x.x

(where x.x.x.x is your router IP address like 192.168.1.1 )


Launch another Terminal window and type:
ping -c5 www.google.com



If ping's to your router work while ping's to google fail, the issue is with your router, not the client. You can paste the output here if you need help.

Jul 20, 2011 9:34 PM in response to JErnesti

I'm having the same issue. What I was able to come up with is wired & wireless, DHCP does not give me an ip address. So I set one manualy and was able to get a little further. I was able to ping my router, and Google by IP address. Pinging Google by name does not resolve. So for some reason i'm getting DHCP issues and DNS issues but every other device in my house runs great and the Macbook worked before I installed Lion. As far as I know, I do not run avast. I'm completly lost at the moment on what to try next.

Jul 20, 2011 10:02 PM in response to Necrite

Necrite,

Does your Mac get a DHCP IP Address ? if it does, you can set the DNS manually. Use something like 8.8.8.8 and 8.8.4.4 (http://code.google.com/speed/public-dns/)


But if your client never get's an IP address try this:
On the Mac, launch Terminal and enter:
sudo tcpdump -i en1 -s0 -vv -p port bootps

*assuming en1 is your wireless adapter.


Now turn WIFi Off and On, and give it a few seconds for the issue to reproduce. Copy paste the output of the Terminal here and I can help you. What we are trying to do is search if the Mac trie's to get a DHCP IP.



Also make sure your DHCP Server (wireless router) gives out enough DHCP leases.

Jul 20, 2011 10:05 PM in response to wifiguru

No it did not get a dhcp address. Right when you replied I figured it out.

Mac's built in firewall seemed to be the cause. I disabled it, restarted and now I can connect wired & wireless. I turned it back on and restarted again and am still able to connect. Seems there is maybe a bug in the upgrade when carrying over the firewall settings. Thank you for all your help.

Upgraded to OS X lion and now I cannot connect to the Internet. Wifi or hard wired. Any ideas?

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