Solved

Kali Linux store / persist wireless password

Posted on 2016-11-11
3
63 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

829 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