From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work?
Date: Sat, 22 Oct 2011 08:47:13 +0100 [thread overview]
Message-ID: <201110220847.32590.michaelkintzios@gmail.com> (raw)
In-Reply-To: <tencent_0F94350B21AE11BE4B229482@qq.com>
[-- Attachment #1: Type: Text/Plain, Size: 1542 bytes --]
On Friday 21 Oct 2011 16:40:01 Lavender wrote:
> What!!! I know wpa_supplicant don't support
> AES encryption method ,so I use wireless tools......
Who told you that?
> So it seems that I have to use wpa_supplicant and
> change AES encryption method into TKIP.
No you don't, unless the AP is configured to work with WPA only and not WPA2.
The latter uses CCMP.
> I feel a little depressed :-(
Instead of feeling unnecessarily depressed, you may want to spend a few
minutes studying the manual files and looking at the example or configuration
files of applications that you intend to use:
Why do you think that wpa_supplicant does not support AES encryption? The
config file which is nicely commented shows:
=========================================
# pairwise: list of accepted pairwise (unicast) ciphers for WPA
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
=========================================
So to make your wireless connection work, emerge wpa_supplicant and add
something like this in /etc/wpa_supplicant/wpa_supplicant.conf:
network={
ssid="Rebellion"
bssid=XX:XX:XX:XX:XX:XX <--enter the AP MAC address
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
group=CCMP
psk="ascii key goes in here" <--use wpa_passphrase to create it
priority=5
}
To learn how to use wpa_passphrase run:
man wpa_passphrase
in a terminal.
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-10-22 7:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-21 15:40 [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work? Lavender
2011-10-21 16:07 ` [gentoo-user] " Michael Mol
2011-10-21 16:39 ` Sebastian Beßler
2011-10-21 19:40 ` [gentoo-user] " Andrey Moshbear
2011-10-22 7:47 ` Mick [this message]
2011-10-22 9:30 ` Lavender
2011-10-22 10:17 ` Mick
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=201110220847.32590.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.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