Forgot your WiFi password? It’s easy to find out the wireless network password if it was successfully connected in Ubuntu Desktop.
Here you can check wifi password either via graphical tool or by reading the configuration file. While the graphical way is only for Ubuntu with default Gnome desktop, the configuration file will also work on Linux Mint and may be other derivatives.
Check WiFi Password via System Settings:
Go to system ‘Show Applications’ menu, and launch Settings.
- To check the password of current connected WiFi network, in WiFi settings click on the gear button after the wifi network name.
- To check all saved WiFi networks, click on the upper-right three dots icon and select ‘Known Wi-Fi Networks’. Then click on one of gear buttons in next page.
- Once you get into Wifi details page, navigate to Security tab, and check ‘Show password’ and done!
Check WiFi Password with Plain Text:
Ubuntu saves Wireless network settings as well as password as plain text. You can easily check the files via following steps.
lscommand to list all available network connections, including Wi-Fi networks, hotspot, and VPN connections.
sudo -H gedit FILE_NAME
When the file opens, you’ll see the password as the value of ‘psk’ under wifi-security section.
Each Linux desktop environment has its own settings tool to find out saved WiFi password. However, most Ubuntu flavors and Linux Mint save wireless network details as plain text in /etc/NetworkManager/system-connections/ directory.