informatica:raspberry:avelina
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:raspberry:avelina [2024/09/05 08:23] – jose | informatica:raspberry:avelina [2024/09/05 11:02] (current) – jose | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| bootfs | bootfs | ||
| rootfs | rootfs | ||
| + | ===== Configuración de la red ===== | ||
| Modificamos la tarjeta para poder acceder sin monitor: | Modificamos la tarjeta para poder acceder sin monitor: | ||
| + | |||
| + | A partir de bookworm va con NetworkManager | ||
| En la partición rootfs, ponemos IP fija cambiando el fichero añadiendo al final: | En la partición rootfs, ponemos IP fija cambiando el fichero añadiendo al final: | ||
| - | rootfs/etc/dhcpcd.conf | + | rootfs/etc/NetworkManager/ |
| + | |||
| + | < | ||
| + | [connection] | ||
| + | id=eth0-static | ||
| + | uuid=e05edc8b-8ffb-4139-b7ee-8a13386b4cc9 | ||
| + | type=ethernet | ||
| + | interface-name=eth0 | ||
| + | |||
| + | [ipv4] | ||
| + | method=manual | ||
| + | addresses=192.168.2.10/ | ||
| + | gateway=192.168.2.1 | ||
| + | dns=192.168.2.1; | ||
| + | |||
| + | [ipv6] | ||
| + | method=ignore | ||
| + | </ | ||
| + | |||
| + | Cambiamos los permisos del fichero para que funcione: | ||
| + | sudo chmod 600 rootfs/ | ||
| - | interface eth0 | ||
| - | static ip_address=192.168.2.10/ | ||
| - | static routers=192.168.2.1 | ||
| - | static domain_name_servers=192.168.2.1 | ||
| Habilitamos ssh dejando un fichero en la partición boot que se llame ssh (da igual el contenido o si está vacio) | Habilitamos ssh dejando un fichero en la partición boot que se llame ssh (da igual el contenido o si está vacio) | ||
| touch bootfs/ssh | touch bootfs/ssh | ||
| Line 31: | Line 51: | ||
| Por ejemplo, para ruth:odin sacamos la password: | Por ejemplo, para ruth:odin sacamos la password: | ||
| echo ' | echo ' | ||
| - | $6$S3pAIx36rcMzDYsK$vzl8eX.2k07Rbje9nJ4zsFQdieKw8Wg296javxQ.VW7SdknBlk03vFKh0eI8i4VGwPxWHiJCJNnCd7E72Sh8c0 | + | |
| + | | ||
| Y el fichero quedaría: | Y el fichero quedaría: | ||
| echo ' | echo ' | ||
informatica/raspberry/avelina.1725524600.txt.gz · Last modified: by jose
