Flash your SD card using
rpi-imager instead of using
dd. Use the "Advanced Options", and select the "Skip first-run wizard" option. That should give you a system that boots as you want - start on first boot with no human intervention.
rpi-imager may be installed in the usual way using the
See below for details
You should read the instructions for setup of the wireless LAN in the official documentation. There are lots instructions on the Internet (and some here in SE) that have been outdated by changes in RPi OS over the years. If you haven't changed any of the networking config files, the instructions in the official docs should resolve your issue.
If you follow them, and still have problems, please edit your question and explain what you have tried. We'll try to help you get this sorted.
Edits to address the OP's comments below:
From the instructions cited above, here's an alternative to adding the country code with
Alternatively, you can edit the wpa_supplicant.conf file and add the following. (Note: you need to replace 'GB' with the 2 letter ISO code of your country. See Wikipedia for a list of 2 letter ISO 3166-1 country codes.)
If you don't know your country code, look here. And don't overlook two other things: 1) Place your
wpa_supplicant.conf file in the
/boot directory (ref), and 2) do not use Windows to create the
wpa_supplicant.conf file - unless you remove the dreaded CR-LF hidden characters from the file before copying it to
Another edit (Mar 19, 2021)
Dmitry has now discovered that
/etc/xdg/autostart/piwiz.desktop (a.k.a. first run wizard) is preventing your RPi Desktop system from automatically booting as the RPi Lite system does. Changes to that code are a possibility, but there may be another way:
The latest version of Raspberry Pi Imager has a set of "Advanced Options" that allow you to input the data required by
piwiz.desktop, and it has an option to skip the first run wizard (aka
And so - if you flash your SD card using
rpi-imager using the "Advanced Options", and select the
Skip first-run wizard, that should give you a system that boots as you want - start on first boot with no human intervention.
rpi-imager from the command line in the usual way:
$ sudo apt-get update && sudo apt-get upgrade
Caveat: as indicated previously, I am unable to verify this on my system, and so I am simply taking the documentation at face value.