LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   iwconfig: encryption key: off? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/iwconfig-encryption-key-off-818878/)

tramni1980 07-09-2010 05:22 AM

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

trickykid 07-13-2010 12:35 PM

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.

tramni1980 07-13-2010 01:19 PM

Quote:

Originally Posted by trickykid (Post 4032071)
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


All times are GMT -5. The time now is 07:16 PM.