# Setting up Raspberry Pi Zero W with e-Ink hat

**URL:** <https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899>\
**Category:** uncategorized\
**Created:** [January 8, 2021, 7:54pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899 "2021-01-08T19:54:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 8, 2021, 7:54pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/1 "2021-01-08T19:54:44Z")

</div>

These are new to me, but here’s a brief document on setting them up. The Raspberry Pi Zero W:

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/6/a/6aeadb9423ed5dca3908553f2cd529eef2234dba.jpeg)

Dimensions: 65mm × 30mm × 5mm

| | |
| --- | --- |
| SoC | Broadcom BCM2835 |
| CPU | ARM11 running at 1GHz |
| RAM | 512MB |
| Wireless | 2.4GHz 802.11n wireless LAN |
| Bluetooth | Bluetooth Classic 4.1 and Bluetooth LE |
| Power | 5V, supplied via micro USB connector |
| AV | 1080P HD video & stereo audio via mini-HDMI connector |

I got this kinda cool [USB combo case](https://www.amazon.com/gp/product/B07NKNBZYG) that allows you to use it dual sided (!), that is either side can be inserted into the USB port for power, and in _theory_ you can SSH in over USB:

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/5/4/5418a3e828340f9a3333aaa7b9f5ad5be3e7bb34.jpeg)

I ran into trouble with the GPIO pin headers, they require soldering. I’d prefer.. not.. to solder so I bought these pressure mount GPIO pin headers instead

> **[GPIO Hammer Headers - Solderless Raspberry Pi Connectors](https://www.adafruit.com/product/3413)**
>
> If your soldering isn't quite up to scratch, or you just don't own a soldering iron yet, then these nifty hammer headers from Pimoroni might be just what you need. They come in ...

I got confused because the “regular” Pis have these headers already pre-soldered on, but apparently that’s not the case on the Pi Zero. EDIT: there is a distinction between the Pi Zero W and the [Pi Zero WH](https://shop.pimoroni.com/products/raspberry-pi-zero-wh-with-pre-soldered-header) – which has the headers pre-soldered. That’s what you want, if you need the headers!

So basically what you need is:

- Pi Zero W (make sure it’s the 2017 wifi enabled model)
- the “hammer” GPIO connector set that you can pressure mount on
- quality 32gb SD card

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 8, 2021, 8:03pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/2 "2021-01-08T20:03:42Z")

</div>

I do have these two pi-zeros set up and running:

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/d/a/daa44ab887541c4c1a06b63d9b375ef9575dec88.png)

The official way to set them up is via SSH over USB per the wiki:

[https://wiki.52pi.com/index.php/USB\_dongle\_for\_Raspberry\_Pi\_Zero/Zero\_W\_SKU:EP-0097](https://wiki.52pi.com/index.php/USB_dongle_for_Raspberry_Pi_Zero/Zero_W_SKU:EP-0097)

- Download [the latest Raspbian image](https://www.raspberrypi.org/downloads/) 32-bit
- Flash your SD card as usual
- Open up the `boot` partition and edit `config.txt`, adding `dtoverlay=dwc2` to the bottom
- Open up `cmdline.txt` and add `modules-load=dwc2,g_ether` after `rootwait`
- Create a new file named `ssh` in the boot folder
- Insert this TF card to Raspberry Pi Zero/Zero W
- Pop your newly set up SD card into your Pi Zero
- plug it into a USB port and you should be able to SSH in to `raspberrypi.local`,
- you will need Bonjour, iTunes or Quicktime installed in Windows or Avahi Daemon in Linux for this to work.

I couldn’t get the last bits to work in Windows 10, though I definitely made edits to the relevant files in the filesystem:

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/2/8/280b99e670f059aaa40bd12c528cd61162d2bbfe.png)

### `cmdline.txt`

`console=serial0,115200 console=tty1 root=PARTUUID=c2eb13c4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether`

### `config.txt`

```
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=dwc2
dtparam=act_led_trigger=actpwr
gpu_mem=32

```

It says **you will need Bonjour, iTunes or Quicktime installed in Windows or Avahi Daemon in Linux for this to work** and I installed iTunes in Windows 10 but still had no luck getting in via local SSH.. the `raspberrypi.local` address could not be resolved.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 8, 2021, 8:07pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/3 "2021-01-08T20:07:09Z")

</div>

