Once Linux is installed, we would like to be able to discard the screen and the keyboard. Only a distant access via SSH would be enabled.
In order to enable SSH communication on the Raspberry Pi, install
openssh with the command
sudo pacman -S openssh.
Then, enable the service with
sudo systemctl enable sshd
and start it with
sudo systemctl start sshd.
Because DHCP might attribute different IP addresses to the RPi after each reboot, we need to set up a static IP address which will be used to connect through SSH.
A tutorial about setting a static IP address at boot is available on this Archlinux Wiki page. On our configuration, since
create_ap creates the network
192.168.12.0/24, the RPi has the address
192.168.12.144 (any number excepted 0, 1 or 255 is okay).