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

Notices


Reply
  Search this Thread
Old 12-03-2012, 08:20 PM   #1
anonymous909
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.

* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

=======================================================================
ModelName:
===========
RT2870 Wireless Lan Linux Driver


=======================================================================
Driver lName:
===========
rt2870.o/rt2870.ko


=======================================================================
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.


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


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


=======================================================================
Features:
==========
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/config.mk
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
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>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
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,443

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 :-
http://www.ralinktech.com/en/04_supp...se.php?sn=5030

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,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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.
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 PM.

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