What I _did_ get to work is [setting up wifi access](https://www.raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf/). Create a blank text file named `wpa_supplicant.conf`. Use a plain text editor rather than a Word Processor.

### `wpa_supplicant.conf`

```auto
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
 scan_ssid=1
 ssid="MyNetworkSSID"
 psk="Pa55w0rd1234"
}

```

(Oh and I also created the blank `ssh` file in the root so SSH was enabled.)

I copied that `wpa_supplicant.conf` file to the SD card in the root, plugged in the USB power, let it boot up, and voila.. it showed up with a valid IP address:

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/5/b/5b466de38d9c97e8a5d6b02fe0c474ec0989163d.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 8, 2021, 8:09pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/4 "2021-01-08T20:09:15Z")

</div>

There’s also a pretty good list of `raspi-config` things you want to do (such as set a unique hostname) documented here:

> **[My Raspberry Pi Setup Checklist](https://www.richinfante.com/2019/01/27/raspberry-pi-setup)**
>
> My checklist for Americanizing and configuring a new raspberry pi.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 14, 2021, 7:40am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/5 "2021-01-14T07:40:14Z")

</div>

I got a pressure mount hat from here, because I _suuuck_ at soldering.

> **[GPIO Hammer Header (Solderless) - Pimoroni](https://shop.pimoroni.com/en-us/collections/raspberry-pi/products/gpio-hammer-header?variant=356433180)**
>
> Absolutely no soldering required! All that's needed is a few gentle taps with a hammer and bazinga! Your header is securely attached to your Pi Zero or pHAT.

Pressure mounting is a bit finicky so you have to eyeball it and make sure all the pins are more or less at the same depth.

(I also belatedly realized the [Raspberry Pi Zero WH](https://www.amazon.com/dp/B07W3GJTM1/) includes the soldered-on headers for a few more bucks, $18 vs $27, I should have just done that in the first place! I also noticed this stuff is a bit more expensive on Amazon versus the “official” vendors like Canakit)

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/5/c/5ce1b4d8988f05df213def9f4a7c3551c62e2076.jpeg)

The e-ink display docs are here, and they work. I skipped the Python 2 stuff though.

> **[2.13inch e-Paper HAT (B) - Waveshare Wiki](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT_(B)?Amazon)**

(click on “hardware / software setup” tab at the top, scroll down to the Raspberry Pi section)

This e-Ink module is marked V3, rev 2.1, and I _think_ 4 line SPI?

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/a/9/a94339e4aabfd12da8b9cef6468bcfc2c844ba7f.jpeg)

so the example python file I used included V3 as well as the dimensions of 2.13 inch. After some pressure mount pin nudging, I got both to work!

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/5/e/5e2d530caf1dc7f7fc875baa2050d663d430be87.jpeg)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 14, 2021, 8:31am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/6 "2021-01-14T08:31:47Z")

</div>

Pins, pins, pins!

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/5/5/5597c448428c7eccf47ab248fc4b868a51c88719.jpeg)

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/2/1/217d8e51cb0c8bb776ec10c83561219304f00eaf.png)

