2022-05-20 21:27:09 +02:00
|
|
|
---
|
2023-02-26 12:35:35 +01:00
|
|
|
title: "Debian Raspberry Pi 3/4"
|
2022-11-19 15:25:20 +01:00
|
|
|
visible: true
|
2022-05-20 21:27:09 +02:00
|
|
|
---
|
|
|
|
|
2022-06-06 18:39:00 +02:00
|
|
|
[toc]
|
2023-02-26 12:35:35 +01:00
|
|
|
|
2022-05-20 21:27:09 +02:00
|
|
|
## Image
|
|
|
|
|
|
|
|
The image can be downloaded from the following link.
|
2023-02-26 12:35:35 +01:00
|
|
|
[https://raspi.debian.net/](https://raspi.debian.net/)
|
2022-05-20 21:27:09 +02:00
|
|
|
|
2023-02-26 12:35:35 +01:00
|
|
|
By default the only user account available is root with an empty password.
|
2022-05-20 21:27:09 +02:00
|
|
|
|
|
|
|
## Setup in tty
|
2023-02-26 12:35:35 +01:00
|
|
|
|
2022-05-20 21:27:09 +02:00
|
|
|
1. Install `keyboard-configuration` and `console-setup` to select the keyboard layout
|
|
|
|
2. Create a [new user](/linux/users-groups)
|
2023-02-26 12:35:35 +01:00
|
|
|
- Don't forget to add it to the "sudo" group
|
2022-05-20 21:27:09 +02:00
|
|
|
3. Check what IP address the device has
|
|
|
|
4. Install `sudo`
|
|
|
|
|
|
|
|
## Setup in ssh
|
2023-02-26 12:35:35 +01:00
|
|
|
|
2022-05-20 21:27:09 +02:00
|
|
|
1. Change the hostname to something sensible
|
2023-02-26 12:35:35 +01:00
|
|
|
- Change in /etc/hostname
|
|
|
|
- Add the line `127.0.1.1 (hostname)` in /etc/hosts
|