Red Hat Bugzilla – Bug 115707
iwconfig version mismatch
Last modified: 2014-03-16 22:42:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5)
Description of problem:
iwconfig complains that the driver for device (orinco pcmcia card) has
been compiled for version 16 of the wireless extension but that the
tools are only using verison 15.
Version-Release number of selected component (if applicable):
stock fedora core2 test 1
Steps to Reproduce:
Kernels affected include 2.6.2-1.81. This is preventing the wireless
network from coming up. Error messages include:
ifup: Error for wireless request "Set Encode" (8B2A):
ifup: SET failed on device eth0 ; Invalid argument.
That error is actually unrelated, most likely.
It seems as if /usr/include/linux/wireless.h (provided by glibc-
kernheaders-2.4-8.43) is older than that included with the kernel
source. Removing /usr/include/linux and replacing with that provided
in /lib/modules/<kernel-ver>/build/include/linux, then rebuilding the
wireless-tools seems to solve this problem.
It would make sense that glibc-kernheaders needs to be updated to
include headers from the 2.6 tree.
Another choice is to build forcing version 16 using a locally provided
header - see package README for details.
This involves passing FORCE_WEXT_VERSION=16 to the make and make
install commands. This allows the makefile to use a locally provided
wireless.h of the correct version. This would, however, lock the
package into the present kernel 2.6 (or 2.4 kernels which used version
16 of wireless.h if such exist) and remove the dependancy on
glibc-kernheaders, but not really solve the problem in the end.
Fixed in -4.