I try to connect to my Raspberry Pi from my Mac via an ethernet cable. I get: ssh: connect to host 169.254.32.96 port 22: Connection refused.
Nmap says this:
Starting Nmap 7.12 ( https://nmap.org ) at 2016-11-09 10:43 CET
Nmap scan report for 169.254.32.96
Host is up (0.00088s latency).
Not shown: 749 closed ports, 250 filtered ports
PORT STATE SERVICE
80/tcp open http
When I connect to my Raspberry via WLAN and the Raspberry is connected to my Airport Express then connection via SSH is possible.
Nmap for this case:
Starting Nmap 7.12 ( https://nmap.org ) at 2016-11-09 10:44 CET
Nmap scan report for 10.0.1.12
Host is up (0.0015s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
5002/tcp open rfe
5901/tcp open vnc-1
6001/tcp open X11:1
I must connect to the Raspberry via ethernet cable for a show case. What do I have to change? I changed the iptable policies already but it didnt work. And I dont know which rules are used first. Additionally, I installed Eclipse Kura, tightvncserver and OpenXC framework. Since I installed those, I got the problems and entries to the iptable I don`t want to have. When I try to flush my iptables the Raspberry is operating at full capacity and unreachable.
Thanks for your help!
avahi
is azeroconf
implementation... – KevinS Nov 10 '16 at 16:29dhcpcd
- it is neither necessary, nor desirable. You may want to check~/.ssh/known_hosts
on your Mac. You do not state in your question HOW you are trying to connect - I assumed, because you can via LAN, that this is OK. – Milliways Nov 10 '16 at 23:16ssh pi@raspberrypi.local
I was able to connect ...... – KevinS Nov 11 '16 at 07:35m a newbie with Raspberry Pis and can
t get it to run like I want it... – KevinS Nov 12 '16 at 11:13open vnc://pi@raspberrypi.local:5901
I am not sure if this works - I rarely usevnc
. I knowrsync
doesn't work this way. – Milliways Nov 12 '16 at 21:45