Prototyping for Habitat: Difference between revisions

From XPUB & Lens-Based wiki
Line 32: Line 32:




5. Login into the Pi, using the ''ip address of the pi'', or using the ''hostname of the machine''.
ssh root@192.168.1.73
ssh pi@192.168.2.15
ssh pi@raspberrypi.local


</div>
</div>

Revision as of 13:28, 18 November 2021

Raspberry Installation

I followed this guide: → https://pzwiki.wdka.nl/mediadesign/The_Ultimate_RPi_Installation_Guide
1. Download an OS image file

2. Put image on SD Card

  • Open terminal
  • Find the disk that you are going to write to
diskutil list
  • Find the disk /dev/disk<number>
  • You need to unmount the SD Card before imaging
sudo diskutil unmountDisk /dev/disk<number>
  • Then to image the disk with your image put in the following command
sudo dd bs=4m if=/path/to/your/image.img of=/dev/rdisk<number>

3. Enable SSH on the Pi

With a screen + keyboard

  • Connect the Pi to a screen and keyboard.
  • Run: sudo raspi-config
  • Select Interfacing Options
  • Navigate to and select SSH
  • Choose Yes
  • Select Ok
  • Choose Finish


4. put the SD card back in the Pi and boot it up


5. Login into the Pi, using the ip address of the pi, or using the hostname of the machine.

ssh root@192.168.1.73
ssh pi@192.168.2.15
ssh pi@raspberrypi.local