3

When I connect my Mac to the Raspberry Pi directly via an ethernet cable, in the terminal, I can type:

ssh pi@raspberrypi.local

No special configuration is required.

On my Ubuntu Linux machine, I cannot seem to find the address raspberrypi.local on a direct Ethernet connection. On the other hand, if I connect to a MiFi device (which I have previously configured the Pi to connect to), I can find raspberrypi.local and do a regular SSH into it. I am hesitant to do this, however, as I have the Pi recording data resulting in a large data file, which is slow to transfer via the MiFi device, and would much prefer an Ethernet connection.

I recognize that this is most likely a network connectivity issue. How do I go about troubleshooting this, and enabling my Ubuntu machine such that I can ultimately just type:

ssh (or scp) pi@raspberrypi.local
ericmjl
  • 875
  • 2
  • 8
  • 11

1 Answers1

1

It's a naming issue in DNS resolving. Edit hosts file like in this tutorial add a line :

1.2.3.4 raspberrypi.local

where 1.2.3.4 is the IP address in your Pi. You can also try to use Bounjour multicast DNS, but it's - IMHO - it's a too overwhelming approach

Alexey Vesnin
  • 926
  • 10
  • 17