Benchmarking 1

Linux PC von anderen PCs zugänglich machen

Hier der Inhalt der Samba -config-Datei:

Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#    differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#    behaviour of Samba but the option is considered important
#    enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = Arbeitsgruppe

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# We want Samba to only log to /var/log/samba/log.{smbd,nmbd}.
# Append syslog@1 if you want important messages to be sent to syslog too.
   logging = file

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone server" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
   map to guest = bad user

########## Domains ###########

#
# The following settings only takes effect if 'server role = classic
# primary domain controller', 'server role = classic backup domain controller'
# or 'domain logons' is set
#

# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
#   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
#   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/useradd --create-home %u

# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe. 
# The following assumes a "machines" group exists on the system
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe. 
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap config * :              backend = tdb
;   idmap config * :              range   = 3000-7999
;   idmap config YOURDOMAINHERE : backend = tdb
;   idmap config YOURDOMAINHERE : range   = 100000-999999
;   template shell = /bin/bash

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 means that usershare is disabled.
#   usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

#======================= Share Definitions =======================

[homes]
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
   read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \\server\username
# This might need tweaking when using external authentication schemes
   valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/tmp
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin
 
Ich sag ja, Jungs, es wird Zeit für Wochenende! Spült mal das Gehirn-Gestürm durch :D Dann is' der Blick auf wieder gerade.
 
Das ist eine Sample config.
Kopiere dir mal den Inhalt aus meinem Post 22 auf Seite 2 rein und arbeite die Schritte ab.

Die Standard smb.conf kannst du dir ja an der selben Stelle sichern,

Code:
cd /etc/samba/
cp smb.conf smb.conf.bak
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: Crisser67
Grimba schrieb:
@Crisser67 vermutlich einfach
sudo chmod -R 751 /media/ich Das ist schlicht das, was da gefordert wird.
Super, das hat schon gereicht.
Naja fast, musste nur noch die Firewall beidseitig ausschalten, dann hat alles perfekt funktioniert.
Sogar Video-Stream über Wlan funzt perfekt beim Öffnen der Video- Datei.
Sind 2 ThinkPad X280 mit 1mal MX-KDE 23 und 1mal MX-KDE-25.
Mal schauen ob ich noch die Firewall hinbekomme.....
 
  • Gefällt mir
Reaktionen: zelect0r
Drakon111 schrieb:
mal aus der Entfernung, mal Neustart, Update oder mal Programm zu installieren
Heisst hier aus der Entfernung von einem Rechner im selben netzwerk oder ueber Internet?
Drakon111 schrieb:
bin mir nicht sicher, ob ich das hinbekomme, da das Neuland ist, für mich
Falls ueber das Internet wuerde ich das (im Fall von Neuland) besser von nen Fachmensch einrichten lassen! ⚠️

Da du die medien nicht nur uebertragen sondern auch streamen moechtest kann ich dir (wie auch schon Andere vor mir) Jellyfin empfehlen:
https://jellyfin.org/
Das gibt's auch via arch extra repo
Edit: ich hoffe das gibts bei cachy. Bin ich mir gerade nicht so sicher, nutze cachy selbst nicht.

Dann hast du quasi dein eigenes Netflix/Spotify
Das du von jedem Geraet mit Browser nutzen kannst. Inkl. Android app.
Neustarten kannst du den Rechner via Jellyfin auch.
Fuer Updates und Programme installieren nutze am besten ssh.

Ich hoffe das hilft dir schon mal etwas und wuensche viel Erfolg.
 
Zuletzt bearbeitet: (edit)
Dann kannst de nicht viel falsch machen.
Einfach darauf los basteln.
https://wiki.archlinux.org/title/NFS
https://wiki.archlinux.org/title/OpenSSH

Zur Not, wenn dir das nicht zu noobig ist und du Jellyfin ausprobieren moechtest: probier mal Ubuntu LTS.
Screenshot_20260418-112849.Firefox.png

https://jellyfin.org/downloads/server
Das muesste alles weitgehend automatisch einrichten. (Auch mit Debian).

