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
1 Answer
You can use Internet Sharing from Sharing Preference Pane.
Open
System PreferencesSelect
SharingPreference PaneEnable
Internet Sharingwith the following settings:Share your connection from:Wi-FiTo 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.
2