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:
download driver for linux kernel 2.6.XCode:http://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=105397
prepare kernel headers:
You need to be connected to the internet in order to download the linux-source packagesCode:prepare-kernel-sources cd /usr/src/linux cp -rf include/generated/* include/linux/
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:
make shore there are no errors in output like:Code:tar xvf <driver_package.tar> cd /path/to/driver/ ./configure make make install
if you get such error than link to the headers is not working.Code:WARNING: Symbol version dump /usr/src/linux-2.6.29/Module.symvers is missing; module will have no dependencies and modversions.
solve this problem with these commands:
just replace kernel version namba with your!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
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:
however you will have to prepare kernel headers as well and install all the drivers in the package AND reboot your comp.Code:http://linuxwireless.org/en/users/Download
hope this help and good luck![]()



