Power On: short pin 5 and GND
Power Off:
In /boot/config.txt
# use gpio to shutdown
dtoverlay=gpio-shutdown,gpio_pin=26,active_low=1,gpio_pull=up # shutdown button on gpio pin 26 (physical pin 37)
Power LED:
In /boot/config.txt
# use gpio to display PWR LED
enable_uart=1 # PWR LED on gpio pin 14 (physical pin 8)
Act LED:
In /boot/config.txt
dtoverlay=act-led,gpio=16 # ACT LED on gpio pin 14 (physical pin 8)
# dtoverlay=act-led,gpio=16,active_low=on # inverse on/off
Share USB tethered phone to Raspberry Pi 4 LAN port Raspberry Pi Setup Follow the instructions on Raspberry Pi: Take into consideration that we imagined the phone virtual interface of the Raspberry Pi is usb0. Set a static IP address to the eth0 which would be router's clients' default gateway. To do it, there is plenty of procedure: Put lines below to in /etc/dhcpcd.conf: interface eth0
Oct 29, 2021Install OpenSSH Server on Windows 10 Install OpenSSH Server On Windows 10 version 1803 and newer In Settings app, go to Apps > Apps & features > Manage optional features. Locate “OpenSSH server” feature, expand it, and select Install. Binaries are installed to %WINDIR%\System32\OpenSSH. Configuration file (sshd_config) and host keys are installed to %ProgramData%\ssh (only after the server is started for the first time). You may still want to use the following manual installation if you want to install a newer version of OpenSSH than the one built into Windows 10.
Jun 16, 2021Install PiShrink
Jun 11, 2021Setting up External Wi-Fi Dongle on Raspberry Pi OS Disable Bulid-In Wi-Fi in /boot/config.txt dtoverlay=disable-wifi Configure WPA Supplicant in /etc/wpa_supplicant/wpa_supplicant.conf network={
Sep 4, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up