- Raspbian (currently
buster
)
If using new version Raspbian, make sure all the version related name in
fabfile.py
is matched
- Select image.zip
- Select drive
- Flash!
In order to connect to Raspberry Pi without a monitor at first. We need to enable ssh since in current version of Raspbian it is default disable.
- Create a empty file called
ssh
at the root directory of the SD card.touch /Volumes/boot/ssh
- Ejact (Unmount) SD card
- Check the device name of the SD Card
diskutil list
- Unmount disk
diskutil unmountDisk /dev/diskNum
- Check the device name of the SD Card
There are many approaches
Use
ifconfig
and see current PC WLAN address and replacex
with related value
nmap -sn 192.168.x.x/24
- Angry IP Scanner - the original IP scanner for Windows, Mac and Linux
- angryip/ipscan: Angry IP Scanner - fast and friendly network scanner
- Windows
- putty
- iOS, Android
- Terminus
Default setting
- user: pi
- password: raspberry
e.g. ssh [email protected]
Login to each Raspparry Pi and type
sudo raspi-config
(only for Raspbian)
- Setup locale
- How to configure locale settings of Raspbian Stretch with raspi-config - Techcoil Blog
- Or just
sudo locale-gen en_US.UTF-8
(recommend)
# Find the SD card device name (assume it's disk2)
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 234.4 GB disk1s1
2: APFS Volume Preboot 45.1 MB disk1s2
3: APFS Volume Recovery 517.1 MB disk1s3
4: APFS Volume VM 11.7 GB disk1s4
/dev/disk2 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.7 GB disk2
1: Windows_FAT_32 boot 45.9 MB disk2s1
2: Linux 15.6 GB disk2s2
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.7 GB disk3
1: Windows_FAT_32 boot 45.9 MB disk3s1
2: Linux 15.6 GB disk3s2
# Unmount SD card
$ diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
# Format SD card (FAT32)
$ sudo newfs_msdos -F 32 /dev/disk2
newfs_msdos: warning: /dev/disk2 is not a character device
512 bytes per physical sector
/dev/disk2: 30567232 sectors in 1910452 FAT32 clusters (8192 bytes/cluster)
bps=512 spc=16 res=32 nft=2 mid=0xf0 spt=32 hds=255 hid=0 drv=0x00 bsec=30597120 bspf=14926 rdcl=2 infs=1 bkbs=6
# Copy from another SD card
$ sudo dd if=/dev/disk3 of=/dev/disk2
- How to find out Raspberry Pi GPU and ARM CPU temperature on Linux - nixCraft
- Raspberry Pi 4 Heat Testing - YouTube
#!/bin/bash
# Script: my-pi-temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# Author: Vivek Gite <www.cyberciti.biz> under GPL v2.x+
# -------------------------------------------------------
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"
- Official Website
- Installation Guide
- Documentation
- Remote Access
- Configuration
- Securing Your Raspberry Pi
Trouble Shooting
- ubuntu - How do I resolve
The following packages have unmet dependencies
- Stack Overflowfab CMD-parallel 'sudo apt-get install -fy vlc-bin vlc-plugin-skins2'
- Perl locale problem