Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220293 - net-analyzer/hping does not work with atheros wifi cards
Summary: net-analyzer/hping does not work with atheros wifi cards
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 00:27 UTC by William Keaney
Modified: 2012-10-28 13:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Additional lines to support ath* interfaces (atheros_header.patch,396 bytes, patch)
2008-05-05 00:29 UTC, William Keaney
Details | Diff
Modified ebuild to apply the above patch (hping-2.0.0_rc3-r2.ebuild,1.08 KB, text/plain)
2008-05-05 00:30 UTC, William Keaney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Keaney 2008-05-05 00:27:39 UTC
hping fails to recognize the physical layer header size needed for interfaces starting with "ath".  I am attaching a patch that addresses this.

Reproducible: Always

Steps to Reproduce:
1.Try to use hping with an atheros-based 802.11 card
2.
3.

Actual Results:  
hping fails, complaining about an unknown phsyical layer header size

Expected Results:  
hping should detect the ath* interface as using WLANHDR_SIZE
Comment 1 William Keaney 2008-05-05 00:29:02 UTC
Created attachment 151865 [details, diff]
Additional lines to support ath* interfaces
Comment 2 William Keaney 2008-05-05 00:30:00 UTC
Created attachment 151867 [details]
Modified ebuild to apply the above patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-11 04:49:10 UTC
Does hping-3 solve this issue? It doesn't look like it's checking for specific ifnames anywhere.
Comment 4 Pacho Ramos gentoo-dev 2012-10-28 13:00:02 UTC
(In reply to comment #3)
> Does hping-3 solve this issue? It doesn't look like it's checking for
> specific ifnames anywhere.