Red Hat Bugzilla – Bug 61613
need kernel wireless.h v12
Last modified: 2007-04-18 12:41:04 EDT
Description of Problem:
glibc-kernheaders 2.4-7.11.i386.rpm on Hampton beta 3 (and whatever is on
Hampton beta 2) includes a copy of linux/include/linux/wireless.h, version 11.
The kernel has version 12, causing a mismatch that breaks iwconfig. iwconfig
complains about this mismatch. On my Dell Latitude C400 which uses the
wvlan_cs driver, this mismatch causes me to not be able to make changes via
iwconfig (I can't turn off the encryption key, but can modify some other
fields, while the essid field generally has garbage in it).
Copying linux/include/linux/wireless.h to /usr/include/linux per the
instructions at http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
allowed me to rebuild wireless-tools so that iwconfig works again.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
As a follow-on:
I copied /usr/src/linux-2.4/include/linux/wireless.h
to /usr/include/wireless.h, and did an rpm --rebuild wireless-tools-
23.1.src.rpm (which built fine), then an rpm -Uvh --
force /usr/src/redhat/RPMS/i386/wireless-tools-23.1.i386.rpm. That worked fine
too. But, /sbin/iwconfig eth0 still won't let me set the encryption
key 'off'. :-(
Wireless tools v24pre5 built from source tarball works fine. That includes
wireless.h v14, but by default uses whatever is in <linux/wireless.h>, which in
this case is now v12.
I happen to have done this 3 days ago ;)