Skip to content

Commit 098cca9

Browse files
cmitutwojstaryzdomu
authored andcommitted
samba: add a Web Service Discovery service
[From: https://github.com/christgau/wsdd] With Windows 10 version 1511, support for SMBv1 and thus NetBIOS device discovery was disabled by default. This causes hosts running Samba not to be listed in the Explorer's "Network (Neighborhood)" views. While there is no connectivity problem and Samba will still run fine, users might want to have their Samba hosts to be listed by Windows automatically. This should fix the discoverability issues with recent Windows versions, especially since the SMBv1 client is not available anymore in Win11 (as some ill-advised instructions are trying to fix this problem).
1 parent d475d51 commit 098cca9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scriptmodules/supplementary/samba.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ function install_shares_samba() {
5050
add_share_samba "bios" "$home/RetroPie/BIOS"
5151
add_share_samba "configs" "$configdir"
5252
add_share_samba "splashscreens" "$datadir/splashscreens"
53+
54+
# Add `wsdd` so that RetroPie is easily discovered by Windows clients
55+
# Only available on Debian 12/Ubuntu 22.04 and later
56+
if apt-cache -qq madison wsdd; then
57+
aptInstall wsdd
58+
fi
5359
restart_samba
5460
}
5561

0 commit comments

Comments
 (0)