Nochmals viel Spass und Erfolg ✌️
 
nipponpasi schrieb:
Ich habe aktuell CachyOS, basiert auf Arch Linux

Muss ich alles mal in einer ruhigen Minuten Durchlesen und mal machen, da ich das noch nie gemacht habe
 
Drakon111 schrieb:
Ich habe aktuell CachyOS
Ja ich weiss. Deshalb hatte ich in dem urspruenglichen Post das arch extra repo erwaehnt.
(Von dem ich mir nicht sicher war ob es bei cachy aktiv ist oder ob die ihr eigenes haben)
Die Info bezueglich Debian war lediglich der Vollstaendigkeit halber.

Schoenen Sonntag ✌️
 
Code:
❯ pacman -Ss jellyfin
cachyos-extra-v3/delfin 0.4.8-1.1
    Stream movies and TV shows from Jellyfin
cachyos-extra-v3/jellyfin-ffmpeg 1:7.1.3p5-1.1
    Jellyfin fork of ffmpeg
cachyos-extra-v3/jellyfin-server 10.11.8-1.1
    Jellyfin server backend
extra/delfin 0.4.8-1
    Stream movies and TV shows from Jellyfin
extra/jellyfin-ffmpeg 1:7.1.3p5-1
    Jellyfin fork of ffmpeg
extra/jellyfin-mpv-shim 2.9.0-2
    Cast media from Jellyfin Mobile and Web apps to MPV
extra/jellyfin-server 10.11.8-1
    Jellyfin server backend
extra/jellyfin-web 10.11.8-1
    Web client for Jellyfin
extra/python-jellyfin-apiclient 1.11.0-2
    Python API client for Jellyfin

Code:
❯ yay -Ss jellyfin
aur/mbcord-appimage 3.0.6-3 (+0 0.00) (Verwaist) (Veraltet: 2023-03-21)
    An Emby/Jellyfin rich presence client for Discord
aur/kodi-addon-jellycon 0.9.1-1 (+0 0.00)
    Lightweight Kodi add-on that lets you browse and play media files directly from your Jellyfin server.
aur/mbcord-bin 3.0.7-9 (+0 0.00) (Verwaist)
    An Emby/Jellyfin rich presence client for Discord
aur/cinetry-bin 0.7.11-2 (+0 0.00)
    Cross-platform local media player client for Emby/Jellyfin/WebDAV/IPTV and more
aur/fladder-git r1539.90bc47a-1 (+0 0.00)
    Fladder - A Simple Jellyfin Frontend
aur/autofilm-git 1.2.5.r34.g6aa94e0-1 (+0 0.00)
    A small project to provide Strm direct-link playback for Emby and Jellyfin servers, recommended for use with MediaWarp.
aur/stingray 1.0.6-1 (+0 0.00)
    Custom client for a private Jellyfin server.
aur/autofilm 1.5.0_1-5 (+0 0.00)
    A small project to provide Strm direct-link playback for Emby and Jellyfin servers, recommended for use with MediaWarp.
aur/kodi-addon-jellyfin 2.0.0-1 (+0 0.00)
    Synchronize your media on your Jellyfin server to the native Kodi database.
aur/preserve-git 0.5.0.r0.g8e7a8da-2 (+0 0.00)
    Efficiency oriented media player/jellyfin frontend
aur/immich-custom-memories-bin 0.1.0-1 (+0 0.00)
    Get missing metadata for new releases in Jellyfin
aur/tunarr-bin 1.2.11-1 (+1 0.01)
    Create a classic TV experience using your own media - IPTV backed by Plex/Jellyfin/Emby
aur/preserve 0.5.1-2 (+1 0.00)
    Efficiency oriented media player/jellyfin frontend
aur/mopidy-jellyfin 1.0.4-1 (+2 0.00)
    Mopidy extension for playing music from jellyfin
aur/blink-player-bin 1.0.0_alpha04-1 (+2 0.05)
    Modern Desktop Jellyfin Client made with Tauri and React ⚛.(Prebuilt version)
