?
Solved

Kali Linux store / persist wireless password

Posted on 2016-11-11
3
Medium Priority
?
151 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:Charles Baldo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
Duncan Roe earned 2000 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:Charles Baldo
ID: 41903483
Thanks Duncan!
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.
Suggested Courses

649 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