How to Recover Wi-Fi Password on Linux

Windows Articles

How to enable and disable SMB1/SMB2 in Windows 10

Hello! Windows 10 is an operating system that integrates various protocols to ensure its use with internal and external processes. Indeed, one...

Install Wine 5 on Debian 10

Hi, folks. In this post, I will help you install Wine 5 on Debian 10. Wine is one of...

Is ReactOS a real alternative to Windows?

Oh! The eternal struggle of computer operating systems. Windows vs. GNU/Linux and Mac as a distant spectator However, there are also interesting...

How to install Firebird on Ubuntu 20.04/ 18.04?

Database management systems are sufficient for many kinds of projects. Of course, they abound with MySQL / MariaDB or PostgreSQL popular but...

How to disable Firewall in Windows Server 2019/2016

Hello! The Firewall performs an essential security task on any version of Windows Server. In fact, it has the mission of preventing...
Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

Wi-Fi has changed the way we enjoy the facility of internet. Within the Wi-Fi range, any device capable of connection can enjoy the fast internet without any wired connection! However, we tend to forget the Wi-Fi password. Because once we connect to the specific network, we don’t remember them after a few months or so. Recovering Wi-Fi password from Windows is really easy, but recovering from Linux can be a bit difficult.

Recover Wi-Fi Password

Depending on your distro, the method can vary. But the techniques can be the same in most scenario. Let’s start digging up the lost password! Note that I’m using “elementary OS”, but the method should work on most modern Linux distros. My desktop is connected to “TP-LINK_8D72” Wi-Fi network.

  • Open a terminal.
  • Navigate to the folder where the system stores the connection information.
cd /etc/NetworkManager/system-connections

  • Time to check the list of all the stored network(s).
ls

  • Open the file using the following command.
sudo cat TP-LINK_8D72

  • Search for the following line:

Voila! The password is recovered once again!

Other places to try

However, there are some old and lightweight distros that use “wicd” to connect to networks. In that case, follow these steps:

  • Open a terminal.
  • Navigate to the connections’ folder.
cd /etc/wicd
  • Open the “wireless settings” file.
sudo cat wireless-settings.conf

If you didn’t find any success, another file to look for is “wpa_supplicant.conf”. Check out the file using the following steps:

  • Open terminal.
  • Run this command:
sudo locate wpa_supplicant.conf
  • Then, follow the steps stated above to read the file and recover the lost password.

Enjoy!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to enable and disable SMB1/SMB2 in Windows 10

Hello! Windows 10 is an operating system that integrates various protocols to ensure its use with internal and external processes. Indeed, one...

Install Wine 5 on Debian 10

Hi, folks. In this post, I will help you install Wine 5 on Debian 10. Wine is one of...

Is ReactOS a real alternative to Windows?

Oh! The eternal struggle of computer operating systems. Windows vs. GNU/Linux and Mac as a distant spectator However, there are also interesting...

How to install Firebird on Ubuntu 20.04/ 18.04?

Database management systems are sufficient for many kinds of projects. Of course, they abound with MySQL / MariaDB or PostgreSQL popular but...

How to disable Firewall in Windows Server 2019/2016

Hello! The Firewall performs an essential security task on any version of Windows Server. In fact, it has the mission of preventing...