Raspberry Pi 4B Setup

  1. Install headless following instruction at link
  2. Download Raspbian Buster at link and install using balenaEtcher following this instruction
  3. When logging in to the second raspberry pi and it says key error, run the following command but modifying to the appropriate known_hosts location rm -f /home/user/.ssh/known_hosts
  4. VNC setup link
  5. Setup remote access anywhere. Instructions taken from link
  6. Head to the RealVNC Raspberry Pi sign up page and enter your email address in the sign up box.
  7. Follow the on-screen instructions to finish setting up your account with a password.
  8. Back on your Raspberry Pi, click the VNC icon in the top-right corner of the screen to open VNC. Then click the status menu and select Licensing.
  9. Enter the email address and password you created in step one.
  10. When prompted, select “Direct and cloud connectivity.” Your Raspberry Pi is now accessible online.
  11. If no VNC gui source
  12. The RPi must be set to boot to desktop (service mode).
  13. If a HDMI monitor is not attached then you need to specify a screen resolution in config.txt

Home internet

  1. To force change IP address source sudo dhclient -r wlan0 dhclient wlan0

Resilio Sync

  1. Installed resilio sync by following instructions at link
  2. Note that for Raspberry Pi 4, architecture is armhf.

Setup

source

sudo systemctl enable resilio-sync
sudo usermod -aG pi rslsync
sudo chmod g+rw ResilioSync
  1. Use command below to run as rslsync user. Service can also be run with the following arguments: start, stop, restart sudo service resilio-sync start

Fstab

  1. To get uuid sudo blkid

UUID=607AAD5D7AAD30A8 /home/pi/rslsync ntfs-3g defaults,noatime 0 1

Avatar
Luke Sy
PhD Candidate

My research interests include state estimation, robotics, wearable sensors, machine learning, and biomedical engineering.

Next
Previous