LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-09-2010, 06:22 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
iwconfig: encryption key: off?


Hello!
I am running 64-bit Slackware Linux-13.1 with kernel-generic-2.6.33.4. I have a Wireless-N Home Router WRT120N Linksys Cisco. I followed http://alien.slackbook.org/dokuwiki/...ckware:network to set up my wireless network with WPA2 encryption. I configured the router to use WPA2 Personal security mode with AES encryption. I generated the code associated with the passphrase, following the same Wiki and put the code into wpa_supplicant.conf. Everything works now and knemo says: Encryption: active. However, "iwconfig wlan0" says:
Code:
bash-4.1# iwconfig wlan0
wlan0     IEEE 802.11abgn  ESSID:"blitz"  
          Mode:Managed  Frequency:2.472 GHz  Access Point: 00:25:9C:DE:D3:7D   
          Bit Rate=1 Mb/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=-26 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
"wpa_cli status" says:
Code:
bash-4.1# wpa_cli status
Selected interface 'wlan0'
bssid=00:25:9c:de:d3:7d
ssid=blitz
id=0
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.1.3
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. Also, could it be due to the fact that in the "Basic Wireless Settings" of the router for the "Configuration View" I have chosen "Manual" rather than "Wi-Fi Protected Setup"? I haven't chosen to automatically configure the wireless security because I do not know whether my wireless card Intel Corporation WiFi Link 6000 Series (rev 35) supports Wi-Fi Protects Setup.

So my question is, why iwconfig says that the encryption key is off, when my WPA2 encryption is active. Are there any other commands to make sure that my encryption is active and safe and well?

Regards,

Martin
 
Old 07-13-2010, 01:35 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
I believe that the encryption key your seeing from the iwconfig output is for WEP. Your not using WEP for authentication so it's displaying off. You should be secure if you have WPA2 on and enabled on your router, if that wasn't the case, you likely wouldn't have a network connection.
 
Old 07-13-2010, 02:19 PM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by trickykid View Post
I believe that the encryption key your seeing from the iwconfig output is for WEP. Your not using WEP for authentication so it's displaying off. You should be secure if you have WPA2 on and enabled on your router, if that wasn't the case, you likely wouldn't have a network connection.
Thank you very much for your reply. That is what I suspected, but I wanted to ask to make sure. What is interesting is that "iwlist" says that the encryption key is on, while iwconfig says that is off. Maybe that is due to the fact that iwconfig only supports WEP.

Regards,

Martin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I insert a string to command iwconfig key ... glenn69 Linux - Newbie 1 08-14-2008 03:42 PM
iwconfig cannot set WEP key muteki_sykes Linux - Wireless Networking 7 05-27-2006 06:07 PM
using encryption with iwconfig (wi-fi connection) MichelGillesMS Linux - Networking 1 04-01-2006 05:22 PM
how to keep iwconfig encryption key odysseus.lost Linux - Wireless Networking 7 09-04-2005 04:10 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 08:25 AM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration