LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2015, 03:01 AM   #1
noonah
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
Need to install the N53 PCI Network card from Asus without installing anything before


Hi

I am new to kali linux and have got a fresh install with all the current updates (without any new repositories). I am really interested in aircrack and wifi exploitation. But before i can do any of that i need to install my second network adapter, the asus n53 pcie. I am able to type this because my motherboard came with its own intergrated wifi adapter, the aetheros (something). That was working out of the box as soon as kali linux was installed, however i need a proper network adapter (the n53) to make use of my 3rd party long range antenna (it can pick up networks over 600m away ).

I am attempting to install my asus n53 pcie network adapter but have had no success at all, most likely because i have no idea what to do once i have extracted the driver. Currently it is sitting in my home folder. It has a few folders and files in it, with these being the folders

(chips, common, include, os, rate_ctrl, sta and tools)

and these being the files

(iwpriv_usage.txt, makefile, readme_sta_pci, rt2860STA.dat, rt2860staCarddat, sta_ate_iwpriv_usage.txt.)

In the readme file it says this in the instructions:

1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2860_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 RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat

6> load driver
#[kernel 2.4]
# $/sbin/insmod rt2860sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

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

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

And this to me looks like another language. I would GREATLY APPRECIATE IT if someone could give me step by step instructions on how to install this, without skipping on anything. I will even pay 10000 dogecoin if someone helps me! I have been searching youtube tutorials for 3 hours (lol) for it and havent found anything. Please help me!

Thanks
 
Old 01-19-2015, 04:13 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Yes it is difficult for a newbie to understand that.

You please try one steps at a time and ask here what you are not able to do or understand.
 
Old 01-19-2015, 05:19 AM   #3
noonah
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
Yes it is difficult for a newbie to understand that.

You please try one steps at a time and ask here what you are not able to do or understand.
I do not understand any of the steps at all other than the unzip (step 1).

Last edited by noonah; 01-19-2015 at 07:34 AM.
 
Old 01-19-2015, 01:39 PM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Please open a terminal.

1) tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz

Here replace x.x.x.x with the version file you have.

2) cd DPB_RT2860_Linux_STA_x.x.x.x

3) Open Makefile in this directory and find lines beginning wih MODE, TARGET, LINUX_SRC and set them as MODE=STA TARGET=LINUX.

You should install Linux Source of the Linux Kernel Version of Kali you are using. And then set LINUX_SRC=/installed/linux/src/directory.

and so on.
 
  


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
Problem With ASUS Xonar DS PCI 7.1 Audio Card tb75252 Linux - Newbie 0 02-04-2014 03:45 AM
Asus WL-138g pci adapter IEEE802.11G wireless card & need an driver jsknight100 Linux - Newbie 20 12-18-2012 12:45 PM
Can't install mini pci-e card into desktop PC through a mini pci-e to pci-e 1x card bocaiwen Linux - Hardware 3 05-15-2012 03:29 AM
ASUS P3B-F with Sil3114(pci sata raid card) wont boot with connected hdd spq Linux - Hardware 4 10-12-2010 02:56 PM
Wireless network not being sensed by Asus 138g network card sherrife Ubuntu 2 12-10-2007 01:19 AM


All times are GMT -5. The time now is 10:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration