5

I want to change my linux distribution, how can I save all my known wifi networks and passwords so that I can restore them after installing a new OS.

I want to switch from PopOs with gnome to Manjaro with KDE

Gerardo Zinno
  • 299
  • 2
  • 3
  • 10

1 Answers1

8

The WiFi passwords of saved networks can be acquired by running this command:

sudo grep psk= /etc/NetworkManager/system-connections/*

This will show you the list of the WiFi networks and their passwords.

On gnome, you may find the password of any connection by:

  • Open Settings
  • Click on WiFi
  • On the WiFi access point (AP) name click on the small gear icon
  • In the Security tab click "Show password" to view the saved password.
harrymc
  • 455,459
  • 31
  • 526
  • 924
  • You also need to select known networks from the vertical 3-dot or hamburger menu while at the WiFi settings in order to be able to see all save networks. Otherwise it'll only show the connected networks and other in range. – ChanganAuto Dec 16 '22 at 14:13