2022-05-20 21:27:09 +02: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]
|
2022-05-20 21:27:09 +02:00
|
|
|
## Image
|
|
|
|
|
|
|
|
The image can be downloaded from the following link.
|
|
|
|
[https://raspi.debian.net/](https://raspi.debian.net/)
|
|
|
|
|
|
|
|
By default the only user account available is root with an empty password.
|
|
|
|
|
|
|
|
## Setup in tty
|
|
|
|
1. Install `keyboard-configuration` and `console-setup` to select the keyboard layout
|
|
|
|
2. Create a [new user](/linux/users-groups)
|
|
|
|
- Don't forget to add it to the "sudo" group
|
|
|
|
3. Check what IP address the device has
|
|
|
|
4. Install `sudo`
|
|
|
|
|
|
|
|
## Setup in ssh
|
|
|
|
1. Change the hostname to something sensible
|
|
|
|
- Change in /etc/hostname
|
|
|
|
- Add the line `127.0.1.1 (hostname)` in /etc/hosts
|