Unsupported arptype 0x0001

Gerald Britton gbritton
Sun Feb 9 19:53:16 PST 2003


On Sun, Feb 09, 2003 at 08:43:43PM -0600, Lewis Adam-CAL022 wrote:
> 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???

To linux, it is an ethernet device in normal operation.  In monitor mode,
it changes arp types though and provides full 802.11 frames or those frames
with a capture header.

				-- Gerald





More information about the Hostap mailing list