Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-03-2012, 08:20 PM   #1
LQ Newbie
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Exclamation installing wireless drver

i am a starter of backtrack 5, the first thing i wnat to do is install the driver of my usb wireless adapter.

not like windows, double-click won't work. I found the instruction of installing the driver, problem is, i don't understand anything it write. the driver file name is 2010_0831_RT3070_Linux_STA_v2[1].4.0.1_DPO.bz2. Here is the read me file.

* Ralink Tech Inc.

RT2870 Wireless Lan Linux Driver

Driver lName:

Supporting Kernel:
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.

Ralink Hardware:
Ralink 802.11n Wireless LAN Card.

This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.

Makefile : Makefile
*.c : c files
*.h : header files

This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.

Build Instructions:

1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.

2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.

3> In os/linux/
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# To fix "error: too few arguments to function ”„iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

6> load driver, go to "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta


first, i followed the instruction 1. what came out is just 'file or directory not found'

can someone teach me how to install it on backtrack 5 (or just give me the command needed to be written in the terminal)

answers are appreciated, thanks.

Last edited by anonymous909; 12-03-2012 at 08:28 PM.
Old 12-04-2012, 12:57 PM   #2
Senior Member
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX & Vuu-Do.
Posts: 1,916

Rep: Reputation: Disabled
You have downloaded source code that has to be compiled into a kernel module. I think what you need is the firmware for your card. try this link :-

Last edited by fatmac; 12-04-2012 at 12:59 PM.
Old 12-04-2012, 01:05 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,189

Rep: Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507
drivers are a "test" with backtrack

if you can not do that all on your own
then there is NOTHING in backtrack5 for you .
BT is created FOR and BY network SECURITY EXPERTS

if you can not ALREADY install a wireless driver
then it is very unlikely you can use BT5

fallow the OLD bt4 tutorials on the offensive security site
BUT YOU MUST port them for use in BT5
that is test #1

If you are NOT already a security expert and WORKING as a paid "white hat" security tester ( or like, as in a CS student )
then about the only thing waiting for you with BackTrack5 is :
a good likelihood that you will be standing in front of a JUDGE as the sentence is read out

Last edited by John VV; 12-04-2012 at 01:09 PM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing wireless drivers with Atheros AR9285 Wireless Network Adapter nine9nine Linux - Software 4 04-07-2017 08:27 AM
how to write i2c drver for keypad in linux for at91sam9261 board raulapati Linux - Hardware 1 03-08-2011 07:09 PM
Installing wireless driver, Intel pro/wireless 2100 hohosr Linux - Wireless Networking 1 03-17-2010 02:32 AM
Trouble installing wireless-tools & trying to install Wireless PCI pragmatic Linux - Wireless Networking 1 06-21-2005 07:39 AM
How to install ATI drver on hoary (3D enabled)? fireedo Ubuntu 13 06-17-2005 10:53 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration