• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Kali Linux store / persist wireless password

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
Charles Baldo
Asked:
Charles Baldo
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
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
 
Charles BaldoSoftware DeveloperAuthor Commented:
Thanks Duncan!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now