I'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

If you loved this and want more like it, sign up!


Did I make your day?
Buy me a coffeeBuy me a coffee  

(you can learn about the bigger picture I'm working towards on my patreon page )