LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   find patch | kmod_rt3070 (alfa AWUS036NEH 1000mW) wifi adapter (http://www.linuxquestions.org/questions/linux-hardware-18/find-patch-%7C-kmod_rt3070-alfa-awus036neh-1000mw-wifi-adapter-804082/)

R03L 04-25-2010 10:23 AM

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)

R03L 05-03-2010 05:08 AM

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


R03L 05-03-2010 07:03 AM

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


R03L 05-03-2010 07:13 AM

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


R03L 05-03-2010 07:21 AM

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


R03L 05-03-2010 03:54 PM

Offtopic
Quote:

zd1211rw
aireplay-ng --test mon0
injection successfuly


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