My raspberry pi tips and tricks

For headless setup on raspbian stretch lite

  • burn image using win32diskimager
  • open the boot partition
  • create a file named “ssh”
  • create a file named “wpa_supplicant.conf”
  • put the following lines into the file

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid=”YOUR_NETWORK_NAME”
psk=”YOUR_PASSWORD”
key_mgmt=WPA-PSK
}

To enable gert VGA output during pi install, put this inside config.txt after burning the image

################# enable vga start
dtoverlay=vga666
enable_dpi_lcd=1
display_default_lcd=1

dpi_group=2
dpi_mode=85
################ enable vga end

SSH volume control

amixer cset numid=1 — 20%

raspberry pi airplay

https://pimylifeup.com/raspberry-pi-airplay-receiver/