Usefull documentation: wiki.debian.org/WiFi/HowToUse
If WIFI adapter is not supported from the box at initial os installation stage then there are two ways.
One way is to install most newer ilnux-image from “stable-backports” repository
Another way is to use “testing” repository which contains newer kernel than “stable-backports” repo. In sources.list use specific name like “bookworm” instead of “testing”. After changing sources.list run “apt update” and “apt full-upgrade”.
WIFI adapter might be blocked by some actor. Use rfkill to check its state and unblock.
To install rfkill: “apt install rfkill”. If you have to do it at initial installation stage you might download rfkill deb package and safe it to USB stick.
Check for “soft blocked: yes” in output of “rfkill list”.
Run “rfkill unblock wifi”
Dependencies for wpasupplicant package:
To connect to password protected wifi with builtin network service edit file “/etc/network/interfaces”:
allow-hotplug wlp2s0
iface wlp2s0 inet dhcp
wpa-ssid ESSID
wpa-psk PASSWORD
Then run commands:
The name “wlp2s0” is used as name of WIFI adapter. This name depends on model of adapter.