Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia |
raspi:start [28/05/2015 16:33] – [minecraft] mate | raspi:start [06/06/2024 02:46] (actual) – [lan] mate |
---|
= raspberry pi | = raspberry pi |
| == lan |
| {{topic>raspi hardware mylan -inactive&nouser&nodate}} |
| === inactives |
| {{topic>raspi hardware mylan +inactive&nouser&nodate}} |
== información | == información |
* [[https://www.raspberrypi.org/documentation/]] | * [[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]] | * [[http://www.vichaunter.org/como-se-hace/como-conectar-montar-discos-duros-usb-la-raspberry-pi]] |
| * <code bash>cat /proc/cpuinfo | grep Model |
| cat /proc/device-tree/model |
| sudo lshw -short</code> |
| |
| === 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=<static_IP>'' |
| |
== bash | == bash |
* ''$ startx'' -> arranca entorno gráfico | * ''$ startx'' -> arranca entorno gráfico |
* ''$ sudo reboot'' | * ''$ sudo reboot'' |
| * ''$ sudo rpi-update'' : actualización firmware |
* ''$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq'' | * ''$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq'' |
* ''$ vim /etc/config.txt'' | * ''$ vim /etc/config.txt'' |
* ''dpkg-reconfigure keyboard-configuration'' | * ''dpkg-reconfigure keyboard-configuration'' |
* ''setupcon'' | * ''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:<code>interface eth0 |
| static ip_address=192.168.1.141/24 |
| static routers=192.168.1.1 |
| static domain_name_servers=192.168.1.1</code> |
| |
| === WIFI (RASPI3) |
| * scan de redes wifi: ''sudo iwlist wlan0 scan'' |
| * configuración: |
| * ''nano /etc/wpa_supplicant/wpa_supplicant.conf'' |
| * añadir:<code>network={ |
| ssid="nombre_red" |
| psk="wifi_password" |
| }</code> |
| * 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 | == minecraft |
* [[http://picraftbukkit.webs.com/pi-minecraft-server-how-to]] | * [[http://www.lowefamily.com.au/2015/06/21/running-a-minecraft-server-on-raspberry-pi/]] |
| * Pi3: [[https://pimylifeup.com/raspberry-pi-minecraft-server/]] |
| |
| * <del>[[http://picraftbukkit.webs.com/pi-minecraft-server-how-to]]</del> |
* no usar este server, usar el propio de minecraft, pero si instrucción de arranque | * 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]] | * [[https://s3.amazonaws.com/Minecraft.Download/versions/1.8.4/minecraft_server.1.8.4.jar]] |