Note to self: Information about Pis I own can be found at https://strivinglife.gitlab.io/book-raspberry-pi/.
sudo shutdown -h now
ifconfig # Try to bring a network interface up. sudo ifup wlan0
# Restart Samba services. sudo /etc/init.d/samba restart # Backup copy of Samba configuration. sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old # Edit Samba configuration. Restart (see above) for changes to be picked up. sudo nano /etc/samba/smb.conf # Check Samba services. systemctl status smbd
# Check SSH service status. systemctl status sshd # SSH into a server with Raspberry Pi's default user. # Enter `exit` and press enter to quit the session. ssh pi@<ip_address>
# View past commands. history # View process information top
# List device information. sudo fdisk -l # List mounts. sudo mount -l # Example: cd into a mounted USB device. cd /media/usbhdd1
# Basic list of each port. lsusb # Lists out each port, with Product if there's a connected device. usb-devices
# List information about the connected display. tvservice -s
See https://elinux.org/RPi_HardwareHistory#Board_Revision_History for more information.
# Includes Hardware and Revision information. cat /proc/cpuinfo
- Make sure the correct audio output device is selected in the RetroPie configuration.
sudo nano /boot/config.txtand uncomment
#hdmi_drive=2. ctrl+o, enter, ctrl+x,