Results 1 to 10 of 18

Thread: Compat-wireless and BackTrack

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    3

    Default Compat-wireless and BackTrack

    I recently bought TP-LINK TL-WN722n wi-fi usb dongle with atheros ar9271 chipset which is not currently supported by BackTrack. The drivers came up with the last compat-wireless realease (driver's name is ath9k_htc). So I downloaded compat-wireless-2010-03-28 but I'm having trouble installing them in BackTrack 4 final.

    Here is the driver's page

    What I did is:

    1. Downloaded the firmware (ar9271.fw) and copied it in /lib/firmware/
    2. Extracted compat-wireless and run "make" from its directory

    Code:
    root@bt:~/compat-wireless-2010-03-28# make
    ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/2.6.30.9/build M=/root/compat-wireless-2010-03-28 modules
    make[1]: Entering directory `/usr/src/linux-source-2.6.30.9'
    
      WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
    		(...)
    
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/gpio.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/init.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/main.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/recv.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/xmit.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/virtual.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/rc.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/pci.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/common.o
    /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/common.c: In function ‘ath9k_cmn_rx_skb_preprocess’:
    /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/common.c:215: warning: ‘noise’ is deprecated (declared at /root/compat-wireless-2010-03-
    
    28/include/net/mac80211.h:564)
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/htc_hst.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/hif_usb.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/wmi.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/htc_drv_txrx.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/htc_drv_main.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/htc_drv_beacon.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/htc_drv_init.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/hw.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/eeprom.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/eeprom_def.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/eeprom_4k.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/eeprom_9287.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/calib.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ani.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/phy.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/btcoex.o
      CC [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/mac.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_hw.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_common.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_htc.o
    
    		(...)
    
    Building modules, stage 2.
    
      CC      /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_common.mod.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_common.ko
      CC      /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_htc.mod.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
      CC      /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_hw.mod.o
      LD [M]  /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
    There seems to be an error in common.o af ath9k, but ath9k_htc seems OK.
    Next I install the drivers

    3. sudo make install

    Code:
    root@bt:~/compat-wireless-2010-03-28# sudo make install
    
    		(...)
    
    make -C /lib/modules/2.6.30.9/build M=/root/compat-wireless-2010-03-28 modules
    make[1]: Entering directory `/usr/src/linux-source-2.6.30.9'
    
      WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
      Building modules, stage 2.
      MODPOST 86 modules
    make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'
    make -C /lib/modules/2.6.30.9/build M=/root/compat-wireless-2010-03-28 "INSTALL_MOD_DIR=updates"  \
                    modules_install
    
    		(...)
    
      INSTALL /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k.ko
      INSTALL /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_common.ko
      INSTALL /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
      INSTALL /root/compat-wireless-2010-03-28/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
    
    		(...)
    
    make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'
    Updating Ubuntu's initramfs for 2.6.31-wl under /boot/ ...
    Cannot find /lib/modules/2.6.31-wl
    Will now run update-grub to ensure grub will find the new initramfs ...
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
    Searching for splash image ... found: /boot/grub/splash.xpm.gz
    Found kernel: /boot/vmlinuz-2.6.30.9
    Found kernel: /boot/memtest86+.bin
    Updating /boot/grub/menu.lst ... done
    
    
    Note: madwifi detected, we're going to disable it. If you would like to enable it later you can run:
        sudo athenable madwifi
    
    Running athenable ath5k...
    Disabling ath_pci ...   [OK]    Module disabled:
    /lib/modules/2.6.30.9/net/ath_pci.ko
    depmod will prefer updates/ over kernel/ -- OK!
    
    Currently detected wireless subsystem modules:
    
    		(...)
    
    /lib/modules/2.6.30.9/updates/net/wireless/lib80211.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/adm8211.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/ath/ar9170/ar9170usb.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/at76c50x-usb.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/ath/ath.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/ath/ath5k/ath5k.ko
    /lib/modules/2.6.30.9/updates/drivers/net/wireless/ath/ath9k/ath9k.ko
    4. Unload currently running drivers.

    Code:
    root@bt:~/compat-wireless-2010-03-28# sudo make unload
    5. Try to load the ath9k_htc module using modprobe

    Code:
    root@bt:~/compat-wireless-2010-03-28# modprobe ath9k_htc
    nothing happens

    Code:
    root@bt:~/compat-wireless-2010-03-28# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    6. Try to load them using the inbuild load command

    Code:
    root@bt:~/compat-wireless-2010-03-28# sudo make load
    Stoping bluetooth service..
    Stopping bluetooth: bluetoothd.
    * bluetooth is not running.
    Unloading ath9k...
    Unloading ath...
    FATAL: Module ath is in use.
    Unloading mac80211...
    FATAL: Module mac80211 is in use.
    Unloading cfg80211...
    FATAL: Module cfg80211 is in use.
    Unloading rfcomm...
    
    		(...)
    
    Module ath_pci not detected -- this is fine
    ath5k loaded successfully
    ath9k loaded successfully
    Module bcm43xx not detected -- this is fine
    Disabling wl ...        [OK]    Module disabled:
    /lib/modules/2.6.30.9/kernel/net/wireless/wl.ko
    FATAL: Error inserting b43 (/lib/modules/2.6.30.9/updates/drivers/net/wireless/b43/b43.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    b43 loaded successfully
    b43legacy loaded successfully
    Starting bluetooth service..
    Starting bluetooth: bluetoothd.
    bluetooth is running.
    At this point there are two wireless adapters (I have an in-built one on the laptop) but they seem to be duplicated and they are not working at all - could not find any networks

    Code:
    root@bt:~/compat-wireless-2010-03-28# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     IEEE 802.11abgn  Mode:Managed  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
    
    wlan1     IEEE 802.11abgn  Mode:Managed  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
    
    hwsim0    no wireless extensions.
    
    pan0      no wireless extensions.
    I don't have any idea what's wrong - please help - since I'm a linux newbie it could be somthing very obvious. I heard about kernel .conf file, installing kernel headers etc. but I have no idea what to do next. Thanx in advance...

  2. #2
    Member mixit's Avatar
    Join Date
    Jan 2010
    Posts
    104

    Default Re: Compat-wireless and BackTrack

    Try going to your compat wireless folder and running

    Code:
    /scripts/athenable
    I'm sure someone else will have better insight than me, but you might want to give that a whirl.

  3. #3
    Member dustyboner's Avatar
    Join Date
    Jan 2010
    Posts
    98

    Default Re: Compat-wireless and BackTrack

    instead of using modprobe, try unloading the drivers and rebooting
    Code:
    # sudo make unload
    # reboot

  4. #4
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    24

    Default Re: Compat-wireless and BackTrack

    try this one:
    1.
    Code:
    ln -s /usr/src/linux /lib/modules/2.6.30.9/build
    2.reinstall
    Code:
    tar -xf /root/compat-wireless-2.6.32.3.tar.bz2
    cd compat-wireless-2.6.32.3
    make
    make install
    make unload
    3use any notepad to open /etc/modprobe.d/blacklist ,add to blacklist
    Code:
    blacklist arusb_lnx

  5. #5
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    3

    Default Re: Compat-wireless and BackTrack

    Tried to reboot, tried /scripts/athenable, tried secowu's solution - nothing works.

    When I load the driver and run dmesg afterwards its says

    Code:
    usb 2-5: firmware: requesting ar9271.fw
    cfg80211: World regulatory domain updated:
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    usb 2-5: ath9k_htc: Firmware - ar9271.fw not found
    ath9k_hif_usb: probe of 2-5:1.0 failed with error -22
    usbcore: registered new interface driver ath9k_hif_usb
    It seems to have troubles locating the firmware - ar9271.fw, which is in /lib/firmware. Strange. Ideas?

  6. #6
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    20

    Default Re: Compat-wireless and BackTrack

    Quote Originally Posted by trismagis View Post
    Tried to reboot, tried /scripts/athenable, tried secowu's solution - nothing works.

    When I load the driver and run dmesg afterwards its says

    Code:
    usb 2-5: firmware: requesting ar9271.fw
    cfg80211: World regulatory domain updated:
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    usb 2-5: ath9k_htc: Firmware - ar9271.fw not found
    ath9k_hif_usb: probe of 2-5:1.0 failed with error -22
    usbcore: registered new interface driver ath9k_hif_usb
    It seems to have troubles locating the firmware - ar9271.fw, which is in /lib/firmware. Strange. Ideas?
    Similar problem with this one.Problem to locate ar9271.fw while I put it in both /lib/firmware and also /lib/firmware-2.6.30.9/ .

  7. #7
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    24

    Default

    both /lib/firmware and also /lib/firmware-2.6.30.9/ . ?
    I alseo have one TL-WN722N,let me try.

    like this ,2 errors
    Code:
    root@bt:/media/disk/compat-wireless-2010-04-05# make
    ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/2.6.30.9/build M=/media/disk/compat-wireless-2010-04-05 mod                                       ules
    make[1]: Entering directory `/usr/src/linux-source-2.6.30.9'
    
      WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
      CC [M]  /media/disk/compat-wireless-2010-04-05/compat/main.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/compat/compat-2.6.31.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/compat/compat-2.6.32.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/compat/compat-2.6.33.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/compat/compat.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/compat/compat_firmware_class.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_vhci.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_ldisc.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_h4.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_bcsp.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_ll.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/hci_uart.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bcm203x.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bpa10x.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bfusb.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/dtl1_cs.o
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/dtl1_cs.c: In function 'dtl1_config':
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/dtl1_cs.c:620: warning: passing argument 2 of 'pcmcia_request_irq' from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bt3c_cs.o
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bt3c_cs.c: In function 'bt3c_config':
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bt3c_cs.c:742: warning: passing argument 2 of 'pcmcia_request_irq' from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bluecard_cs.o
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bluecard_cs.c: In function 'bluecard_config':
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/bluecard_cs.c:907: warning: passing argument 2 of 'pcmcia_request_irq' from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/btuart_cs.o
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/btuart_cs.c: In function 'btuart_config':
    /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/btuart_cs.c:671: warning: passing argument 2 of 'pcmcia_request_irq' from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/btusb.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/btsdio.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/bluetooth/ath3k.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/misc/eeprom/eeprom_93cx6.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/atl1c/atl1c_main.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/atl1c/atl1c_hw.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/atl1c/atl1c_ethtool.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/atl1c/atl1c.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/usb/cdc_ether.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/usb/rndis_host.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/usb/usbnet.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/at76c50x-usb.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/rndis_wlan.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/adm8211.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mwl8k.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mwl8k.c: In function 'mwl8k_rxd_8366_ap_process':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mwl8k.c:753: warning: 'noise' is deprecated (declared at /media/disk/compat-wireless-2010-04-05/include/net/mac80211.h:564)
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mwl8k.c: In function 'mwl8k_rxd_sta_process':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mwl8k.c:855: warning: 'noise' is deprecated (declared at /media/disk/compat-wireless-2010-04-05/include/net/mac80211.h:564)
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mac80211_hwsim.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mac80211_hwsim.c: In function '__check_fake_hw_scan':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/mac80211_hwsim.c:37: warning: return from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/main.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/regd.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/hw.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/usb.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/main.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/main.c: In function 'ar9170_rx_phy_status':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/main.c:929: warning: 'noise' is deprecated (declared at /media/disk/compat-wireless-2010-04-05/include/net/mac80211.h:564)
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/cmd.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/mac.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/phy.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/led.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ar9170/ar9170usb.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/caps.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/initvals.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/eeprom.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/gpio.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/desc.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/dma.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/qcu.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/pcu.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/phy.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/reset.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/attach.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/base.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/base.c: In function 'ath5k_tasklet_rx':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/base.c:2060: warning: 'noise' is deprecated (declared at /media/disk/compat-wireless-2010-04-05/include/net/mac80211.h:564)
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/base.c:2061: warning: 'noise' is deprecated (declared at /media/disk/compat-wireless-2010-04-05/include/net/mac80211.h:564)
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/led.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/rfkill.o
      LD [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath5k/ath5k.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/beacon.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/gpio.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/init.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/main.o
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/recv.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/recv.c: In function 'ath_rx_tasklet':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/recv.c:572: warning: passing argument 2 of 'ath_debug_stat_rx' from incompatible pointer type
      CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_tx_complete_buf':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.c:1880: error: too many arguments to function 'ath_debug_stat_tx'
    make[5]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.o] Error 1
    make[4]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k] Error 2
    make[3]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath] Error 2
    make[2]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless] Error 2
    make[1]: *** [_module_/media/disk/compat-wireless-2010-04-05] Error 2
    make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'
    make: *** [modules] Error 2
    Last edited by lupin; 04-06-2010 at 07:31 AM. Reason: Merging...

  8. #8
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    24

    Default

    got these
    Code:
    root@bt:/media/disk/compat-wireless-2010-04-05# make load
    Stoping bluetooth service..
    Stopping bluetooth: bluetoothd.
    * bluetooth is not running.
    Unloading rfcomm...
    Loading ipw2100...
    Loading ipw2200...
    Loading libertas_cs...
    Loading usb8xxx...
    Loading p54pci...
    Loading p54usb...
    Loading adm8211...
    Loading zd1211rw...
    Loading rtl8180...
    Loading rtl8187...
    Loading p54pci...
    Loading p54usb...
    Loading iwl3945...
    Loading iwlagn...
    Loading ath...
    FATAL: Module ath not found.
    Loading ar9170usb...
    Loading rtl8180...
    Loading rtl8187...
    Loading rt2400pci...
    Loading rt2500pci...
    Loading rt61pci...
    Loading rt2500usb...
    Loading rt73usb...
    Loading rndis_wlan...
    Loading at76_usb...
    FATAL: Module at76_usb not found.
    Loading mwl8k...
    Loading mac80211_hwsim...
    Loading at76c50x_usb...
    Loading bluetooth...
    Loading btusb...
    Loading l2cap...
    Loading sco...
    Loading hidp...
    Loading rfcomm...
    Loading bnep...
    ./scripts/load.sh: line 21: athload: command not found
    ./scripts/load.sh: line 23: b43load: command not found
    Starting bluetooth service..
    Starting bluetooth: bluetoothd.
    bluetooth is running.
    use compat-wireless-2010-04-05,the Wn722N & WN321G+ works well
    Code:
    oot@bt:/media/disk/compat-wireless-2010-04-05# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wmaster0  no wireless extensions.
    
    wlan0     IEEE 802.11abgn  ESSID:""
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry min limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    wmaster1  no wireless extensions.
    
    wlan1     IEEE 802.11abgn  ESSID:""
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry min limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    hwsim0    no wireless extensions.
    
    pan0      no wireless extensions.
    
    wmaster2  no wireless extensions.
    
    wlan2     IEEE 802.11bg  ESSID:""
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
              Tx-Power=0 dBm
              Retry min limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Last edited by lupin; 04-06-2010 at 07:32 AM. Reason: Merging...

  9. #9
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    1

    Default Re: Compat-wireless and BackTrack

    Quote Originally Posted by secowu View Post
    Code:
    CC [M]  /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.o
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.c: In function 'ath_tx_complete_buf':
    /media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.c:1880: error: too many arguments to function 'ath_debug_stat_tx'
    make[5]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k/xmit.o] Error 1
    make[4]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath/ath9k] Error 2
    make[3]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless/ath] Error 2
    make[2]: *** [/media/disk/compat-wireless-2010-04-05/drivers/net/wireless] Error 2
    make[1]: *** [_module_/media/disk/compat-wireless-2010-04-05] Error 2
    make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'
    make: *** [modules] Error 2
    The aforementioned build error is a bug in drivers/net/wireless/ath/ath9k/debug.h. I am not sure if it is a known bug, but I am pretty confident that somebody from compat-wireless is going to notice very soon :-) In order to get around this, you need to modify debug.h, and replace

    Code:
    static inline void ath_debug_stat_tx(struct ath_softc *sc,
                                         struct ath_txq *txq,
                                         struct ath_buf *bf)
    with

    Code:
    static inline void ath_debug_stat_tx(struct ath_softc *sc,
                                         struct ath_txq *txq,
                                         struct ath_buf *bf,
                                         struct ath_tx_status *ts)
    After this change you will be able to compile the bleeding edge compat drivers just fine (tested on 2010-04-06). However, you probably will still run into the second problem:

    Quote Originally Posted by khianhui View Post
    Similar problem with this one.Problem to locate ar9271.fw while I put it in both /lib/firmware and also /lib/firmware-2.6.30.9/ .
    I think this is similar to what I experienced when trying to use the bleeding edge drivers for my Intel 5100 AGN, which also needs to load firmware. For future reference, the error I was getting was:

    Code:
    iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-2.ucode 
    iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-2.ucode' failed. 
    iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
    iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-5000-1.ucode' failed.
    iwlagn 0000:03:00.0: no suitable firmware found!
    After hours of debugging I discovered the most likely root cause. I believe that the problem only happens with the bleeding edge. Some of the drivers in the package have been rendered unusable, probably due to this change described by one of the developers of the package:

    firmware loading vs. initrd

    I *think* (but I am not completely confident) that the patch described in the aforementioned thread is also officially described here:

    https://patchwork.kernel.org/patch/89007/

    I have never tested the patch, did not want to rebuild the kernel. Instead, I simply switched to the most recent *stable* (not bleeding edge) compat-wireless drivers for my kernel (using the BT4 default kernel, 2.6.30), and support for my card started to work just fine.

    Hope this helps.

  10. #10
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    24

    Default Re: Compat-wireless and BackTrack

    sorry 4 lupin,when i just demo again,both bcm4311 and wn722n & wn821n,also can not be work after update comapt drivers.
    I had put fw into /lib/firmware & /usr/local/lib/firmware,but failed

Similar Threads

  1. AWUS050NH compat-wireless causing failed b43
    By PostalService in forum Beginners Forum
    Replies: 4
    Last Post: 03-10-2010, 07:07 AM
  2. Backtrack tools problem with wireless adapter.
    By sickness in forum Beginners Forum
    Replies: 2
    Last Post: 03-08-2010, 03:47 PM
  3. Wireless manager in backtrack 4 final...
    By jacobtc in forum Beginners Forum
    Replies: 1
    Last Post: 02-14-2010, 11:21 PM
  4. Using Backtrack as Wireless Access Point
    By quick in forum Beginners Forum
    Replies: 2
    Last Post: 02-04-2010, 11:19 AM
  5. does rtl8192e wireless card work on backtrack?
    By leeyj4951 in forum Beginners Forum
    Replies: 2
    Last Post: 02-04-2010, 08:40 AM

Tags for this Thread

Posting Permissions

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