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

How to manually set ip, subnet mask, router and dns in recovery mode?

I want to reinstall mac osx lion and for that I need to enter recovery mode and choose reinstall mac osx lion but it warns me that I don't have an internet connection, that is because I have to manually set the ip, subnet mask, router and dns, but I can't find a way of doing it in recovery mode if anybody knows how please help me

MacBook Pro, Mac OS X (10.7.1)

Posted on Sep 10, 2011 12:00 AM

Reply
Question marked as Best reply

Posted on Sep 10, 2011 12:06 AM

I don't think you can, but you could enable your wireless or Ethernet connection using DHCP, which is the preferred method.

3 replies

Nov 18, 2011 8:14 AM in response to Skyskull

You can manually configure the IP address using Terminal (under the Utilites menu in Lion Recovery):


networksetup -setmanual ethernet [IP Address] [Subnet Mask] [Default Gateway]

ex: networksetup -setmanual ethernet 192.168.1.1 255.255.255.0 192.168.1.254


To Set DNS to get to websites (example will be for Google's DNS service)

networksetup -setdnsservers ethernet 8.8.8.8


I regularly have to do this on new Macs I am preparing to deploy. A system has to have a registered ethernet MAC address before it can receive a DHCP address.

How to manually set ip, subnet mask, router and dns in recovery mode?

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