Linux wireless drivers development
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: linux-wireless@vger.kernel.org
Subject: ath5k in ad-hoc mode and encryption
Date: Sat, 01 Mar 2008 00:08:06 +0100	[thread overview]
Message-ID: <m3k5kn9x9l.fsf@maximus.localdomain> (raw)

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

             reply	other threads:[~2008-02-29 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 23:08 Krzysztof Halasa [this message]
2008-02-29 23:49 ` ath5k in ad-hoc mode and encryption Dan Williams
2008-03-01 14:15   ` Krzysztof Halasa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k5kn9x9l.fsf@maximus.localdomain \
    --to=khc@pm.waw.pl \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox