Search Linux Wireless

ath5k in ad-hoc mode and encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A simple question I hope.

I want to experiment with point-point encrypted wifi link. Have 2
machines with AR5212, 5213, 5213A+RF2112A or something like that.

iwlist enc / iwlist keys says:
wlan0     2 key sizes : 40, 104bits                                             
          4 keys available :                                                    
                [1]: off                                                        
                [2]: off                                                        
                [3]: off                                                        
                [4]: off                                                        
          Current Transmit Key: [1]                                             

iwlist auth:
wlan0     Authentication capabilities :                                         
                WPA                                                             
                WPA2                                                            
                CIPHER-TKIP                                                     
                CIPHER-CCMP                                                     
          Current Authentication algorithm :                                    
                open                                                            
                shared-key   

iwlist wpakeys:                                                
wlan0     2 key sizes : 40, 104bits                                             
          4 keys available :                                                    
Error reading wpa keys (SIOCGIWENCODEEXT): Operation not supported              


Now, is it possible to use, for example, CCMP cipher with 256-bit key?
How do I set the key and CCMP mode?

Or, how do I set 104-bit and WPA+TKIP?

IOW, how do I set it up?


I noticed "iwconfig wlan0 key XXXXX" (104 bits) make the transmitting
card encrypt data, but the receiving card doesn't seem to decrypt them
(tcpdump shows encrypted traffic on receiving wlan0 and nothing
works).

Perhaps there is some faq or example?
-- 
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux