How To Recover WiFi Passwords Using Linux. When you first logged in to your WiFi network using your Linux computer you probably allowed it to save the password so that you didn’t need to enter it again. But Now published How To Recover WiFi Passwords Using Linux follow step by step guide.
How To Recover WiFi Passwords Using Linux
Imagine you got a new device such as a phone or games console that also needed to connect to the wireless network.
You could go hunting for the router and if you are lucky the security key is still listed on the sticker at the bottom of it.
It is actually easier just to log in to your computer and follow this guide.
Find The WiFi Password Using The Desktop
If you are using the GNOME, XFCE, Unity or Cinnamon desktop environments then the tool used for connecting to the internet is probably called network manager.
For this example I am using the XFCE desktop environment.
- Click on the network icon in the panel and click on “Edit Connections”.
- Find the WiFi connection you wish to find the password for and click on “Edit”.
- Click on the tab called WiFi Security.
- The password will be shown as a list of asterisks. You can show the actual password by clicking the “Show Password” checkbox.
Recommended: How to Make Windows 10 Look and Feel Like Windows 7
Find The WiFi Password Using The Command Line
You can usually find the WiFi password via the command line by following these steps:
- Open a terminal window
- Type the following command to navigate to the folder where the connections are stored:
- cd /etc/NetworkManager/system-connections
- Type the following ls command to get a list of networkss
- Type the following cat command to list the file to the terminal window:
Look for the section called [wifi-security]. The password is usually prefixed by “psk=”.
What If I Am Using wicd To Connect To The Internet
Not every distribution uses Network Manager to connect to the internet although most modern distributions do.
Older and lightweight distributions sometimes use wicd.
Follow these instructions to find the passwords for networks stored using wicd.
- Open a terminal window
- Type the following command to navigate to the folder where the connections are stored cd /etc/wicd
- Open the wireless settings file:
- sudo cat wireless-settings.conf
The passwords for the WiFi networks are stored in this file.
Recommended: How to get paid apps for free for iPad, iPhone
Other Places To Try
In the past people used to use wpa_supplicant to connect to the internet.
If this is the case use the following command to locate the wpa_supplicant.conf file:
sudo locate wpa_supplicant.conf
Use the cat command to open the file and search for the password to the network you are connecting to.
Use The Router Settings Page
Most routers have their own settings page. You can use the settings page to show the password or if in doubt change it.
- Connect to the network you wish to show the password for
- Open a web browser and type 192.168.1.1
- You will normally see an option called settings or a login option
- Log in to the admin page. (Unless you have changed the password a lot of routers have the user and password set to admin and admin which you should change by the way at the first opportunity).
- You are now looking for the page in the settings screens that show details about the WiFI and in particular the password. Quite often there will be a password masked by asterisks with a show password checkbox next to it.
This guide doesn’t show you how to hack WiFi passwords, instead, it shows you the passwords that you have already entered previously.
Now you might think it is insecure to be able to show the passwords so easily. They are stored as plain text in your file system.
The truth is though that you have to enter your root password in order to see the passwords in network manager and you have to use the root password to open the file in the terminal.
If somebody doesn’t have access to your root password then they won’t have access to the passwords.
This guide has shown you quick and efficient ways to recover the WiFi passwords for your stored network connections.