Solved

Kali Linux store / persist wireless password

Posted on 2016-11-11
3
93 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 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:Charles Baldo
ID: 41903483
Thanks Duncan!
0

Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

688 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