How to find DHCP clients on OS X's Internet Sharing
Published 2013-5-5I've got a Raspberry Pi with which I'm using OS X's Internet Sharing. Since the RPi's uses DHCP by default, but mDNS is turned off by default it takes a little magic to figure out which IP address the RPi is using.
That magic is this command:
arp -i bridge0 -a
You'll probably see a very low IP address such as
192.168.2.3
You can then log into the RPi and turn mDNS on so that you don't have to remember the IP address like so
sudo apt-get update
sudo apt-get install avahi-daemon
# and check the hostname too
hostname
Afterwards you can find it via mDNS
ssh pi@raspberrypi.local
By AJ ONeal
Thanks!
It's really motivating to know that people like you are benefiting
from what I'm doing and want more of it. :)
Did I make your day?
Buy me a coffee
(you can learn about the bigger picture I'm working towards on my patreon page )