Close

Rasberry Pi 4 Start Guide

username: pi
password: raspberry

# Change Password
passwd
# Change Timezone
sudo timedatectl set-timezone America/Chicago

# Install GPIO
sudo apt install python3-rpi.gpio
# DIABLE WIFI/BT
sudo nano /boot/config.txt
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
# Create Custom Service
sudo nano /lib/systemd/system/name.service

----------------------------------
[Unit]
Description=Resetter
After=multi-user.target

[Service]
ExecStart=/usr/bin/python3 /home/pi/main.py

[Install]
WantedBy=multi-user.target
----------------------------------

sudo chmod 644 /lib/systemd/system/name.service
sudo systemctl daemon-reload
sudo systemctl enable name.service
sudo systemctl start name.service
sudo systemctl status name.service