Results 1 to 6 of 6

Thread: BT3, 2.6.25-rc6, aircrack beta2 v1007, and problems

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Nov 2007
    Posts
    19

    Default BT3, 2.6.25-rc6, aircrack beta2 v1007, and problems

    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

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    681

    Default

    Have you found a solution yet?

    I'm just bumping this for you in case you still need help.
    [FONT=Courier New][SIZE=2][FONT=Courier New]hehe...
    [/FONT][/SIZE][/FONT]

  3. #3
    Just burned his ISO
    Join Date
    Nov 2007
    Posts
    19

    Default

    Thanks and no I haven't. After a little more googleing I found another person who has the same problem but they don't have an answer either.

    I am thinking that I might try using the bt3 beta kernel and installing the latest wireless drivers from http://linuxwireless.org/download/co...ss-2.6.tar.bz2

    Thanks,

  4. #4
    Just burned his ISO
    Join Date
    Nov 2007
    Posts
    19

    Default

    After a little thinking and more careful reading my plan won't work. The problem is the new version of air-crack needs iw so changing kernels won't help. I wish I could get iw to compile.

  5. #5
    Just burned his ISO
    Join Date
    Nov 2007
    Posts
    19

    Default

    I have one problem solved iw now compiles. I changed info.c to the following:

    Code:
    #include <errno.h>
    #include <netlink/genl/genl.h>
    #include <netlink/genl/family.h>
    #include <netlink/genl/ctrl.h>
    #include <netlink/msg.h>
    #include <netlink/attr.h>
    #include </usr/local/include/linux/nl80211.h>
    and iw compile without a problem. Now where do I put the resulting binary? There is no make install.

    Thanks,

  6. #6
    Junior Member
    Join Date
    Jun 2008
    Posts
    25

    Default ok help plz ppl

    i need to get back into my xp and can :P plz help i can get in bt3 only

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •