Search Linux Wireless

Re: mac80211 -- My log files are filling up with: "wlan0: RX non-WEP frame, but expected encryption"

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

 



On Thu, Apr 3, 2008 at 8:45 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> Hi,
>
>  Please copy the mailing list, I've done that now.
>
>
>  > My log files are filling up with these messages:
>  >
>  >        [ 8722.198929] wlan0: RX non-WEP frame, but expected encryption
>  >        [ 8726.506345] __ratelimit: 14 messages suppressed
>
>
> > ./rx.c:                       printk(KERN_DEBUG "%s: RX non-WEP frame, but expected "
>
>
>
> > It seems that others who are using Netgear WPN824 access points are
>  > also seeing these messages in their logs.
>  > http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1614
>  > http://ubuntuforums.org/showthread.php?t=637084
>  >
>  > I am wondering whether this indicates a problem situation with the
>  > access point that really needs to be reported.  Is this being reported
>  > because it is a security risk?   Is this a condition that really needs
>  > to be reported by wireless drivers?
>
>  Hm. You shouldn't actually be getting this when your AP is configured to
>  use encryption. It either points to somebody trying to invade your
>  network (unlikely) or an AP bug.
>
>  Can you use 'iw' to add a new monitor interface and capture some of the
>  unencrypted packets with that? Use
>
>  $ git clone http://git.sipsolutions.net/iw.git/
>  $ cd iw
>  $ make
>
>  # ./iw dev wmaster0 interface add moni0 type monitor
>
>  and then wireshark/tcpdump on it, you can also send me the dump in
>  private mail if you cannot identify the problem. If you *disable* hw
>  crypto I won't even be able to read your actual traffic :)

Thanks Johannes,

I tried to build iw, but got an error:

# make
 CC   iw.o
/bin/sh: cgcc: not found
make[1]: *** [iw.o] Error 127
make: *** [check] Error 2

After poking around, I found
http://ftp.idilis.ro/mirrors/ftp.kernel.org/pub/software/devel/sparse/news.html
which seems to be where I can find the tool.
I compiled, and (after setting $HOME to /usr) installed it.
Now, when I try to compile iw, I get:

# make
 CC   iw.o
iw.c:9:11: error: unable to open 'netlink/genl/genl.h'
iw.c:9:31: error: netlink/genl/genl.h: No such file or directory
iw.c:10:33: error: netlink/genl/family.h: No such file or directory
iw.c:11:33: error: netlink/genl/ctrl.h: No such file or directory
iw.c:12:25: error: netlink/msg.h: No such file or directory
iw.c:13:26: error: netlink/attr.h: No such file or directory
iw.c: In function 'nl80211_init':
iw.c:23: error: implicit declaration of function 'nl_handle_alloc'
iw.c:23: warning: assignment makes pointer from integer without a cast
iw.c:29: error: implicit declaration of function 'genl_connect'
iw.c:35: error: implicit declaration of function 'genl_ctrl_alloc_cache'
iw.c:35: warning: assignment makes pointer from integer without a cast
iw.c:42: error: implicit declaration of function 'genl_ctrl_search_by_name'
iw.c:42: warning: assignment makes pointer from integer without a cast
iw.c:52: error: implicit declaration of function 'nl_cache_free'
iw.c:54: error: implicit declaration of function 'nl_handle_destroy'
iw.c: In function 'nl80211_cleanup':
iw.c:60: error: implicit declaration of function 'genl_family_put'
iw.c: In function 'get_phy_or_dev':
iw.c:83: error: implicit declaration of function 'strcmp'
make[1]: *** [iw.o] Error 1

Help?

        Miles
--
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