Fix two steps of the Kodi and Samba guides

- The Kodi LXC configuration is edited on the host without stopping it, since the next step reboots it
- Debian 13 uses wsdd2 for WS-Discovery
This commit is contained in:
MacRimi
2026-10-18 15:12:27 +02:00
parent f66eea2eb7
commit 2b3f844eef
16 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
"body": "Input devices live under <code>/dev/input/</code> on the host. Identify the major number:",
"listCode": "ls -l /dev/input",
"imageAlt": "Input devices list",
"afterList": "For character devices, use the major number before the comma (in the example: <code>13</code>). Stop the Kodi LXC and edit its configuration, replacing <code>'<'CTID'>'</code> with its ID, for example <code>102</code>:",
"afterList": "For character devices, use the major number before the comma (in the example: <code>13</code>). On the host, edit the Kodi LXC's configuration, replacing <code>'<'CTID'>'</code> with its ID, for example <code>102</code>:",
"editCode": "nano /etc/pve/lxc/CTID.conf",
"addLines": "Add (adjust <code>13</code> to what you saw on <strong>your</strong> host):",
"configCode": "lxc.cgroup2.devices.allow: c 13:* rwm\nlxc.mount.entry: /dev/input dev/input none bind,optional,create=dir",
+1 -1
View File
@@ -112,7 +112,7 @@
"<strong><code>pct reboot</code> fails with \"device not found\":</strong> the device path in <code>mp0</code> doesn't exist on the host. Check with <code>ls -l /dev/disk/by-id/</code> and update the path.",
"<strong>CT starts but <code>/mnt/lxc_USB</code> is empty:</strong> the disk may not be mounted, or its filesystem may be empty. Check from the host with <code>pct exec '<'CTID'>' -- mount | grep lxc_USB</code>. If the mount is absent, inspect its configuration, device path and startup errors.",
"<strong>Samba authenticates but writes fail with \"Permission denied\":</strong> check the directory’s Linux permissions and the share’s write settings. Review <code>chown</code> and <code>setfacl</code> in sections 1.5 and 2.3.",
"<strong>Share discovery fails but <code>smb://'<'ip'>'/lxc_usb</code> works:</strong> legacy NetBIOS discovery uses <code>nmbd</code>. Modern Windows discovery uses WS-Discovery instead; on Debian 12/13 install <code>apt-get install -y wsdd</code> and check its service and firewall. Enabling <code>nmbd</code> alone does not provide WS-Discovery.",
"<strong>Share discovery fails but <code>smb://'<'ip'>'/lxc_usb</code> works:</strong> legacy NetBIOS discovery uses <code>nmbd</code>. Modern Windows discovery uses WS-Discovery instead; on Debian 12 install <code>apt-get install -y wsdd</code>; on Debian 13, where <code>wsdd</code> is not in the stable archive, use <code>apt-get install -y wsdd2</code>. Check the service and firewall. Enabling <code>nmbd</code> alone does not provide WS-Discovery.",
"<strong>To add a second user to the share:</strong> create the account with <code>adduser</code>, register it with <code>smbpasswd -a</code> and add it to the comma-separated <code>valid users =</code> list. Also grant the required filesystem permissions or ACLs."
]
}