1

I've just bought a new Raspberry Pi Zero W v1.1 2017 and i already have a connection problem with putty over ssh.

Things i've done so far:

  • downloaded 2017-09-07-raspbian-stretch.img and burned with Win32DiskImager on micro sd

  • created an ssh file in the root folder

  • created wpa_supplicant.conf file containing:

    network={ ssid="Redmi4N" psk="12345678" key_mgmt=WPA2-Personal }

*also tried with key_mgmt=WPA2-PSK or without that line

When i try to connect with putty at raspberrypi i get the following error:

Unable to open connection to raspberrypi Host does not exist.

*same thing for raspberrypi.local as a host

Then, i've tried to check the connections with Advanced IP Scanner as i have read on forums but still nothing; it is not shown in there.

Am i doing something wrong? What else shoul i try?

PS:Using Windows 10 and the latest version of putty.

m3tsys
  • 161
  • 1
  • 5

3 Answers3

1

Raspbian Stretch has some 'tweaks' in the wpa_supplicant file before it will connect.

You need to add a dummy network connection.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=AU
network={
scan_ssid=1
ssid="NetworkName"
psk="Password"
key_mgmt=WPA-PSK
}
#fake network workaround for headless Raspberry Pi Zero
network={
ssid="fakessid"
psk="fakepass"
key_mgmt=WPA-PSK
}

or you could use the Open Source Tool I have developed and host on GitHub Raspberry-Pi-Zero-Wifi-Setup-Tool

Dr.Rabbit
  • 1,016
  • 6
  • 10
1

You seem to be over complicating the setup, which often introduces problems.

  • Download and write the image to card
  • Boot the image and change the default password
  • Enable SSH
  • Install wpagui and manage your required WiFi network, obtaining an IP
  • Use putty to connect to the Pi by IP

Windows 10 can now run Linux Subsystem (Ubuntu CLI) which can terminal SSH straight to the Pi.

Using 'Fing' (to scan) and 'JuiceSSH' (for SSH!) on an Android phone/tablet, connected to the same network, is perfect for quick tweaks or bedtime connections.

Andy Anderson
  • 649
  • 1
  • 4
  • 11
0
  1. go to Add/Remove programs and uninstall all Bonjour and Bonjour print services
  2. Instead of the registry edit, the group policy editor can be used:

launch gpedit.msc Navigate to Computer Configuration > Administrative Templates > Network > DNS Client Enable the "Turn off Multicast Name Resolution" policy.

  1. Reinstall bonjour print services. Now you should be able to connect via raspberrypi.local in Putty