Internet over USB with ARM64 - Debian 11.x (Bullseye) and linux(ubuntu 22) laptop

Hi everyone,

After I followed the WiFi Configuration (wpa_supplicant) steps written by RobertCNelsson on this link

I couldn’t connect to my WiFi network.
After the first command:
sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf

Entered my SSID and password.

After the second command:
sudo wpa_cli -i wlan0 reconfigure

It says:
Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory

What should I do? Googled and tried some things about Raspberry Pi solutions but it didn’t work. I’m stuck. Can you help, please ?

Shouldnt you be using IWD?