Hi,

I am using the BT3 beta (real hard drive install) and am trying to crack my WEP key. I am using kernel 2.6.25-rc6 as it supports my wireless card (bcm4311 rev 2). I used FastTrack (modified the aircrack url) to update to rev 1007.

When I begin the steps to crack my key:
# airmon-ng stop wlan0
# ifconfig wlan0 down
# macchanger --mac 00:11:22:33:44:55 wlan0
# airmon-ng start wlan0

I get the following error message
Interface Chipset Driver
wlan0 Broadcom 4311 rev2 PCI b43 - [phy0]

ERROR: Neither the sysfs interface links nor the iw command is available.
Please download and install iw from http://git.sipsolutions.net/iw.git

So I goto the website click on tree and download Makefile, defconfig, info.c, interface.c, iw.c, and iw.h. I do a make and am told to do a cp defconfig .config and rerun make, so I do that and rerun make. Now I need libnl-pre8 so goto http://people.suug.ch/~tgr/libnl/ and download the latest stable and compile it. It errors out. I googled for the answer and people know about the error but no fix yet. I then delete v1.1 and download pre8, compile it (no errors), and install it. Now back to iw, I rerun make and I get new errors. So I said time to get some professional help. It should not be this difficult to get things setup properly. Am I on the right track? Did I derail somewhere?

Thanks,

cc -I/lib/modules/`uname -r`/build//include -Wall -I/lib/modules/`uname -r`/build/include -g -c -o info.o info.c
info.c: In function 'print_phy_handler':
info.c:28: error: 'NL80211_BAND_ATTR_MAX' undeclared (first use in this function)
info.c:28: error: (Each undeclared identifier is reported only once
info.c:28: error: for each function it appears in.)
info.c:30: error: 'NL80211_FREQUENCY_ATTR_MAX' undeclared (first use in this function)
info.c:32: error: 'NL80211_FREQUENCY_ATTR_FREQ' undeclared (first use in this function)
info.c:32: error: array index in initializer not of integer type
info.c:32: error: (near initialization for 'freq_policy')
info.c:32: error: field name not in record or union initializer
info.c:32: error: (near initialization for 'freq_policy')
info.c:33: error: 'NL80211_FREQUENCY_ATTR_DISABLED' undeclared (first use in this function)
info.c:33: error: array index in initializer not of integer type
info.c:33: error: (near initialization for 'freq_policy')
info.c:33: error: field name not in record or union initializer
info.c:33: error: (near initialization for 'freq_policy')
info.c:34: error: 'NL80211_FREQUENCY_ATTR_PASSIVE_SCAN' undeclared (first use in this function)
info.c:34: error: array index in initializer not of integer type
info.c:34: error: (near initialization for 'freq_policy')
info.c:34: error: field name not in record or union initializer
info.c:34: error: (near initialization for 'freq_policy')
info.c:35: error: 'NL80211_FREQUENCY_ATTR_NO_IBSS' undeclared (first use in this function)
info.c:35: error: array index in initializer not of integer type
info.c:35: error: (near initialization for 'freq_policy')
info.c:35: error: field name not in record or union initializer
info.c:35: error: (near initialization for 'freq_policy')
info.c:36: error: 'NL80211_FREQUENCY_ATTR_RADAR' undeclared (first use in this function)
info.c:36: error: array index in initializer not of integer type
info.c:36: error: (near initialization for 'freq_policy')
info.c:36: error: field name not in record or union initializer
info.c:36: error: (near initialization for 'freq_policy')
info.c:39: error: 'NL80211_BITRATE_ATTR_MAX' undeclared (first use in this function)
info.c:41: error: 'NL80211_BITRATE_ATTR_RATE' undeclared (first use in this function)
info.c:41: error: array index in initializer not of integer type
info.c:41: error: (near initialization for 'rate_policy')
info.c:41: error: field name not in record or union initializer
info.c:41: error: (near initialization for 'rate_policy')
info.c:42: error: 'NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE' undeclared (first use in this function)
info.c:42: error: array index in initializer not of integer type
info.c:42: error: (near initialization for 'rate_policy')
info.c:42: error: field name not in record or union initializer
info.c:42: error: (near initialization for 'rate_policy')
info.c:55: error: 'NL80211_ATTR_WIPHY_BANDS' undeclared (first use in this function)
info.c:67: error: 'NL80211_BAND_ATTR_FREQS' undeclared (first use in this function)
info.c:89: error: 'NL80211_BAND_ATTR_RATES' undeclared (first use in this function)
info.c:40: warning: unused variable 'rate_policy'
info.c:39: warning: unused variable 'tb_rate'
info.c:31: warning: unused variable 'freq_policy'
info.c:30: warning: unused variable 'tb_freq'
info.c:28: warning: unused variable 'tb_band'
make: *** [info.o] Error 1