I followed the instructions for network-manager and all seemed to go well.
when trying to connect I get connection failed
In the settings tab of nm I see no password. I tried to enter the password manually as suggested by @gusnan after modifying the script to print it in terminal, but it didnt work.
I am on Debian testing
I managed to get it working both on my laptop and Android but not on my home desktop,