-   Slackware (
-   -   Where are encrypted keys (

waddles 12-09-2012 08:44 PM

Where are encrypted keys
I vaguely remember that when installing Slackware 13.37 that it created and encrypted key pair. I think these are the ones I need for setting up my wireless network and to access access points.
I am new to nets so correct me if I am wrong but I don't know where these were stored. Can someone help?

lkraemer 12-09-2012 10:44 PM

If you are referring the the RSA & DSA Keys (Public & Private) they are stored in /home/user/.ssh and most times the
public key is inserted into the .ssh/authorized_keys file.

I'd think these would only be used to access a server like (FreeNAS or NAS4Free) or something similar to sshd, and you wouldn't
need them if you were just setting up your Wifi. I bet your memory doesn't serve you right, for the moment. You're mixing
up a few things.

If you are trying to access a Remote computer (running sshd a ssh server) with a ssh Client, you could use these keys.

You can read up on SSH, with this PDF file:,d.cGE&cad=rja



waddles 12-10-2012 04:33 AM

Where are encrypted keys
OH U are so right about confusion. For the wifi I believe I am looking for the WAP encrypted keys. Are these mine or those of the access point I wish to connect with?
Too much a bit antiquated web info and too much of it conflicting + my networking is small.

lkraemer 12-10-2012 05:42 AM

1 Attachment(s)
Then select the Wireless Tab, highlight your AP ESSID name, then click edit, you can modify your WPA Settings.
This assumes you are working from the GUI.

I've attached a png of my settings....



waddles 12-10-2012 06:31 AM

Where are encrypted keys
Feel like I jumped a couple of steps. I am using Xfce window manager. I am unable to follow the path U gave.
I have access to kde, window maker, fluxbox, black box, fvwm2, mwm, and twm but I don't think those R what U R using. Can U give it in command line cuz I must have if U R using Slackware too.
A big thanks regardless.

lkraemer 12-10-2012 06:50 AM

2 Attachment(s)
I'm also using XFCE, and you should have that menu selection. Look at the attached png's.

It's there.



waddles 12-11-2012 05:05 AM

If U would be so good to send me the directory path I will try to put that into the Menu.
To connect to an access point I presume I capture their advertised info (ESSID, Encrypted Keys, Channel) and insert it into my rc.wireless file, correct?

Now for the DCHP net I believe I need to insert my info including gateway. Now if I am not badly confused from reading, is that not WAP? If so how do I create them?
Familiarity with accronyms is lacking so the WEP is the stronger security correct? If I want to use those where do I go (man page) to find/create them?

lkraemer 12-11-2012 06:17 AM

During the install you had a choice to use DHCP or Network Manager. I assume your choice was DHCP, since you don't
have that menu selection. (More than likely you also do not have the Networking Icon in the Upper Right Panel, that
allows you to select Ethernet (Wired) or Wifi (Wireless)).

If you want to proceed setting up your system (under the DHCP choice) you just need to do a few things.

You are going to need the following things: (which you should already know)
1. ESSID of your Router
2. WEP, WPA, or WPA2 Key

This is what I did (as root) when using DHCP.

#/etc/rc.d/rc.inet1 wlan0_stop
#wpa_passphrase 'myqwest6658' 'qfk8uqjnizwmxw' >>/etc/wpa_supplicant.conf
#cat /etc/wpa_supplicant.conf

You could just edit the /etc/wpa_supplicant.conf file with:

#nano /etc/wpa_supplicant.conf
Then edit /etc/rc.d/rc.inet1.conf (as root) to enable wlan0, and I also enable eth0 also with:

#nano /etc/rc.d/rc.inet1.conf
Then just start your Wifi/Ethernet service with a choice of either:

#/etc/rc.d/rc.inet1 etho0_start
#/etc/rc.d/rc.inet1 wlan0_start

Be advised that your system may use eth0, or eth1, along with either wlan0, or wlan1, etc.
You will need to make those changes according to your system's settings.

Your other option would be to run the netconfig setup script (as root) again, and select Network Manager when
you are given the choice of DHCP, or Network Manager. By using Network manager you will have the
Icon in the Top Right Panel for making your selection of Wifi or Ethernet Connections.

Once again it's your choice.

WPA2 is the best choice for the Key, as WEP is easily cracked/hacked.



waddles 12-12-2012 03:56 AM

Where are encrypted keys
Thanks for all of your efforts. U deserve a gold medal.
Unfortunately, UR initial premise is incorrect and I wonder why my netconfig is different. My netconfig presents 3 options: Static IP,DHCP, and Loopback.
I have not seen any "Network Manager". U must be using a different version of 13.37 from mine which is initial off the shelf.

lkraemer 12-12-2012 06:24 AM

You are correct! I'm running Slackware 14.

Please mark the thread as appropriate.



All times are GMT -5. The time now is 04:16 AM.