= raspberry pi
== lan
{{topic>raspi hardware mylan -inactive&nouser&nodate}}
=== inactives
{{topic>raspi hardware mylan +inactive&nouser&nodate}}
== información
* [[https://www.raspberrypi.org/documentation/]]
* [[https://www.raspberrypi.org/documentation/configuration/]]
* [[http://www.vichaunter.org/como-se-hace/como-conectar-montar-discos-duros-usb-la-raspberry-pi]]
* cat /proc/cpuinfo | grep Model
cat /proc/device-tree/model
sudo lshw -short
=== tutoriales
* raspi-zero USB minicomputer : [[https://lifehacker.com/turn-a-raspberry-pi-zero-into-a-miniature-dongle-comput-1786996571]]
* firewall : [[https://opensource.com/life/16/3/firewall-your-home-network-raspberry-pi]]
* supercomputer : [[http://www.instructables.com/id/How-to-Make-a-Raspberry-Pi-SuperComputer/]]
* "bios": [[https://elinux.org/RPiconfig]]
* /boot/cmdline.txt: [[https://elinux.org/RPi_cmdline.txt]]
* ''ip=''
== bash
* ''$ sudo raspi-config''
* ''$ startx'' -> arranca entorno gráfico
* ''$ sudo reboot''
* ''$ sudo rpi-update'' : actualización firmware
* ''$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq''
* ''$ vim /etc/config.txt''
* arm_freq=700 # defaul 700, hasta 1500 (creo)
* agp_frep=xxx #
* temperatura:
* ''$ cat /proc/acpi/thermal_zone/ATF0/temperature''
* ''$ cat /sys/class/thermal/thermal_zone0/temp''
== reconfiguración teclado
* ''dpkg-reconfigure keyboard-configuration''
* ''setupcon''
== Docker
* [[https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/]]
== NFS
* rpcbind
* nfs-common
* nfs-kernel-server
== ifconfig
=== IP estática
/vía: [[https://pi-hole.net/faq/how-do-i-set-a-static-ip-address-in-raspbian-jessie-using-etcdhcpcd-conf/]]
* ''nano /etc/dhcpcd.conf''
* añadir:interface eth0
static ip_address=192.168.1.141/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
=== WIFI (RASPI3)
* scan de redes wifi: ''sudo iwlist wlan0 scan''
* configuración:
* ''nano /etc/wpa_supplicant/wpa_supplicant.conf''
* añadir:network={
ssid="nombre_red"
psk="wifi_password"
}
* debería automáticamente, al cabo de unos segundos, conectarse, pero:
* ''reboot''
* ''sudo ifdown wlan0'' y ''sudo ifup wlan0''
* /vía: [[https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md]]
== minecraft
* [[http://www.lowefamily.com.au/2015/06/21/running-a-minecraft-server-on-raspberry-pi/]]
* Pi3: [[https://pimylifeup.com/raspberry-pi-minecraft-server/]]
* [[http://picraftbukkit.webs.com/pi-minecraft-server-how-to]]
* no usar este server, usar el propio de minecraft, pero si instrucción de arranque
* [[https://s3.amazonaws.com/Minecraft.Download/versions/1.8.4/minecraft_server.1.8.4.jar]]
== GPIO
=== Pibrella
* [[http://simplesi.net/scratchgpio/addon-boards/pibrella/]]
* [[http://www.tecoed.co.uk/pibrella-alarm-system.html]]
* [[http://www.amazon.es/gp/offer-listing/B00JACWLSS/ref=dp_olp_0?ie=UTF8&condition=all]]