Raspberry Pi startup

The first thing I did when I bought my first Raspberry was to install and run an OpenElec Media Center image: works, faster and easier than expected. Thanks to the HDMI connector and the full-HD graphics chip, the Raspberry Pi works wonderfully as a TV supplement when smart TV functions are missing or lacking, or as an engine for a retro game console like Super Nintendo. There are also more specialized images for automation tasks, for example as a supplement for controlling a 3D printer, or for use as a smart home control center.

The images for the Raspberry Pi are usually pre-configured and basically only need to be installed on a micro SD card, which the Raspberry then boots from. Admittedly, when it comes to automation or special requirements up to the development of your own applications, it is not just a matter of installing an image ...

Does a Raspberry Pi pay off?

In 2017, I would have answered this question with "yes", back then a current model cost around 40$. 6 years later, the now aging hardware costs over 100€ and the current models even more. Whether a Raspberry Pi pays off, still depends on the purpose. The fact is that the price-performance ratio of the Raspberry Pi was certainly better 6 years ago .

 

Quickstart summary

As a shortcut for all impatient people, I have summarized the essential steps for the startup in advance:

Requirements

  • Raspberry-Pi: of course ...
  • Optional: case
  • Micro USB power supply or smartphone charging cable for power supply, e.g. USB cell phone charger best with at least 2A.
  • Optional for network connection:
    • Ethernet cable or WLAN access
  • For the control (input devices)
    • Via network (Ethernet or WLAN) or
    • USB keyboard, mouse, remote control or
    • Bluetooth input device or
    • when using a TV set with CEC and a suitable HDMI cable, the control can be done via the TV remote control.
  • Optional: depending on requirements HDMI screen

Images

At the beginning there is the selection of a suitable operating system. Depending on the application, an already pre-configured image can be used for this, as already mentioned.

Raspbian

Raspbian is a Linux image based on Debian. Raspbian is the recommended OS for the Raspberry and is used by many other images as a base. For Raspbian you don't have to plug a screen to the HDMI output in the first step. So that SSH is automatically active at the first start, a file named "ssh" can be created on the SD card. Since the network card is set to DHCP by default, the Raspberry can get an IP when connecting via network cable to a router, with this we can then connect to the Raspberry via SSH.

Download the current version at:

 http://downloads.raspberrypi.org/raspbian_latest  

For SSH access via Putty or directly from Linux, the assigned IP address of the router and the following credentials are used for the connection: As SSH user "pi" and as password: "raspberry" is used.

(Connection via Putty: the IP can be read out in the user administration of the router used).

The initial configuration can be started with the command: sudo raspi-config.

As with other Debian-based Linux OSes, new software updates can be applied to the PI by means of

sudo apt-get update

sudo apt-get upgrade

Can be used to install new software updates.

Firmware Update

using: sudo rpi-update

Home Assistant

The Raspberry Pi can be used as a server for Home Assistant from version 3.

OpenElec

To use a media center, we plug the Raspberry into a monitor or TV via HDMI. New TVs can then control the Raspberry via the HDMI cable and the TV remote. Version 3 of the Raspberry can also integrate into the home network via WLAN and pair Bluetooth devices in addition to USB remote controls. A simple USB mouse is also sufficient for the initial setup.

Download: http://openelec.tv/get-openelec

RetroPie

Retro game console. Ready-to-use image with numerous emulators for mostly older game consoles such as Super Nintendo.

Download: https://retropie.org.uk/

OctoPi

Control for 3D printer, see: OctoPi - installation

Change IP or WLAN SID:

sudo nano /boot/octopi-network.txt

Uploading an image under Windows

The micro SD card can be recorded under Windows with the free tool Win32 Disk Imager. Download: sourceforge.net/projects/win32diskimager/

Alternative via https://www.raspberrypi.com/software/

It is important to select the drive letter for the SD card, otherwise a wrong partition could be overwritten ...

Installing an image under Linux e.g. Ubuntu

Display the drives with the command: lsblk or display with df -h

user@rechner ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev 7,9G 4,0K 7,9G 1% /dev
tmpfs 1,6G 1,7M 1,6G 1% /run
/dev/sdb1 44G 27G 15G 64% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
none 5,0M 0 5,0M 0% /run/lock
none 7,9G 88M 7,8G 2% /run/shm
none 100M 36K 100M 1% /run/user
/dev/sde2 7,2G 2,5G 4,5G 36% /media/boern/retropie
/dev/sde1 57M 20M 37M 36% /media/boern/boot

Clone image to the SD card:

sudo umount /dev/sde1sudo umount /dev/sde2sudo dd bs=4M if=/media/temp/pi3_retro_snes.img of=/dev/sde

create compressed image:

sudo dd bs=4M if=/dev/sde | gzip > /media/temp/image`date +%d%m%y`.gz

Restore compressed images:

sudo gzip -dc /media/temp/image???.gz | dd bs=4M of=/dev/sde
Preview Raspberry PI as WLAN access point

Raspberry PI as WLAN access point

created: 2022-06-15 from Bernhard

As an extension for my home network, I tested the Raspberry Pi 3 as a WLAN access point. Due to the integrated WLAN chip, the minicomputer can easily be used as an additional WLAN access point on an Ethernet cable. ... continue reading

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Updated: 2023-03-28 von Bernhard | Übersetzung Deutsch |🔔

Cheap and economical Docker Mini Server for home use | Hardware | BIOS Error Codes Beep Codes, Beep Tones: AMI PHOENIX AWARD
Home Server | Cheap and economical Docker Mini Server for home use

Top articles in this section


[DIY] Build your own low power NAS: cheap and energy-efficient

If you are looking for a NAS (Network Attached Storage) for home use, you cannot avoid the manufacturers Synology and QNAP. Both manufacturers deliver small NAS complete solutions with the option to synchronize data locally or via the Internet, and both do not exactly charge little money for the hardware used.


Nextcloud Server Docker | Setup + https: Let's Encrypt [ssl]

To synchronize contacts, appointments, and photos of my NAS, I tested Nextcloud and thus turned my back on other cloud providers for my private data. Thanks to Docker, the installation is easier and more flexible than ever, allowing Nextcloud to run on almost any hardware.


Running Bitwarden in Docker - Setup step by step

Bitwarden is a web-based password manager, similar to LastPass, but open source and the ability to run (host) it yourself. How Bitwarden compares to other password managers, I have considered on the following page: Password Managers Secure? KeePass vs LastPass vs Bitwarden. Bitwarden consists of several services, which can be provided via different containers. The relatively complex setup has been simplified with "Bitwarden Unified" especially for self-hosting by packing all services into one co...

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details