Skip to content

Instantly share code, notes, and snippets.

@jtornero
Created May 25, 2023 11:20
Show Gist options
  • Save jtornero/11da42c7828735dceaa20007aedd6937 to your computer and use it in GitHub Desktop.
Save jtornero/11da42c7828735dceaa20007aedd6937 to your computer and use it in GitHub Desktop.
Rockpi 4C+ LTSP server ltsp.conf
# /bin/sh -n
# LTSP configuration file
# Documentation=man:ltsp.conf(5)
# The special [server] section is evaluated only by the ltsp server
[server]
# Enable NAT on dual NIC servers
#NAT=1
# Provide a full menu name for x86_32.img when `ltsp ipxe` runs
# IPXE_X86_32_IMG="Debian Buster"
#DEFAULT_IMAGE="rockpi"
RPI_IMAGE="raspios"
SERVER="192.168.2.1"
# The special [common] section is evaluated by both the server and ltsp clients
[common]
# Specify an alternative TFTP_DIR
# TFTP_DIR=/var/lib/tftpboot
# In the special [clients] section, parameters for all clients can be defined.
# Most ltsp.conf parameters should be placed here.
[clients]
# Specify an /etc/fstab line for NFS home; note this is insecure
# FSTAB_HOME="server:/home /home nfs defaults,nolock 0 0"
# MAC address, IP address, or hostname sections can be used to apply settings
# to specific clients.
ADMINISTRATIVE_CLIENT=[B8:27:EB:F0:B6:1A]
DEBUG_LOG=1
DEBUG_SHELL=1
# HOSTNAME=pc01
# Include parameters from another section, defined below
# INCLUDE=crt_monitor
# Shell "case" expressions can be used in MAC, IP, or hostname sections.
# This matches all Raspberry Pi MAC addresses.
[b8:27:eb:*|dc:a6:32:*]
# FSTAB_BOOT="/dev/mmcblk0p1 /boot vfat defaults 0 2"
# If you have proper DNS, you can use hostname sections
[administrator-pc]
# Only allow the administrator to log in to this client
# PWMERGE_SUR="administrator"
# You can also group parameters into named sections and INCLUDE= them elsewhere
[crt_monitor]
# Force EDID and resolution to 1024x768 for clients with old CRT monitors
X_HORIZSYNC="28.0-87.0"
X_VERTREFRESH="43.0-87.0"
X_MODES='"1024x768" "800x600" "640x480"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment