]> apps.delaporte.us Git - dotfiles.git/blob - cheatsheets/raspberry-pi.md
Added VNC recipe.
[dotfiles.git] / cheatsheets / raspberry-pi.md
1
2 ## Remote Access
3
4 Under Preferences
5
6 + Change Password
7 + Under Interfaces - Enable SSH and VNC
8
9 On a Windows computer:
10
11 ```powershell
12 choco install vnc-viewer
13 ```
14
15 VNC remote host will be `raspberrypi.local`.
16 User is `pi`. Password is whatever you set in the step above.
17
18 ## Overclock
19
20 Watch your speed with one of these commands:
21 ```bash
22 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
23 vcgencmd measure_clock arm
24 watch -n 1 vcgencmd measure_clock arm
25 ```
26
27 To edit the overclock setting:
28 ```bash
29 sudo vi /boot/config.txt
30 ```
31
32 ```ini
33 # uncomment to overclock the arm. 700 MHz is the default.
34 over_voltage=6
35 arm_freq=2000
36 ```
37
38 Reboot to apply changes.
39
40 ```bash
41 sudo reboot
42 ```
43
44 [Explanation of availabe over-clock settings](https://haydenjames.io/raspberry-pi-3-overclock/)