So I want to connect ssh to my RPi 3 through an ethernet port on my Macbook pro.
My RPi is on jessie.
I am not able to find the local IP address of the RPi through my computer. I can find the ethernet port's address but shh into that address does nothing. The only way I can shh to the RPi is by using $ ssh [email protected]
. After doing this ssh, doing $ arp -a
resolves the ipv4 ipv6 and host name. Maybe even sometimes, closing the terminal session and then starting a new one and running $ arp -a
displays the RPi info directly.(probably because its info is cached)
What I want is to be able to resolve the IP address of the RPi without having to run $ ssh [email protected]
first. So I could open terminal do some other command (I guess) and then run $ arp -a
and it would display it.
Something else I have noticed; the RPi sometimes as an IPv6 instead of IPv4, which is strange because the RPi is design to express IPv4 locally.
I don't want to do the internet sharing thing because it is really not necessary.
hostname.local
(OK it doesn't work withrsync
). No one can "resolve" your problem (if you have one) because you have not described your network topography.169.254
which is a Link-local address i.e. NO address has been allocated (this is to be expected with a direct connection). As for "didn't remember the hostname" what do you expect?