> **[Raspberry Pi OS - Raspberry Pi Documentation](https://www.raspberrypi.com/documentation/computers/os.html)**
>
> The official documentation for Raspberry Pi computers and microcontrollers

 ![image](https://discourse.codinghorror.com/uploads/default/original/3X/d/e/de4936cf35ad2e14ea88775edc0401a411621039.png)

Fun interactive diagram of the pinout

[https://pinout.xyz/](https://pinout.xyz/)

Note that the square pin is always pin #1!

---

<div class="post-metadata">

**Author:** ![thw0rted](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/thw0rted/32/36443_2.png) [@thw0rted](https://discourse.codinghorror.com/u/thw0rted)\
**Post date:** [January 14, 2021, 10:18am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/7 "2021-01-14T10:18:24Z")

</div>

If you had bet me a thousand dollars when I woke up this morning that I’d be reading the sentence

> I installed iTunes in Windows 10 but still had no luck getting in via local SSH

I would have called you a fool and taken it gladly. (How on _earth_ is Bonjour/iTunes providing USB/serial SSH? And _surely_ there has to be a non-Apple solution for that problem… right?)

ETA: also, I just did my own Pi setup this weekend with an old 3B I had lying around, turned it into a custom DHCP server so I could feed Smart DNS settings to my Rokus. What’s your plan with the e-ink displays? They look really neat!

---

<div class="post-metadata">

**Author:** ![pop](https://discourse.codinghorror.com/letter_avatar_proxy/v2/letter/p/3be4f8/32.png) [@pop](https://discourse.codinghorror.com/u/pop)\
**Post date:** [January 14, 2021, 12:20pm UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/8 "2021-01-14T12:20:20Z")

</div>

Neat e-ink screen!

> [@codinghorror](#):
>
> It says **you will need Bonjour, iTunes or Quicktime installed in Windows or Avahi Daemon in Linux for this to work** and I installed iTunes in Windows 10 but still had no luck getting in via local SSH… the `raspberrypi.local` address could not be resolved.

Try `raspberrypi.lan` instead of `raspberrypi.local` - that worked for me for SSH from Win 10 to a Pi3 with Raspberry Pi OS last month.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 16, 2021, 12:54am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/9 "2021-01-16T00:54:13Z")

</div>

Hey! Thanks for the nudge! That did work! 🥳

I used Powershell this time, and note that I changed the name (via `raspi-config`) of each so that I could keep track of them:

- pizero-a
- pizero-b

```plaintext
PS C:\Users\jatwo> ping pizero-a.lan

Pinging pizero-a.lan [2600:1700:a410:2950:cca:c9f4:3a7f:3bb9] with 32 bytes of data:
Reply from 2600:1700:a410:2950:cca:c9f4:3a7f:3bb9: time=7ms
Reply from 2600:1700:a410:2950:cca:c9f4:3a7f:3bb9: time=11ms
Reply from 2600:1700:a410:2950:cca:c9f4:3a7f:3bb9: time=10ms
Reply from 2600:1700:a410:2950:cca:c9f4:3a7f:3bb9: time=12ms

Ping statistics for 2600:1700:a410:2950:cca:c9f4:3a7f:3bb9:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 7ms, Maximum = 12ms, Average = 10ms
PS C:\Users\jatwo>

```

```plaintext
PS C:\Users\jatwo> ssh pi@pizero-a.lan
pi@pizero-a.lan's password:
Linux pizero-a 5.4.83+ #1379 Mon Dec 14 13:06:05 GMT 2020 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jan 16 00:48:08 2021 from 2600:1700:a410:2950:bdd2:358d:6a21:fc4c
pi@pizero-a:~ $ echo yay
yay

```

I have no idea why @thw0rted but the docs page said iTunes might be required (Bonjour?). What can I say, I was desperate.. I’ll uninstall that now..

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 21, 2021, 5:33am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/10 "2021-01-21T05:33:56Z")

</div>

Here’s what running the correct sample looks like. This is a V3 device (per the sticker) with a 2.13in screen, so `epd_2in13b_V3_test.py` it is!

```auto
root@pizero-a:/home/pi/e-Paper/RaspberryPi_JetsonNano/python/examples# python3 epd_2in13b_V3_test.py
INFO:root:epd2in13b_V3 Demo
INFO:root:init and Clear
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
INFO:root:Drawing
INFO:root:1.Drawing on the Horizontal image...
DEBUG:root:Horizontal
DEBUG:root:Horizontal
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
INFO:root:2.Drawing on the Vertical image...
DEBUG:root:Vertical
DEBUG:root:Vertical
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
DEBUG:root:Horizontal
DEBUG:root:Horizontal
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
DEBUG:root:Horizontal
DEBUG:root:Horizontal
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
INFO:root:Clear...
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
INFO:root:Goto Sleep...
DEBUG:root:e-Paper busy
DEBUG:root:e-Paper busy release
DEBUG:root:spi end
DEBUG:root:close 5V, Module enters 0 power consumption ...
root@pizero-a:/home/pi/e-Paper/RaspberryPi_JetsonNano/python/examples#

```

Here’s the `epd_2in13b_V3_test.py` code, also [mirrored on github](https://github.com/waveshare/e-Paper/tree/master/RaspberryPi_JetsonNano/python/examples)

```python
#!/usr/bin/python
# -*- coding:utf-8 -*-
import sys
import os
picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath( __file__ ))), 'pic')
libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath( __file__ ))), 'lib')
if os.path.exists(libdir):
    sys.path.append(libdir)

import logging
from waveshare_epd import epd2in13b_V3
import time
from PIL import Image,ImageDraw,ImageFont
import traceback

logging.basicConfig(level=logging.DEBUG)

try:
    logging.info("epd2in13b_V3 Demo")
    
    epd = epd2in13b_V3.EPD()
    logging.info("init and Clear")
    epd.init()
    epd.Clear()
    time.sleep(1)
    
    # Drawing on the image
    logging.info("Drawing")    
    font20 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 20)
    font18 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 18)
    
    # Drawing on the Horizontal image
    logging.info("1.Drawing on the Horizontal image...") 
    HBlackimage = Image.new('1', (epd.height, epd.width), 255) # 298*126
    HRYimage = Image.new('1', (epd.height, epd.width), 255) # 298*126 ryimage: red or yellow image  
    drawblack = ImageDraw.Draw(HBlackimage)
    drawry = ImageDraw.Draw(HRYimage)
    drawblack.text((10, 0), 'hello world', font = font20, fill = 0)
    drawblack.text((10, 20), '2.13inch e-Paper bc', font = font20, fill = 0)
    drawblack.text((120, 0), u'微雪电子', font = font20, fill = 0)    
    drawblack.line((20, 50, 70, 100), fill = 0)
    drawblack.line((70, 50, 20, 100), fill = 0)
    drawblack.rectangle((20, 50, 70, 100), outline = 0)    
    drawry.line((165, 50, 165, 100), fill = 0)
    drawry.line((140, 75, 190, 75), fill = 0)
    drawry.arc((140, 50, 190, 100), 0, 360, fill = 0)
    drawry.rectangle((80, 50, 130, 100), fill = 0)
    drawry.chord((85, 55, 125, 95), 0, 360, fill =1)
    epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))
    time.sleep(2)
    
    # Drawing on the Vertical image
    logging.info("2.Drawing on the Vertical image...")
    LBlackimage = Image.new('1', (epd.width, epd.height), 255) # 126*298
    LRYimage = Image.new('1', (epd.width, epd.height), 255) # 126*298
    drawblack = ImageDraw.Draw(LBlackimage)
    drawry = ImageDraw.Draw(LRYimage)
    drawblack.text((2, 0), 'hello world', font = font18, fill = 0)
    drawblack.text((2, 20), '2.13 epd b', font = font18, fill = 0)
    drawblack.text((20, 50), u'微雪电子', font = font18, fill = 0)
    drawblack.line((10, 90, 60, 140), fill = 0)
    drawblack.line((60, 90, 10, 140), fill = 0)
    drawblack.rectangle((10, 90, 60, 140), outline = 0)
    drawry.rectangle((10, 150, 60, 200), fill = 0)
    drawry.arc((15, 95, 55, 135), 0, 360, fill = 0)
    drawry.chord((15, 155, 55, 195), 0, 360, fill =1)
    epd.display(epd.getbuffer(LBlackimage), epd.getbuffer(LRYimage))
    time.sleep(2)
    
    # logging.info("3.read bmp file")
    Blackimage = Image.open(os.path.join(picdir, '2in13bc-b.bmp'))
    RYimage = Image.open(os.path.join(picdir, '2in13bc-ry.bmp'))
    epd.display(epd.getbuffer(Blackimage), epd.getbuffer(RYimage))
    time.sleep(2)
    
    # logging.info("4.read bmp file on window")
    blackimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126
    redimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126    
    newimage = Image.open(os.path.join(picdir, '100x100.bmp'))
    blackimage1.paste(newimage, (0,0))
    epd.display(epd.getbuffer(blackimage1), epd.getbuffer(redimage1))
    
    logging.info("Clear...")
    epd.init()
    epd.Clear()
    
    logging.info("Goto Sleep...")
    epd.sleep()
    time.sleep(3)
    epd.Dev_exit()
        
except IOError as e:
    logging.info(e)
    
except KeyboardInterrupt:    
    logging.info("ctrl + c:")
    epd2in13b_V3.epdconfig.module_exit()
    exit()

```

---

<div class="post-metadata">

**Author:** ![gulyasal](https://discourse.codinghorror.com/letter_avatar_proxy/v2/letter/g/ed8c4c/32.png) [@gulyasal](https://discourse.codinghorror.com/u/gulyasal)\
**Post date:** [April 22, 2022, 8:05am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/11 "2022-04-22T08:05:29Z")

</div>

Just FYI, in case this happens to someone else: the SSH via PuTTY to rasperrypi.local worked for me, but my password kept getting rejected, and it was only after a while that I realized that I had been logging in to the wrong raspberry pi (I have dozens of them, albeit none with USB connection; it seems the .local also works with locally LAN connected Pi’s as well). I changed the hostname with sudo nano /etc/hostname and then used the unique hostname to try again, and then it worked!

---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [January 7, 2025, 6:39am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/12 "2025-01-07T06:39:01Z")

</div>

Closed on January 7, 2025, 6:39am UTC



---

<div class="post-metadata">

**Author:** ![codinghorror](https://discourse.codinghorror.com/user_avatar/discourse.codinghorror.com/codinghorror/32/36371_2.png) [@codinghorror](https://discourse.codinghorror.com/u/codinghorror)\
**Post date:** [February 6, 2025, 8:35am UTC](https://discourse.codinghorror.com/t/setting-up-raspberry-pi-zero-w-with-e-ink-hat/7899/13 "2025-02-06T08:35:55Z")

</div>

Opened on February 6, 2025, 8:35am UTC


