
I installed the mod 'insmod rt2870sta.ko' and rebooted. I changed few other settings to succesfully run the 'make & make install' commands, and i did 'modprobe rt2870sta'. I blacklisted the rt2800usb and changed WPA SUPPLICANT & NATIVEWPA SUPPLICANT to = Y'. I ran the apt-get update & apt-get isntall linux headers commands. On my VM I installed the rt2870sta driver for linux:
I installed the rt3070 windows driver for my host windows 7 OS: If not, start a shell and check ifconfig (is the device here? if not…), dmesg (Error loading driver? Missing firmware?) and logread (if it is another problem).So i installed Kali Linux 1.0.9(Debian) on Virtualbox and I bought an USB wireless adapter AWUSO36NH with chipset rt3070.
You should see a new radio now (‘Administration’/’Network’/’Wireless’). The module should be loaded on the next reboot, if it isn’t you can modify /etc/rc.local from within the shell, in order to do so and reboot again. If you are unsure, use a websearch again. The module you are looking for will start with ‘kmod-‘. Now go to ‘System’, ‘Software’ and update the package lists. Click “Administration” in your routers web interface and log in to it. The easiest way to do this, is to use LuCI. You may need to install additional modules since OpenWRT binaries don’t ship with all drivers included. The search hopefully will tell you, whether the dongle is supported by your version of OpenWRT and tell you more about the steps to take. You may narrow the search by adding ‘openwrt’, ‘linux’, ‘linux driver’ and so on. Use Google or any other websearch for this term. It will tell you, the manufacturer and device id in hexadecimal format. you have a router running OpenWRT, and that router is equipped with an USB port, you may connect your dongle to the router. The resulting transmission power will be 20dB (dBm), which is perfectly legal (EIRP must not exceed 20dB in Europe within 2.4 GHz for 5GHz higher values apply, but these depend on additional factor, which are beyond the scope of this post).
Example: “High gain” usb stick has a fixed txpower of 15dB(dBm) and is packaged with a 5dBi omnidirectional antenna.(Usually OEM antennas have a relational gain of 2dB to 5 dB). If the stick’s original antenna is detachable, you therefore must not use it in combination with a replacement antenna of higher gain.Keep in mind, that most cheap WiFi sticks (€5-15) won’t let you regulate the transmission power.Look for a commonly available chipset (Realtek ™ rtl8192u/su/cu Atheros ™ ‘carl’)….Compare, if OpenWRT’s (older) linux kernel supports this dongle, too.Support for ndiswrapper only … forget about it….does it need additional (FullMac) firmware? Yes: could be a problem.Do research on whether the dongle is supported by linux in general.