Solved

Kali Linux store / persist wireless password

Posted on 2016-11-11
3
45 Views
Last Modified: 2016-11-27
Hi,

Very Very new to Kali Linux.  Running it on a bootable USB drive.   I have managed to create a persistent partisan on the USB for saving files.  However every time I fire up the OS and want to use internet I have to enter my wireless password (to get a wireless connection)

Is there any way I can persist the password so I do not have to re -enter it every time?

Thank you
0
Comment
Question by:charlesbaldo
3 Comments
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 41885003
The file containing wifi passwords is /etc/wpa_supplicant.conf. You can read the documentation for it by entering man wpa_supplicant.conf in a command-line window. The page refers you to a sample config which I have attached for your convenience. Here's a really simple example which works for me (names changed of course)
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
  ssid="my network"
  psk="my password"
}

Open in new window


Your problem will be to install that file. I am not familiar with Kali Linux but expect the system files are in some kind of compressed archive which is restored at boot time so is not easily modified. In that case, you will need to install wpa_supplicant.conf after the system has booted. Do you need help with that?
sample.txt
1
 

Author Closing Comment

by:charlesbaldo
ID: 41903483
Thanks Duncan!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 105
Guacamole cut and paste issue 3 42
VMWare 6 crashing 14 96
Scripted configuration of TightVNC with Start on boot 7 51
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now