kevva / wifi-password-cli

Get current wifi password
MIT License
291 stars 15 forks source link

Ubuntu 20 #4

Open spaceaardvark opened 3 years ago

spaceaardvark commented 3 years ago

I get this error on Ubuntu 20:

$ wifi-password
Error: Command failed: sudo cat /etc/NetworkManager/system-connections/[my SSID]
cat: /etc/NetworkManager/system-connections/[my SSID]: No such file or directory

    at /home/[me]/.nvm/versions/node/v15.0.1/lib/node_modules/wifi-password-cli/node_modules/execa/index.js:231:11
    at processTicksAndRejections (node:internal/process/task_queues:93:5)

The file in /etc/NetworkManager/system-connections/ is [my SSID].nmconnection and is an .INI-formatted file.

undefined-1111 commented 3 years ago

also but linux mint