Raspbian

From Torben's Wiki

basics

default login: pi/raspberry

basic setup

sudo raspi-config
- Network : set hostname
- Interfacing options : Enable SSH
- Localization -> change Keyboard Layout

grant access to tty to user pi

sudo usermod -a -G tty pi

NTP Enable Time Sync

sudo timedatectl set-ntp true

pi-hole, unbound, log in ram, ...

https://forum.kuketz-blog.de/viewtopic.php?f=53&t=8759

which IPv6 address?

ip a ls |grep fd00

Network Settings: static IP and DNS

/etc/dhcpcd.conf

config.txt

Location

Raspbian:

sudo vim /boot/config.txt 

Libreelec:

mount -o remount,rw /flash
nano /flash/config.txt
mount -o remount,ro /flas

Power Saving

see https://blues.io/blog/tips-tricks-optimizing-raspberry-pi-power/
disable Wifi and Bluetooth
[all]
# disable wifi
dtoverlay=disable-wifi
# disable bluetooth
dtoverlay=disable-bt
Disable Onboard LEDs
[pi4]
# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable the Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Disable ethernet port LEDs
dtparam=eth_led0=4
dtparam=eth_led1=4
CPU

from https://raspberrypi.stackexchange.com/questions/103653/setting-the-maximum-clock-speed

set powersave at runtime

sudo apt install cpufrequtils
sudo cpufreq-set -g powersave

systemctl_Services

see Linux_Bash_Shell_Scripting#systemctl_Services