raspberry
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| raspberry [2022/01/07 15:35] – [Habilitar wifi] jose | raspberry [2022/01/29 15:54] (current) – [IP fija] jose | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| static domain_name_servers=192.168.1.1 | static domain_name_servers=192.168.1.1 | ||
| </ | </ | ||
| + | |||
| + | Si queremos añadir una ruta: | ||
| + | / | ||
| + | |||
| + | ip route add 10.0.0.0/8 via 10.38.28.6 | ||
| ===== Habilitar SSH ===== | ===== Habilitar SSH ===== | ||
| Line 67: | Line 72: | ||
| Model : Raspberry Pi 3 Model B Plus Rev 1.3 | Model : Raspberry Pi 3 Model B Plus Rev 1.3 | ||
| </ | </ | ||
| + | |||
| + | ====== Cambiar idioma teclado ====== | ||
| + | Si nos conectamos por ssh tendremos el idioma bien, pero en local no. Se hace con raspi-config: | ||
| + | sudo raspi-config | ||
| + | 5 Localisation Options | ||
| + | L3 Keyboard | ||
| + | | ||
| + | Y se selecciona el idioma | ||
| ====== Monitorización ====== | ====== Monitorización ====== | ||
| Line 86: | Line 99: | ||
| | 0x50005 | actualmente under voltage | | | 0x50005 | actualmente under voltage | | ||
| + | ===== Script ===== | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | |||
| + | fecha=`date +\%Y\%m\%d_\%H\%M\%S` | ||
| + | voltios=`vcgencmd measure_volts` | ||
| + | test=" | ||
| + | case $test in | ||
| + | throttled=0x50005) estado=" | ||
| + | throttled=0x50000) estado=" | ||
| + | throttled=0x0) estado=" | ||
| + | *) estado=$test;; | ||
| + | esac | ||
| + | |||
| + | echo $fecha" | ||
| + | </ | ||
| ====== Pantallas TFT ====== | ====== Pantallas TFT ====== | ||
raspberry.1641569754.txt.gz · Last modified: by jose