aur/finamp 0.9.23_beta-1 (+2 0.10)
    An open source Jellyfin music player
aur/finamp-git 4633.b8e2f89b-1 (+2 0.00)
    An open source Jellyfin music player
aur/python-mov-cli-jellyplex 1.1.3-1 (+0 0.00)
    A mov-cli v4 plugin for watching content from a media server hosting jellyfin or plex.
aur/jfcord-appimage 4.2.2-1 (+0 0.00)
    An Jellyfin rich presence client for Discord
aur/moonfin 1.3.3-1 (+0 0.00)
    Jellyfin & Emby media client for Linux
aur/sonixd 0.15.5-5 (+6 0.00) (Verwaist)
    A full-featured Subsonic/Jellyfin compatible desktop client
aur/coppelia-git r10.840f54a-1 (+0 0.00)
    A refined, cross-platform Jellyfin-focused music player
aur/coppelia-bin 0.0.11.alpha-2 (+0 0.00)
    A refined, cross-platform Jellyfin-focused music player
aur/jfa-go-git r2200.1c75530-1 (+1 0.00)
    A web app for managing users on Jellyfin
aur/jfa-go-bin 0.6.0-1 (+1 0.00)
    A web app for managing users on Jellyfin
aur/tsukimi-git 25.5.0.r1281.gc4eab8f-1 (+1 0.00)
    A simple third-party Jellyfin client for Linux
aur/fladder-bin 0.10.3-2 (+8 1.69)
    A Simple Jellyfin Frontend
aur/finamp-bin 0.9.23_beta-1 (+8 0.04)
    An open source Jellyfin music player
aur/tsukimi-bin 0.21.0-2 (+2 0.00)
    A simple third-party Jellyfin client for Linux
aur/jftui-git v0.1.2-3 (+1 0.00)
    TUI client for Jellyfin based on mpv
aur/jfa-go 0.6.0-1 (+1 0.00)
    A web app for managing users on Jellyfin
aur/jfsh 0.1.16-1 (+0 0.00)
    A terminal-based client for Jellyfin
aur/supersonic-desktop-wayland 0.21.1-1 (+6 0.34)
    A lightweight cross-platform desktop client for Subsonic and Jellyfin music servers.
aur/finar-unstable 1.1.0-1 (+1 0.32)
    Jellyfin frontend client (unstable build from GitHub)
aur/finar-bin 3.0.0-1 (+2 0.64)
    Jellyfin frontend client
aur/splayer-bin 3.0.0-1 (+1 0.00)
    🎵 A music player with Jellyfin / Navidrome / Emby media server support.(Prebuilt version.Use system-wide electron)简约的跨平台音乐播放器,支持逐字歌词、桌面歌词、任务栏歌词、云盘音乐、本地音乐管理及流媒体播放
aur/gelata-git r2.e72a7b3-1 (+0 0.00)
    Gelata is a modern and robust Jellyfin client for the Linux desktop.
aur/delfin-git v0.1.0.r0.g4ca4574-1 (+2 0.00)
    Stream movies and TV shows from Jellyfin
aur/jellyfin-desktop-libmpv-git 1:0.r54873.aa910a7-2 (+0 0.00)
    libmpv for jellyfin-desktop
aur/jellyfin-desktop-libcef-bin 146.0.10-1 (+0 0.00)
    CEF SDK for jellyfin-desktop
aur/jftui 0.7.5-3 (+13 0.00)
    TUI client for Jellyfin based on mpv
aur/jellyfin-autorefresh-new-releases-bin 0.2.7-2 (+0 0.00)
    Get missing metadata for new releases in Jellyfin
aur/jellyfin2samsung-bin 2.2.0.7-1 (+0 0.00)
    One-click install of Jellyfin on your Samsung TV — fully compatible with all Tizen versions!
aur/jellyfin-rpc-iced-git r15.a4d7a87-3 (+2 0.00)
    GUI For Jellyfin-RPC
aur/jellycli-bin 0.9.1-1 (+2 0.00)
    Terminal music player for Jellyfin & Subsonic media servers
