Bug 365251

Summary: Can no longer add monitor mode device
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: kernelAssignee: John W. Linville <linville>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.23.8-63 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-13 20:39:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Woodhouse 2007-11-03 14:57:54 UTC
Until recently I could do this:
 echo -n moni0 > /sys/class/ieee80211/phy*/add_iface
 iwconfig moni0 mode monitor
 ip link set moni0 up
 tcpdump -i moni0 -l -n

It doesn't work in Fedora 8 though -- what replaces it?

Comment 1 John W. Linville 2007-11-21 21:48:04 UTC
Those bits were removed upstream in order to reduce the sysfs user interface 
commitment.  It may or may not come back there.

The netlink-based tool that give this functionality is here:

   http://git.sipsolutions.net/iw.git/

We probably need to get that packaged for F9.  But for now it doesn't do 
much...except add and remove interfaces... :-)

In the meantime, I'll add a patch to restore the sysfs bits in F8.  Please 
test 2.6.23.8-63.fc8 when it is available.  Does that work for you?