Unsupported arptype 0x0001

Lewis Adam-CAL022 Adam.Lewis at motorola.com
Sun Feb 9 21:43:43 EST 2003


Hi Jouni,

I've looked around a little and type 0x0001 is defined as Ethernet in
/usr/src/linux/include/linux/if_arp.h.  I looked into the source for
wlansniff and it is check to see if my type is either ARPHRD_IEEE80211
(defined as 0x0801) or ARPHRD_IEEE80211_PRISM (0x0802).  The fact that
wlansiff's code is returning 0x0001 (ARPHRD_ETHER) when it calls to ioctl
"(SIOCGIFHWADDR)" is disturbing to me.  It would appear as tho my linux box
is thinking my wlan pc card is an ethernet device???

-adam

-----Original Message-----
From: Jouni Malinen [mailto:jkmaline at cc.hut.fi]
Sent: Sunday, February 09, 2003 8:28 PM
To: hostap at shmoo.com
Subject: Re: Unsupported arptype 0x0001


On Sun, Feb 09, 2003 at 07:54:44PM -0600, Lewis Adam-CAL022 wrote:

> I get this exact error (Unsupported arptype 0x0001) when I try to run
> "wlansniff wlan0."  What does this mean and how do I fix it?

You need to first set the interface to monitor mode with 'iwconfig wlan0
mode monitor' (or 'iwpriv wlan0 monitor 2' if you are using older
version of wireless tools).

-- 
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list