LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-25-2010, 11:23 AM   #1
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Rep: Reputation: 31
find patch | kmod_rt3070 (alfa AWUS036NEH 1000mW) wifi adapter


im searching for a patch to rpmfusions kmod_rt3070 for ralink rt3070.
its a usb adapter
ra0 Ralink 2560 PCI rt2500 (monitor mode enabled)
working fine but no injection support.

i downloaded the driver and build it myselve but no wireless networks found.
same to the drivers applyd on driver cd no wireless networks found.
the kmod_rt3070.x86_64 is working fine but like i said no packet injection.
witch is supported by this adapter.

how and were do i find a patch kernel for kmod_rt3070.x86_64?
fedora core 12 x86_64

(and for newbies, howto apply this patch)
 
Old 05-03-2010, 06:08 AM   #2
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
now the awus036nh

i have now the 2000mW adapter whit 14dbi panel antenna:
working fine on rt3070sta

i am building patched driver from this tutor
http://forum.aircrack-ng.org/index.php?topic=5755.0
Quote:
echo "blacklist rtl8187" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist mac80211" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist r8187" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist rt2870sta" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist rt3070sta" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist rt2800usb" | sudo tee -a /etc/modprobe.d/blacklist.conf
----------------------------------------------------------------------------------------------
sudo rmmod rtl8187 mac80211
sudo mkdir /usr/src/drivers
cd /usr/src/drivers
sudo wget http://download.aircrack-ng.org/driv...-050nh.tar.bz2
sudo tar jxvf compat-wireless-aircrack-alfa036h-050nh.tar.bz2
cd compat-wireless-aircrack-alfa036h-050nh
sudo wget http://patches.aircrack-ng.org/mac80...g+ack_v3.patch
cat mac80211_2.6.28-rc4-wl_frag+ack_v3.patch | patch -p1
sudo make
sudo make install
sudo make unload
downloaded the driver here
Code:
http://download.aircrack-ng.org/drivers/
and patch here
Code:
http://patches.aircrack-ng.org/
patched it whit the 2.6.32.2 patch

http://patches.aircrack-ng.org/mac80...radiotap.patch

blacklisted rt3070sta

Code:
the only thing on my rt2800usb standart driver is this

it has only 8db txpower on that driver :|
it should have 2000mW
iwpriv ra0 show TxPower
shows me # 2000
 
Old 05-03-2010, 08:03 AM   #3
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
This version not working on 2.6.32.11

This patched driver is not working on 2.6.32.11
Code:
# modprobe zd1211rw rt2800usb
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
Segmentation fault
[root@vlip compat-wireless-aircrack-alfa036h-050nh]# 
Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:------------[ cut here ]------------

Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:invalid opcode: 0000 [#2] SMP 

Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:last sysfs file: /sys/module/mac80211/initstate

Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:Stack:

Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:Call Trace:

Message from syslogd@vlip at May  3 12:24:14 ...
 kernel:Code: 0b eb fe 49 83 7d 28 00 75 04 0f 0b eb fe 49 83 7d 18 00 75 04 0f 0b eb fe 49 83 7d 20 00 75 04 0f 0b eb fe 49 83 7d 40 00 75 04 <0f> 0b eb fe 4c 89 6b 60 66 c7 43 54 01 00 49 8d bc 24 30 0d 00
i did send an kernel error report

[i] [u] if you also have this bug
download compat-wireless-2.6.32.11 driver again from http://wireless.kernel.org/en/users/Download
and start building again without any patch
Code:
sudo make
sudo make install
sudo make unload (Not Working correctly (REBOOT SYSTEM)
sudo reboot

Last edited by R03L; 05-03-2010 at 08:23 AM.
 
Old 05-03-2010, 08:13 AM   #4
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
i did build
compat-wireless-2.6.32.11
http://wireless.kernel.org/en/users/Download

whit patch
http://patches.aircrack-ng.org/

zd1211rw-inject+dbi-fix-2.6.26.patch
http://patches.aircrack-ng.org/zd121...x-2.6.26.patch
and patch
mac80211_2.6.32.2-wl_frag+ack_radiotap.patch
http://patches.aircrack-ng.org/mac80...radiotap.patch

Code:
tar xvf compat-wireless-2.6.tar.bz2
cp mac80211_2.6.32.2-wl_frag+ack_radiotap.patch ./compat-wireless-2.6/
cp zd1211rw-inject+dbi-fix-2.6.26.patch ./compat-wireless-2.6/
cd compat-wireless-2.6/
cat mac80211_2.6.32.2-wl_frag+ack_radiotap.patch | patch -p1
cat zd1211rw-inject+dbi-fix-2.6.26.patch | patch -p1
sudo make
sudo make install
Code:
 sudo make unload
dit not work

rebooted system
both adapters working again now

the rt2800usb i had to modprobe
Code:
#sudo modprobe rt2800usb
#iwconfig wlan0
wlan0     IEEE 802.11bgn  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=5 dBm   <<< This is not correct should be a 2000mW adapter
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
 
Old 05-03-2010, 08:21 AM   #5
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
Code:
[root@vlip vlip]# iwconfig wlan0 txpower 0
[root@vlip vlip]# iwconfig wlan0 txpower 7
Error for wireless request "Set Tx Power" (8B26) :
    SET failed on device wlan0 ; Invalid argument.
[root@vlip vlip]# iwconfig wlan0 txpower 6
[root@vlip vlip]# iwconfig wlan0
wlan0     IEEE 802.11bgn  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=6 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
 
Old 05-03-2010, 04:54 PM   #6
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
Offtopic
Quote:
zd1211rw
aireplay-ng --test mon0
injection successfuly
 
  


Reply

Tags
adapter, patch, wifi


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 define the alfa network usb adapter @M.Salah@ Linux - Newbie 1 11-30-2009 09:42 PM
alfa awus050nh adapter and debian jackgu1988 Linux - Networking 1 11-09-2009 01:32 PM
Trying to find the wifi adapter model for Toshiba NB205-N312BL OstermanA Linux - Laptop and Netbook 8 08-23-2009 04:07 PM
How to install Alfa Wifi Adapter in Bracktrack 3!!! nine_05_lj Linux - Wireless Networking 1 07-29-2009 09:05 PM
Alfa wireless adapter and Ubuntu... romancik Linux - Newbie 2 02-18-2009 02:12 PM


All times are GMT -5. The time now is 06:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration