PeetzCOM USB/IP Server - Installationsskript v1.0.0
Quelle: https://peetzcom.de/usb-ip-usb-geraete-via-netzwerk-einbinden/

Ziel: Raspberry Pi OS Lite (64 Bit), Debian 12/13, systemd, USB/IP-fähiger Kernel.

Installation:
  chmod +x install-usbip-server.sh
  sudo ./install-usbip-server.sh

Automatisiert:
  sudo ./install-usbip-server.sh --yes

Optional mit vollstaendigem OS-Upgrade:
  sudo ./install-usbip-server.sh --upgrade

Es werden Pakete installiert und folgende Dateien geschrieben:
  /etc/modules-load.d/usbip.conf
  /etc/systemd/system/usbipd.service
  /etc/systemd/system/usbip-autobind.service
  /usr/local/sbin/usbip-autobind
Vorhandene Dienst-/Skriptdateien werden vorher mit Zeitstempel gesichert.

ACHTUNG: Geeignete USB-Geraete werden automatisch vom lokalen Treiber geloest
und fuer USB/IP bereitgestellt, auch USB-Tastaturen/Netzwerkadapter!
USB/IP besitzt keine eingebaute Verschluesselung/Authentifizierung.
Nur in vertrauenswuerdigen Netzen verwenden und TCP/3240 per Firewall begrenzen.

Das Skript fuehrt keinen Neustart aus und konfiguriert keine Firewall.
Vor der Veroeffentlichung bitte auf der Zielhardware praktisch testen.

MIT-Lizenz (fuer diese generierte Skriptfassung):
Copyright (c) 2026 PeetzCOM IT-Services
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
