
Originally Posted by
archonan
I'm a noob.
I have a usb wifi card: D-Link DWA-131
I already have a wireless card built-in my laptop which I am using now.
But I would like to install my usb D-Link DWA-131 and use that one instead of my built-in one (.
What are the steps that I need to do?
please include all steps as I am completely new to Backtrack and Linux.
I have Backtrack 4 R1.
D-Link had drivers for Linux, and I downloaded the package. The installation file had this:
================================================== =============================
Installation
================================================== =============================
<<Method 1>>
Runing the scripts accomplish all operations including building up modules
from the source code, installing driver to the kernel and starting up the nic.
1. Build up the drivers from the source code
make
2. Install the driver to the kernel
make install
reboot
3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
ifconfig wlan0 up
Note: use ifconfig to check whether wlan0 is brought up and use iwconfig to check your wlan interface name,
since it may change wlan0 to wlan1,etc.
<<Method 2>>
Or only load the driver module to kernel and start up nic.
1. Build up the drivers from the source code
make
2. Copy firmware to /lib/firmware/ or /lib/firmware/(KERNEL_VERSION)/
cp -rf firmware/RTL8192SU /lib/firmware
or
cp -rf firmware/RTL8192SU /lib/firmware/(KERNEL_VERSION)
Note: This depends on whether (KERNEL_VERSION) subdirectory exists under /lib/firmware
3. Load driver module to kernel and start up nic.
./wlan0up
Note: when "insmod: error inserting 'xxxx.ko': -1 File exists" comes out
after run ./wlan0up, please run ./wlan0down first, then it should
be ok..
Note: If you see the message of "unkown symbol" during ./wlan0up, it
is suggested to build driver by <<Method 1>>.
So I used method 2, and I did step 1 and 2. Step 3 says 'load driver module to kernel'
How do I do that? Btw, I still have my wlan0 on from my built-in wifi card.
I would really appreciate the help!
Thank you