hi,
this litle tutorial assumes that you have original kernel from backtrack, means you did not recompile your kernel so far!
go to this site for your alfa card:
Code:
http://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=105397
download driver for linux kernel 2.6.X
prepare kernel headers:
Code:
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
You need to be connected to the internet in order to download the linux-source packages
Ensure /lib/modules/$(uname -r)/build/ exists and points(with symbolic link) to the location where the kernel headers are installed ( /usr/src/linux/include/linux)
now untar downloaded driver package and cd into extracted directory:
Code:
tar xvf <driver_package.tar>
cd /path/to/driver/
./configure
make
make install
make shore there are no errors in output like:
Code:
WARNING: Symbol version dump /usr/src/linux-2.6.29/Module.symvers is missing; module will have no dependencies and modversions.
if you get such error than link to the headers is not working.
solve this problem with these commands:
Code:
cd /lib/modules/2.6.29-1-686/
ln -s /usr/src/linux-source-2.6.29 build
cd /usr/src/linux-source-2.6.29
make mrproper
cp /boot/config-$(uname -r) .config
make oldconfig
make prepare
make scripts
just replace kernel version namba with your!
then install again and see if work's.
you also may download compat-wilreless drivers and install them only if driver from alfa network is not working as needed:
Code:
http://linuxwireless.org/en/users/Download
however you will have to prepare kernel headers as well and install all the drivers in the package AND reboot your comp.
hope this help and good luck