SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I followed http://alien.slackbook.org/dokuwiki/...ckware:network
to set up my wireless network with WPA2 encryption. It works now and knemo says: Encryption: active. However, "iwconfig wlan0" says Encrytion key: off:
Code:
wlan0 IEEE 802.11abgn ESSID:"blitz"
Mode:Managed Frequency:2.472 GHz Access Point: 00:25:9C:DE:D3:7D
Bit Rate=0 kb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-24 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So is there anything wrong with that "Encryption key: off" statement? I suspect that encryption key only applies to WEP, but not to WPA2 encryption, but I am not sure. So my question is, can I ignore that statement and assume that my encryption is fine?
Besides, where does knemo read the information about encryption from? As I mentioned, knemo detects that the encryption is active. Are there any other commands to make sure that my encryption is safe and well?
Regards,
Martin
Click here to see the post LQ members have rated as the most helpful post in this thread.
since your router is wide open you still connected.
configure your router and enable the wpa2 create a pass phrase and then configure your computers connection to use the pass phrase.
All said and done way back to slackware I think 10.2 Pat put Wicd
in the extra folder on the DVD. This is a wonderful program and is stable and kept up by Slackware team.
if you want to use the /etc/rc.d/rc.wireless.conf and manually put your key in. than you must put all the info needed.
That said wicd can be run from a command line.
I prefer Wicd because my laptop must have many profiles as it moves from hot spot to hot spot.
Quote:
remember a Wireless Internet Connection Device is a radio with a transceiver it transmits and receives the device is also a ether card too. The ether card side of it takes the digital transmission and uses it. Your WIFI router does the same. It sends what ever you configure the router to send. wep wpa wpa2 etc.
configure your router and enable the wpa2 create a pass phrase and then configure your computers connection to use the pass phrase.
if you want to use the /etc/rc.d/rc.wireless.conf and manually put your key in. than you must put all the info needed.
Drakeo,
Thank you for your reply.
Following Alien's Wiki I have configured the router to use WPA2 Personal security mode with AES encryption. I have generated the code associated with the passphrase, following the same Wiki and have put the code into wpa_supplicant.conf. The problem is that it still seems that the router is sending unencrypted (at least according to iwconfig), but as I said knemo insists that encryption is active.
So long as /etc/rc.d/rc.wireless.conf is concerned, I prefer to leave it alone and configute rc.inet1.conf instead, as everyone recommends.
I also want to stick to Slackware's native configuration tools and not resort to wicd, as I believe that is the right way.
If necessary I could post my wpa_supplicant.conf and rc.inet1.conf. What is strange is that I do not get any error output during connecting.
I've got the same problem using the iwlagn driver. If I try and connect to the router using Windows it tells me it is WPA2 encrypted but iwconfig on my linux box says encryption key : off. WPA2 is enabled on the wireless router and using either OS I have to enter the correct key to connect.
I wonder if there is anyone out there that will let us know if wpa2 runs stealth until your wifi card sends a hand shake if so that would
create this environment. This would show managed connection only.
with an Encryption key:off then at the point of hand shake the encryption is then asked for. This would be a security type way of doing things.
Try to connect to it with out using encryption see what happens.
If so it would make since. When I run the GUI wicd I get the wpa showing. Strange.
Try
well I guess the iwlist actually evokes hand shakes. It sends out a hand shake and waits for a reply. then the reply says you need to use wpa2. then your system sends a encrypted wpa pass phrase and it actually uses that to make the complete handshake.
iwconfig is just reading.
If you see me on the street and I walk by I have know clue. but if I wave at you I wait for your response.
buy scanning you said hi to a bunch of routers and the routers sent bake a responce or what ever signal.
so the router sits there waiting for you to ask iwlist asks.
Quote:
come to think of it iwconfig is your computer wifi card configuration not till you make a handshake does it invoke the wpa2
AFAIK, iwconfig does not have encryption beyond WEP key. WPA support is given by wpa_supplicant. While iwconfig does not show anything about encryption, wpa_supplicant is managing this part in your system. If you'd like to know, you can issue a
Code:
# wpa_cli -i wlan0 status
And see how your WPA encryption is configured and how it's connected. Additional info may be retrieved from dmesg when you connect to your wireless router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.