SSH Access
(Tutorial) https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" then enable ssh on start using raspi-config it can also be started and stopped using sudo service ssh start and sudo service ssh stop check status with sudo service ssh status check open ssh sessions who -a kill ssh dameon sudo pkill -9 sshd Copy your public key to your Raspberry Pi ssh-copy-id @
Homebrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
Force the screen to stay on
sudo nano /etc/lightdm/lightdm.conf
Add the following lines to the [SeatDefaults] section:
xserver-command=X -s 0 dpms
Disable Swap-file
sudo service dphys-swapfile stop
External Storage
https://www.raspberrypi.org/documentation/configuration/external-storage.md
exFAT
sudo apt install exfat-fuse
NTFS
sudo apt install ntfs-3g
location of the disk partition:
sudo blkid
File Server Samba
https://jankarres.de/2013/11/raspberry-pi-samba-server-installieren/
Install
sudo apt-get install samba samba-common-bin
config
sudo nano /etc/samba/smb.conf [global] workgroup = WORKGROUP security = user encrypt passwords = yes Test with testparm
Restart
sudo service smbd restart
sudo service nmbd restart
for windows:
[global] client min protocol = SMB3 protocol = SMB3 wins support = yes ntlm auth = true workgroup = WORKGROUP security = user encrypt passwords = yes
Share external drives
[Media] comment = "Media" path = /media/pi browseable = yes
read only = yes only guests = no public = yes guest ok = yes