From: Andy Green <andy@warmcat.com>
To: Michael Wu <flamingice@sourmilk.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Packetspammer and iwlwifi fragility
Date: Wed, 07 Mar 2007 15:09:15 +0000 [thread overview]
Message-ID: <45EED59B.10306@warmcat.com> (raw)
In-Reply-To: <200703070910.20242.flamingice@sourmilk.net>
Michael Wu wrote:
> On Wednesday 07 March 2007 08:05, Andy Green wrote:
>> Also notice that packets cannot be sent by packetspammer until the
>> interface is brought up, which I guess is reasonable enough, but also I
>> found not until the interface was associated with a WPA network, which
>> is a problem if the plan is to use the injection action to do the work
>> of association in userspace.
>>
> There is a hostap/prism2 sub-ioctl to enable userspace mlme mode, which should
> fix that issue. Look around in ieee80211_ioctl.c for
> PRISM2_IOCTL_PRISM2_PARAM, ieee80211_ioctl_prism2_param, and
> PRISM2_PARAM_USER_SPACE_MLME for hints. These sub-ioctls are, of course,
> quite evil and need to be replaced, but it's a little better than hacking
> mac80211 to start with user_space_mlme enabled by default.
Thanks for that tip Michael, I found it needed only
PRISM2_PARAM_ALLOW_BROADCAST_ALWAYS to work without association. So you
only need to
- bring the interface up, and
- set the channel
before running it now. The updated version can be had here:
http://warmcat.com/packetspammer-0.2.tar.gz
-Andy
prev parent reply other threads:[~2007-03-07 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 13:05 Packetspammer and iwlwifi fragility Andy Green
2007-03-07 14:10 ` Michael Wu
2007-03-07 15:09 ` Andy Green [this message]
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=45EED59B.10306@warmcat.com \
--to=andy@warmcat.com \
--cc=flamingice@sourmilk.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.