Useful commands and scripts for managing and configuring Raspberry Pie Debian
watch --color /home/pi/get_pi_temp.sh
chmod +x get_pi_temp.sh
sudo raspi-config
sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo rpi-update
vcgencmd get_throttled
bit | flag |
---|---|
0: | under-voltage |
1: | arm frequency capped |
2: | currently throttled |
3: | under-voltage has occurred |
4: | arm frequency capped has occurred |
5: | throttling has occurred |
example output (no throttling has occurred)
throttled=0x0
example output (under-voltage)
throttled=0x50000
sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
df -h
df -B1
mount -t vfat -o umask=000 /dev/sde1 /mnt/fat
mount -t ntfs -o umask=000 /dev/sdd1 /mnt/ntfs
sudo ifconfig
sudo route -n
# Static IP configuration
interface eth0
static ip_address=192.168.1.XXX/24
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
iface eth0 inet static
address 192.168.1.XXX
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
For MotionEye stream pre-view Disablie chrome://flags/#enable-lazy-image-loading