0

I have connected laptop and Raspberry pi 3 to one Wifi router. But I can't connect to Raspberry via SSH from my laptop. On raspberry SSH is enabled and I can connect to it from Raspberry itself. Here are some settings I have:

sudo service ssh status >>>>>>
ssh.serice - OpenBSD Secure Shell server
Active: active (running)
raspberrypi systemd[1]: Started OpenBSD Secure Shell server
raspberrypi sshd[503]: Server listeting on 0.0.0.0 port 22
raspberrypi sshd[503]: Server listeting on :: port 22

/etc/network/interfaces

auto lo
iface lo inet loopback
iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

ifconfig info
wlan0   inet addr:169.254.206.211 Bcast:169.254.255.255 Mask 255.255.0.0

I tried to connect on ubuntu like this:

ssh pi@169.254.206.211

And on windows via Putty

lomboboo
  • 103
  • 3
lomboboo
  • 1
  • 1
  • 1

2 Answers2

1

You appear to be attempting to set static IP address in /etc/network/interfaces. This will not work. See the following tutorial

How do I set up networking/WiFi/Static IP

EDIT I may be misinterpreting what you have in /etc/network/interfaces. As posted this implies that you have added wlan0 inet addr:169.254.206.211 Bcast:169.254.255.255 Mask 255.255.0.0

In addition 169.254.206.211 will not work through a router. This is a link-local address and is not routable.

If you have not entered this it implies that DHCP has not assigned an IP address.

Milliways
  • 62,573
  • 32
  • 113
  • 225
0

Have you checked the setting of your WLAN Box? There must be a checkbox down in the menu. It must be activated so that your computers can "talk" directly to each other in your WLAN net.

Hope I could help you.

Regards

Hirsch
  • 51
  • 4