public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Why iwconfig wlan0 enc can't work?
Date: Fri, 21 Oct 2011 10:08:05 -0400	[thread overview]
Message-ID: <CA+czFiDfrmkTuqPZ0QBsvkyeF8iMyycxPgyX96e_2miGsZM39g@mail.gmail.com> (raw)
In-Reply-To: <tencent_03448ADD17267ECD2D0383BF@qq.com>

On Fri, Oct 21, 2011 at 10:03 AM, Lavender <448463782@qq.com> wrote:
> The essid of my dormitory wireless netword is "Rebellion"
> and its password is "I'll leave it up to you"(It's OK to tell
> you this private information :-) ) .
> I typed command below
> #iwconfig wlan0 up
> #iwconfig wlan0 essid "Rebellion"
> Commands above worked normally, then
>
> #iwconfig wlan0 mode master
>
> Our AP mode which iwlist shows is master,
> but the command above failed. Error message was
> "Invalid argument".
> Then I typed
> #iwconfig wlan0 mode managed
> This worked , then
> #iwconfig wlan0 enc "I'll leave it up to you"
> This failed with error message "Invalid argument"
>
> I have searched the internet , but I didn't find
> useful information .  The password is right , it
> can work on windows system .So what's wrong
> with it?

What encryption method is used by the AP? The method you described
only kinda works for WEP. If the AP is using WPA or WPA2, you need a
WPA supplicant.

-- 
:wq



  reply	other threads:[~2011-10-21 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 14:03 [gentoo-user] Why iwconfig wlan0 enc can't work? Lavender
2011-10-21 14:08 ` Michael Mol [this message]
2011-10-21 19:36 ` 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=CA+czFiDfrmkTuqPZ0QBsvkyeF8iMyycxPgyX96e_2miGsZM39g@mail.gmail.com \
    --to=mikemol@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