raspberry

11/03/2021

brancher

Mettre la carte sd et tout brancher pour que ça boot

infos

check la version
cat /etc/os-release

check la carte sd
df -h /

check la temperature
vcgencmd measure_temp

SSH

activer ssh temporairement
service ssh start

activer ssh pour toujours
touch /boot/ssh

se connecter a ssh

ssh pi@host

installer chromium

apt-get update
apt-get install chromium-browser

connection à distance

sur le raspberry installer
apt-get install xrdp

on peut directemetn se connecter depuis le remote desktop de windows

pour se connecter depuis un linux (installer rdesktop.org)

start chrome from boot

/home/pi/.config/lxsession/LXDE-pi/autostart
@chromium-browser --kiosk www.raspberrypi.org
@chromium-browser --start-fullscreen www.raspberrypi.org

resolution

dans l'interface, un truc du genre :
settings
screen
resolution

son

emacs /boot/config.txt
to force HDMI mode (as opposed to DVI mode, which does not send sound). You can do this by editing /boot/config.txt and setting
hdmi_drive=2
then rebooting for the change to take effect.

Peut être necessaire
sudo raspi-config

Select System Options
select the Option named, Audio
Select HDMI mode
Save

After you have finished modifying your audio settings, you need to restart your Raspberry Pi in order for your changes to take effect.