Mein Schatzi > Sent: Tuesday, March 01, 2022 at 5:28 PM > From: "Sven Hartge" <s...@svenhartge.de> > To: debian-user@lists.debian.org > Subject: Re: Authentication failed after su- > > > Use sudo. > > wpa_passphrase JupiterRising 1234567890 | sudo tee > /etc/wpa_supplicant/wpa_supplicant.conf > Thanks for your tip.
Could you surf to https://wiki.debian.org/WiFi/HowToUse, look under the sub-heading "WPA-PSK and WPA2-PSK", paragraph 2 with the statement "Use the WPA passphrase to calculate the correct WPA PSK hash for your SSID by altering the following example:" $ su -l -c "wpa_passphrase myssid my_very_secret_passphrase > /etc/wpa_supplicant/wpa_supplicant.conf" The above command doesn't work in Debian 11. The output is: su: Authentication failed. In addition to yours, What are the valid commands? (I shall provide feedback to the people in charge of Debian Wiki's website.) Best regards. Stella