aur/jellyfin-server-openrc 1.0-2 (+0 0.00)
    jellyfin server openrc service
aur/jellyfin-ffmpeg-bin 7.1.3-1 (+0 0.00)
    Jellyfin fork of ffmpeg (portable static build)
aur/jellyamp-appimage 1.1.1-1 (+1 0.00) (Veraltet: 2025-06-09)
    A stylish, cross-platform desktop client for listening to music from a Jellyfin server. Inspired by Plexamp.
aur/jellyfin-vue-git r5325.32fb1c7f-1 (+1 0.00)
    A modern web client for Jellyfin based on Vue
aur/jellyfin-media-player 1.12.0-6 (+3 1.43)
    Jellyfin Desktop Client - Legacy
aur/gelly 1.1.2-2 (+2 0.18)
    Music player for Jellyfin and Subsonic
aur/jellyfin-mpv-shim-web 1.7.0_5-1 (+4 0.00)
    Jellyfin web client for MPV Shim
aur/jellyshuf 0.3.0-1 (+0 0.00)
    Randomly add items to mpd queue from jellyfin (use in tandem with mopidy-jellyfin)
aur/jellyfin-rpc-git 1.3.3.r0.ge860f27-1 (+2 0.00)
    Displays the content you're currently watching on Discord
aur/jellyfin-runit 20240313-1 (+1 0.00)
    Runit service script for jellyfin.
aur/jellyfin-rpc-bin 1.3.4-1 (+4 0.18)
    Displays the content you're currently watching on Discord
aur/jellyfin-server-bin 10.11.8-1 (+4 0.21)
    Jellyfin server backend
aur/jelly 3.5.0-1 (+1 0.04)
    🪼 Explore & Stream Jellyfin via CLI
aur/jellyfin-desktop-git 1:0.r448.4d3f3e2-1 (+10 0.21)
    Jellyfin Desktop Client
aur/jellycli 0.9.1-1 (+4 0.00)
    Terminal music player for Jellyfin.
aur/jellyfin-rpc 1.3.4-1 (+4 0.00)
    Displays the content you're currently watching on Discord
aur/jellyfin-tui 1.4.2-1 (+6 0.01)
    Music streaming TUI client for Jellyfin
aur/jellyfin-server-git 10.12.0.r28174.738d475-2 (+21 0.00)
    Jellyfin server backend
aur/jellyfin-web-git 10.12.0.r28174.738d475-2 (+21 0.00)
    Jellyfin web client
aur/jellyfin-git 10.12.0.r28174.738d475-2 (+21 0.00)
    The Free Software Media System
aur/jellyfin-desktop 2.0.0-3 (+106 4.68)
    Jellyfin Desktop Client
cachyos-extra-v3/delfin 0.4.8-1.1 (4.6 MiB 18.6 MiB)
    Stream movies and TV shows from Jellyfin
cachyos-extra-v3/jellyfin-server 10.11.8-1.1 (17.6 MiB 69.2 MiB)
    Jellyfin server backend
cachyos-extra-v3/jellyfin-ffmpeg 1:7.1.3p5-1.1 (24.5 MiB 75.2 MiB)
    Jellyfin fork of ffmpeg
extra/python-jellyfin-apiclient 1.11.0-2 (75.9 KiB 402.6 KiB)
    Python API client for Jellyfin
extra/delfin 0.4.8-1 (4.8 MiB 20.2 MiB)
    Stream movies and TV shows from Jellyfin
extra/jellyfin-mpv-shim 2.9.0-2 (371.9 KiB 1.7 MiB)
    Cast media from Jellyfin Mobile and Web apps to MPV
extra/jellyfin-server 10.11.8-1 (17.6 MiB 69.2 MiB)
    Jellyfin server backend
extra/jellyfin-ffmpeg 1:7.1.3p5-1 (22.1 MiB 69.7 MiB)
    Jellyfin fork of ffmpeg
extra/jellyfin-web 10.11.8-1 (30.4 MiB 54.4 MiB)
    Web client for Jellyfin
 
Zurück
Oben