# Setup

{% hint style="info" %}
Im Folgenden verwenden wir **192.168.0.100 als Beispiel-IP-Adresse**, die IP-Adresse ist für jedes Heimnetzwerk verschieden.
{% endhint %}

## 1. UP4 Box mit Netzwerk und Strom verbinden

**UP4 startet mit Boot Logo am Display** (⏲ 60 Sekunden)

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-c094a7a89942540afc1b2b7e707b63b8cc5b6ead%2Fup4-boot.png?alt=media" alt=""><figcaption><p>Display zeigt Boot Logo</p></figcaption></figure>

## 2. Initiales Setup über SSH

Das Setup startet automatisch nach einer erfolgreichen SSH Verbindung.

{% hint style="info" %}
Ein [Reset](https://docs.usableprivacy.com/up-box-4/verwendung#reset-der-box) ist notwendig falls die Box bereits konfiguriert wurde.
{% endhint %}

### 2.1 Aktuelle IP-Adresse ablesen

Die UP4 zeigt ihre aktuelle IP-Adresse und die Bereitschaft fürs Setup.

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-a20bec00925424b873e4f5fea6eafdccba272e07%2F0-up4_ready.png?alt=media" alt=""><figcaption><p>Box ist bereit fürs Setup</p></figcaption></figure>

### 2.2 Per SSH mit Box verbinden

{% hint style="info" %}
Benutzer: **up**

Default-Passwort: **setup123**

IP Adresse: Am Display ablesen ([siehe 2.1](https://gitlab.com/nysostech/usable-privacy-documentation/-/blob/main/box/de/start/README.md#id-2.1-zugewiesene-ip-adresse-ablesen))
{% endhint %}

Siehe auch: [SSH mit Windows 10 nutzen](https://docs.usableprivacy.com/up-box-4/start).

### 2.3 Setup Dialog

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-acb31af0b38b7f4e8384c9204a1965e1a49c6b71%2Fup4_dialog_0_start.png?alt=media" alt=""><figcaption><p>&#x3C;Start> auswählen, um das Setup zu starten</p></figcaption></figure>

Die statische IP ist die zukünftige Netzwerkadresse der UP4 (DNS / Management).

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-44c4256a96263d575296ff70816061de27d65b5a%2Fup4_dialog_1_static_ip.png?alt=media" alt=""><figcaption><p>Setzen einer statischen IP-Adresse (vorausgefüllt mit aktueller [dynamischer] IP-Adresse). Weiter mit &#x3C;Continue></p></figcaption></figure>

Auswahl des DNS Modus. Siehe: [usableprivacy/config](https://github.com/usableprivacy/config#up-box-4-configuration-tool)

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-784ad494a08f51595351b3cdca95398f504708c8%2Fup4_dialog_2_dns_mode.png?alt=media" alt=""><figcaption><p>Auswählen der upstream DNS Konfiguration. Weiter mit &#x3C;OK></p></figcaption></figure>

Setzen von sicheren Passwörtern.

{% hint style="info" %}
Speichern Sie die Passwörter für zukünftige Zugriffe mit einem Passwort-Manager.
{% endhint %}

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-c5b11e5522e89a3c7f715e4a635d841c12eb39d1%2Fup4_dialog_2_passwords.png?alt=media" alt=""><figcaption><p>Setzen des SSH Passwort ("System Password") und Pi-hole Admin Passwort ("Pi-hole Password").<br>Dialog wird mit sicheren, zufälligen Passwörtern vorausgefüllt. Weiter mit &#x3C;Continue></p></figcaption></figure>

Finale Bestätigung der Änderungen. IP-Adresse wird nochmals angezeigt.

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-7d9bafce8a935bcb1175a7a7854be7daa02f7240%2Fup4_dialog_3_confirm.png?alt=media" alt=""><figcaption><p>Finaler Dialog zum Abschluss des Setups</p></figcaption></figure>

### 2.4 Setup abschließen

{% hint style="info" %}
Nach Abschluss des Setup Dialogs, werden die neuen Passwörter ein letztes Mal angezeigt.
{% endhint %}

```
⚠️ This is the last time your new passwords are displayed!
-----
Pi-hole admin password: VliyryOlapCXDS
Password for user 'up': ZKEnIoae
-----
Please reboot to apply your new network settings using 'sudo reboot' ...
```

#### UP4 Box neu starten

{% hint style="info" %}
Der Neustart über "sudo reboot" erfordert bereits das neu gesetzte System Passwort.
{% endhint %}

```
sudo reboot
```

#### Box ist fertig konfiguriert und bereit.

<figure><img src="https://3575829558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FagtmuqnpaWXODK8OyTU3%2Fuploads%2Fgit-blob-ae342701684b1507655ac5f5385ea07689ed93e4%2F1-up4_operational.png?alt=media" alt=""><figcaption><p>UP Box v4 ist bereit</p></figcaption></figure>

{% hint style="info" %}
DNS-Server ist unter angezeigter IP-Adresse verfügbar.

Pi-Hole Admin Interface steht unter http\://\[angezeigte IP-Adresse]/admin bereit.
{% endhint %}
