Autoconnect to wifi when booting

Hello, people.

I have a Radxa Zero with 4GB of RAM and 16gb lddr. I have installed Twister OS Focal and booted from sdCard. Besides, I have successfully connect to wifi follwoing these instructions: https://wiki.radxa.com/Zero/Debian . But my question is: how can I make it connect automatically to my network, since it has already been connected to it, it has been asigned an ip address and son.

I tried the solution by setting up the wpa_supplicant.conf and then updating the information in the interfaces file. I did the same for my second-hand Pine64, which I bought last year. It has Armbian installed. However this solution does not work neither for Pine64 neither for Radxa Zero.

I would like to be ssh-ing to Radxa Zero anytime, since it will power a robot. So there is no pointing in connect a hdmi cabble to it everytime it is turned on… Could you anyone help me, please?

Hard to tell what exactly is wrong with your image, but you can try deleting your existing WiFi configuration first, and try some other methods to connect to your network. I personally uses the 3rd one with only wpasupplicant and ifupdown on my other systems since I have some other interfaces managed by ifupdown and I want a unified interface. However I have also tried iwd on Zero before, and it is so so so much better and easier to use than other Wi-Fi solutions I have used before.

If you are having trouble deleting your existing configuration, you can run nmtui so you don’t have to deal with the command line madness.

Thank you for the prompt answer. Actually I followed this tutorial and I succeeded solving this issue: https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant

Auto-connect to wifi works if you connect “by the book”:
https://docs.armbian.com/User-Guide_Getting-Started/#how-to-connect-to-wireless

Thank you so much. Actually I have solved it very easily by means of the nmcli (network manager command line interface). And it has an “autoconnec” command to be setup once the board has successfully connected to the local network.