Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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
add comment

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.