Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220293

Summary: net-analyzer/hping does not work with atheros wifi cards
Product: Gentoo Linux Reporter: William Keaney <keaneyw>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Additional lines to support ath* interfaces
Modified ebuild to apply the above patch

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.