rabbit.lu
IT section
Raspberry Pi

Raspberry Pi

A RasPi is an inexpensive mini computer yet having many applications.
I found: broadcasting a live cam stream, garden irrigation system, controlling AC power outlets for home lights, or any devices, or aqua lights, pumps, heating (...), sensing the environment (temperature, pression, GPS position, lux/luminosity, ...), controlling motors, communictiong via LAN/Wifi/GSM, handling a self UPS, being powered by solar panels, ...
Possibilities are endless.

Raspbian

Raspbian is a debian based distro customized for the Raspi. Many of the system commands need to be run as root, with sudo.
In this page the sudo is omitted, and commands that need root elevation are preceded with #. Normal commands are preceded with $.

Update procedure:
  1. # rpi-update (firmware update)
  2. # apt-get update
  3. # apt-get upgrade
  4. # apt-get dist-upgrade (if new packages are needed or old packages are deleted).
  5. (occasionally) # apt-get clean/autoremove/check

Firmware

To get your current version, run $ /opt/vc/bin/vcgencmd version.
The hash you get is from /boot/start.elf, search for VC_BUILD_ID_VERSION (you can get it with $ strings /boot/start.elf | grep VC_BUILD_ID_VERSION)
Compare it with the hash found in the current start.elf (file download).
For firmware commits history, go here. The hash corresponding to the last commit is obtained with : cat /boot/.firmware_revision

Raspi in the sky

LoRa-gateway: for tracking the Raspi in the sky. Needs a radio transmitter.







Navbar :: rabbit.lu / it /

$raspi.php
Last update: 14 June 2021 04:18:47
Hosting by OVH