Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to find the password for the wireless network that I am currently connected to (and I entered the password when connecting to the network). How can I do this in Ubuntu?

share|improve this question
1  
I went to "connection information" and didn't find the password. –  Anderson Green Jun 27 '12 at 20:18
1  
almost there... you need the edit connections below that ;) –  Rinzwind Jun 27 '12 at 20:22

3 Answers 3

up vote 10 down vote accepted

left click the connections icon at the top right. Choose edit connections and then choose edit on the connection you need and click the wireless security...

enter image description here

and click the 'show password'checkbox

share|improve this answer
    
Ah, my command-line ways were betrayed by my solution :) I like this one better, FWIW. –  roadmr Jun 27 '12 at 22:44
    
Well I like both with a preference to command line @roadmr :D –  Rinzwind Jun 28 '12 at 7:17

Open a terminal (press Ctrl+Alt+T), then type sudo cat /etc/NetworkManager/system-connections/<your-SSID> (of course, substitute <your-SSID> with your network's name) and look for a field named psk. This should be your password;

psk=notreallymypassword

share|improve this answer

if you want to do this with the command line ;The wireless network configuration files are saved in /etc/NetworkManager/system-connections/ directory. so

$ cd /etc/NetworkManager/system-connections/
$ ls
$ cat " wireless name" | grep psk=
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.