Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing an arduino project with an Ethernet shield. In order to simulate that the arduino is connected to a router i simply want to make the Macbook act as a DHCP server and give the IP to the arduino board

how do i do?

Thanks

share|improve this question
up vote 7 down vote accepted

You can use Internet Sharing from Sharing Preference Pane.

  1. Open System Preferences

  2. Select Sharing Preference Pane

  3. Enable Internet Sharing with the following settings:

    Share your connection from: Wi-Fi

    To computers using: Ethernet

Aleph 0 has a more detailed article about it.

There's also an article by Jacques Fortier on Running Mac OS X's built-in DHCP server that describes how you can do it manually.

share|improve this answer
    
i love you, it was just so straightforward – Matteo Toto Aug 20 '13 at 8:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .