- Wi-Fi Alfa rt2800usb debian
- ALFA-ВAWUS036H — ALFA-ВAWUS050NH Installing drivers RTL8187, r8187, rt2800usb on Ubuntu Intrepid & Jaunty
- Update your OS and install these ESSENTIAL and recommended package
- [Firt option] Install iw from Ubuntu Repository
- [RECOMMENDED OPTION] Alternatively compiling the latest version available from IW source
- Installing Compat-Wireless + patch mac-80211 on Ubuntu Jaunty (for use ALFA-AWUS050NH with rt2800usb & ALFA-AWUS036H with RTL8187 driver)
- Download & Install Compat-wireless-aircrack-alfa036h-050nh drivers
- Here are the tests: Test Compat-wireless-aircrack-jaunty-patched
- Intalling driver r8187/StacksВ ieee80211 on Ubuntu Jaunty (or until Kernel 2.6.30) (only for ALFA-ВAWUS036H)
- Installing driver r8187
- To load the driver and use your ALFA-AWUS036H wireless card, use this command
- IMPORTANT NOTE FOR THE PROPER USE
- For unload driver RTL8187/Stack Вmac80211
- For unload driver RTL8187/Stack Вmac80211
- For unload driver r8187/Stack Вieee80211
- Or use the removal script contained in the folder of driver r8187
- For unload driver rt2800usb, used by ALFA-ВAWUS050NH
- Testing with drivers already patched
- ALFA-ВAWUS036H — ALFA-ВAWUS050NH — ALFA-AWUS036NH Installing drivers RTL8187, r8187, rt2800usb on Ubuntu Lucid & Maverick
- Update your OS and install these ESSENTIAL and recommended package
- [Firt option] Install iw from Ubuntu Repository
- [RECOMMENDED OPTION] Alternatively compiling the latest version available from IW source
- Install RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070) Firmware
- Installing Compat-Wireless patched on Ubuntu Lucid (default Kernel) (tested with drivers rtl8187, zd1211rw, iwl3945, ath5k, rt73usb, rt2800usb)
- Blacklist ieee80211, mac80211 and STA drivers on boot
- Here are the tests: Test Compat-wireless-aircrack-lucid-patched
- Move or copy the downloaded drivers in /usr/src/drivers directory
- Installing Compat-Wireless patched on Ubuntu Maverick or Lucid with Kernel from 2.6.35 to 2.6.37 (tested with drivers rtl8187, zd1211rw, iwl3945, ath5k, rt73usb, rt2800usb)
- Move or copy the drivers in /usr/src/drivers directory
- Intalling driver r8187/Stacks-ieee80211 on Ubuntu Karmic and Lucid (Kernel 2.6.31 and 2.6.32)
- Download & Installing driver r8187 (old Stacks-ieee80211)
- Step for Ubuntu Maverick, Natty or Lucid with custom Kernel 2.6.35 to 2.6.38
- To load the r8187/ieee80211 driver and use your ALFA-AWUS036H wireless card, use this command
- IMPORTANT NOTE FOR THE PROPER USE
- For unload driver RTL8187/Stack Вmac80211
- For unload old driver r8187/Stack Вieee80211
- Or use the script contained in the folder of driver r8187
- For unload driver rt2800usb, used by ALFA-ВAWUS050NH or ALFA-AWUS036NH
- Test with drivers already patched
Wi-Fi Alfa rt2800usb debian
Приблема с wireless card как я писал раньше что не мог установить двова, теперь она не видит сети.
С Ваших подказок зделал
ifconfig видит карту так же видит gnome-network-manger но не ищет сети.
Network Monitor не видит.
Как проверить в чем ошибка, и где ее искать ?
Что скажет sudo iwlist wlan0 scan? Что скажет dmesg | tail после попытки сканирования?
sudo iwlist wlan1 scan
rfkill list?
Какая версия ядра? Может быть, стоило поставить чуть более новое с http://backports.org/ (а testing пока не трогать)?
Попробуйте обновить ядро.
Не появляется ли в dmesg интересных сообщений после ifconfig wlan1 down; ifconfig wlan1 up, отключения/подключения устройства?
Как можно быть таким ленивым и нелюбопытным? Все давно описано:
Есть еще вареанты ктоме обновления ядра. Не хочется все назад бекапить.
Не понял. Что именно бекапить и зачем?
Обновление ядра — это подключение 1 репозитория, установка оттуда одного пакета и последующая перезагрузка с новым ядром.
Что показывает rfkill list?
Что появляется в dmesg при переподключении устройства?
Источник
ALFA-ВAWUS036H — ALFA-ВAWUS050NH
Installing drivers RTL8187, r8187, rt2800usb on Ubuntu Intrepid & Jaunty
Driver RTL8187/Stacks mac80211 (ref. ALFA-AWUS036h WiFi card)
These wireless drivers, for surfing Internet, are more stable than r8187, and fully compatible with Network-Manager installed by default on Ubuntu 9.04/9.10 and 10.04.
Supports all WiFi encryption without problems. (open, wep and wpa/wpa2)
With Compat-Wireless, the «injection» working, but for support «Fragmentation Attack» (opt. -5) you need to install mac80211 fragmentation patch.
The RX sensitivity and packet injection is less, related to drivers r8187/ieee80211.
Driver r8187/Stacks-ieee80211 (ref. ALFA-AWUS036h WiFi card)
This wireless driver is recommended for use with the Suite of Aircrack-ng, but not particularly suitable for ADSL Internet Connections, as less stable and discontinuous at regular intervals.
The r8187 is compatible with Network-Manager 0.7, installed by default on Ubuntu 9.04, and supporting the Wireless encryption OPEN and WEP (not WPA/WPA2)
To establish Internet connections with your WiFi Access Point (ADSL router) using WPA/WPA2 encryption, require manual configuration of Wpa_Supplicant.
The «injection» and all «attacks» of Aireplay-ng, are supported after installing the appropriate «patch».
Driver rt2800usb/Stacks mac80211 (ref. ALFA-AWUS050NH)
This driver is NOT fully supported but with Compat-Wireless, the «injection» work partially and supported 4 «attacks» of Aireplay-ng.
Compatible with «Macchanger».
The RX sensitivity and packets injection is less, related to ALFA-AWUS036H.
The rt2800usb at the moment do not allow Internet connection. (for this purpose use RT2870sta or RT3070sta)
Note for Ubuntu Jaunty
To establish WiFi Internet connection and surfing Internet with ALFA-AWUS050NH WiFi-card with rt2870sta driver, you must use the Kernel «2.6.28-11-generic #42-Ubuntu», without change or updates the drivers modules or use Ralink utility.
Update your OS and install these ESSENTIAL and recommended package
NOTE: Before continuing, make sure NOT to be active in Synaptic the Repositories «Proposed» and «Backports»
Install/update «IW»
(Wireless Configuration Utility for drivers based on Stacks-mac80211)
[Firt option] Install iw from Ubuntu Repository
[RECOMMENDED OPTION] Alternatively compiling the latest version available from IW source
Install RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070) Firmware
Step ONLY for ALFA-AWUS050NH If NOT already present the RT2870 Firmware.
(not necessary on Jaunty/Karmic/Lucid because is already installed)
For check Firmware:
Code:
Installing Compat-Wireless + patch mac-80211 on Ubuntu Jaunty
(for use ALFA-AWUS050NH with rt2800usb & ALFA-AWUS036H with RTL8187 driver)
Download & Install Compat-wireless-aircrack-alfa036h-050nh drivers
After restarting your computer, if not loaded during startup, loaded the preferred driver using «modprobe» command:
Here are the tests: Test Compat-wireless-aircrack-jaunty-patched
Intalling driver r8187/StacksВ ieee80211 on Ubuntu Jaunty
(or until Kernel 2.6.30)
(only for ALFA-ВAWUS036H)
Installing driver r8187
IMPORTANT NOTE:
Do not make any changes to the package/driver downloaded because is already modified and patched.
To load the driver and use your ALFA-AWUS036H wireless card, use this command
IMPORTANT NOTE FOR THE PROPER USE
В The drivers RTL8187 and r8187 used by ALFAВAWUS036H, works using different Stacks, (mac80211 and ieee80211) CAN NOT be used in the same time. (cause System CRASH or Kernel PANIC)
Remove and insert the «modules» with the appropriate commands.
For unload driver RTL8187/Stack Вmac80211
For unload driver RTL8187/Stack Вmac80211
For unload driver r8187/Stack Вieee80211
Or use the removal script contained in the folder of driver r8187
For unload driver rt2800usb, used by ALFA-ВAWUS050NH
Testing with drivers already patched
TEST ALFA-AWUS036H with driver RTL8187/Stacks mac80211
TEST ALFA-AWUS036H with driver r8187/Stacks ieee80211 patched
TEST ALFA-AWUS050NH with driver RT2800usb for use Aircrack-ng
TEST ALFA-AWUS050NH with driver rt2870sta for Internet connections
Tutorial suggested
Enjoy, Jano
Written: 22/Jun/2009
Updated: 08/May/2013
Disclaimer
Источник
ALFA-ВAWUS036H — ALFA-ВAWUS050NH — ALFA-AWUS036NH
Installing drivers RTL8187, r8187, rt2800usb on Ubuntu Lucid & Maverick
Driver RTL8187/Stacks mac80211 (ref. ALFA-AWUS036h WiFi card)
These wireless drivers, for surfing Internet, are more stable than r8187, and fully compatible with Network-Manager installed by default on Ubuntu 9.04/9.10 and 10.04.
Supports all WiFi encryption without problems. (open, wep and wpa/wpa2)
With Compat-Wireless, the «injection» working, but for support «Fragmentation Attack» (opt. -5) you need to install mac80211 fragmentation patch.
The RX sensitivity and packet injection is less, related to drivers r8187/ieee80211.
Driver r8187/Stacks-ieee80211 (ref. ALFA-AWUS036h WiFi card)
This wireless driver is recommended for use with the Suite of Aircrack-ng, but not particularly suitable for ADSL Internet Connections, as less stable and discontinuous at regular intervals.
The r8187 is compatible with Network-Manager 0.7, installed by default on Ubuntu 9.04, and supporting the Wireless encryption OPEN and WEP (not WPA/WPA2)
To establish Internet connections with your WiFi Access Point (ADSL router) using WPA/WPA2 encryption, require manual configuration of Wpa_Supplicant.
The «injection» and all «attacks» of Aireplay-ng, are supported after installing the appropriate «patch».
IMPORTANT NOTE related to Ubuntu Lucid, Maverick and Natty
At the moment does not allow Internet connections; when acquired the IP address the System freezes. (for surfing Internet use RTL8187 driver)
Driver rt2800usb/Stacks mac80211 (ref. ALFA-AWUS050NH / ВAWUS036NH Wifi card)
This driver is NOT fully supported but with Compat-Wireless, the «injection» work partially and supported 4 «attacks» of Aireplay-ng.
Compatible with «Macchanger».
The RX sensitivity and packets injection is less, related to ALFA-AWUS036H wirless card.
Note to Ubuntu Lucid referring to the usb WiFi card ALFA-AWUS050NH & ALFA-AWUS036NH
To establish WiFi Internet connection and surfing Internet on Ubuntu Lucid you must use the RT2870sta.
Update your OS and install these ESSENTIAL and recommended package
NOTE: Before continuing, make sure NOT to be active in Synaptic the Repositories «Proposed» and «Backports»
Copy sudo dpkg —configure -a && sudo apt-get install -f && sudo apt-get update Copy sudo apt-get install linux-headers-$(uname -r) build-essential make patch subversion openssl libssl-dev zlib1g zlib1g-dev libssh2-1-dev libnl1 libnl-dev gettext autoconf tcl8.5 libpcap0.8 libpcap0.8-dev python-scapy python-dev cracklib-runtime macchanger-gtk tshark ethtool
Install/update «IW»
(Wireless Configuration Utility for drivers based on Stacks-mac80211)
[Firt option] Install iw from Ubuntu Repository
[RECOMMENDED OPTION] Alternatively compiling the latest version available from IW source
Install RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070) Firmware
Step ONLY for ALFA-AWUS050NH & ALFA-AWUS036NH, If NOT already present.
(not necessary on latest Ubuntu version because is already installed)
For check Firmware:
Copy ls -l /lib/firmware/rt2870.bin
(example: -rw-r—r— 1 root root 4096 2010-11-18 22:20 /lib/firmware/rt2870.bin )
Copy sudo unzip RT2870_Firmware_V22.zip && sudo mv RT2870_Firmware_V22/rt2870.bin /lib/firmware
Before proceding, if installed, uninstall the previous version of Compat-Wireless or linux-backports-modules/linux-backports-modules-compat-wireless-Your_installed_version» using Synaptic or Terminal:
Copy sudo apt-get remove —purge linux-backports-modules-compat-wireless-Your_installed_version
Installing Compat-Wireless patched on Ubuntu Lucid (default Kernel)
(tested with drivers rtl8187, zd1211rw, iwl3945, ath5k, rt73usb, rt2800usb)
NOTE: this version of Compat-Wireless is compatible on Ubuntu Lucid or BackTrack 4 Final
Blacklist ieee80211, mac80211 and STA drivers on boot
In this list are included the old driver ieee80211, new mac80211 and STA drivers, but you can/need to change it depending on your wireless card used.
REMEMBER: that when you reboot your PC, to use your internal/usb wireless card will need to manually reload the driver using the «modprobe» command.
Copy echo «blacklist r8187» | sudo tee /etc/modprobe.d/blacklist_r8187.conf Copy echo «blacklist rt2870sta» | sudo tee /etc/modprobe.d/blacklist_rt2870sta.conf Copy echo «blacklist rtl8187» | sudo tee /etc/modprobe.d/blacklist_rtl8187.conf Copy echo «blacklist mac80211» | sudo tee /etc/modprobe.d/blacklist_mac80211.conf
— If not use the old r8187/stacks-ieee80211 driver not put in blacklist the mac80211 and rtl8187 drivers.
Package already patched for Ubuntu Lucid default Kernel:
(include patch to fix problem in Airodump-ng and Aireplay-ng —> «fixed channel mon0: -1″, and injection/fragmentation patches)
Here are the tests: Test Compat-wireless-aircrack-lucid-patched
Before removing the modules with «modprobe -r» command download the files needed, as during the installation should not be connected to the Internet or have any other card active
Copy sudo modprobe -r rtl8187 zd1211rw iwl3945 ath5k rt73usb rt2800usb Copy sudo mkdir /usr/src/drivers
Move or copy the downloaded drivers in /usr/src/drivers directory
— The installation process takes about 5/10 minutes, do not interrupt.
— After restarting your computer, if not loaded during startup, loaded the preferred driver using «modprobe» command:
Copy sudo modprobe Driver_Name
Installing Compat-Wireless patched on Ubuntu Maverick or Lucid with Kernel from 2.6.35 to 2.6.37
(tested with drivers rtl8187, zd1211rw, iwl3945, ath5k, rt73usb, rt2800usb)
— Include patch to fix problem in Airodump-ng and Aireplay-ng —> «fixed channel mon0: -1″, and injection/fragmentation patches.
Not use this package on Ubuntu Natty because it do not build correctly with Kernel 2.6.38.
(whith Natty, use the new package «compat-wireless-aircrack-natty-patched«)
Copy sudo modprobe -r rtl8187 zd1211rw iwl3945 ath5k rt73usb rt2800usb Copy sudo mkdir /usr/src/drivers
Move or copy the drivers in /usr/src/drivers directory
After you have successfully completed the installation (5/10 minutes) to use the driver RTL8187/mac80211 with ALFA-AWUS036H, load module with this command:
Copy sudo modprobe -r r8187 && sudo modprobe rtl8187
And check with Airmon-ng or new Airmon-zc present in the latest version of Aircrack-ng SVN
Copy sudo airmon-ng | grep «rtl8187
While, for use ALFA-AWUS050NH or ALFA-AWUS036NH, load driver rt2800usb:
Copy sudo modprobe -r rt2870sta && sudo modprobe rt2800usb
Intalling driver r8187/Stacks-ieee80211 on Ubuntu Karmic and Lucid
(Kernel 2.6.31 and 2.6.32)
Download & Installing driver r8187 (old Stacks-ieee80211)
Step for Ubuntu Maverick, Natty or Lucid with custom Kernel 2.6.35 to 2.6.38
Copy sudo modprobe -r r8187 rtl8187 Copy sudo mkdir /usr/src/drivers && cd /usr/src/drivers Copy sudo wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip Copy sudo unzip rtl8187_linux_26.1010.zip && cd rtl8187_linux_26.1010.0622.2006 Copy sudo tar -xzf drv.tar.gz && sudo tar -xzf stack.tar.gz Copy sudo wget http://patches.aircrack-ng.org/rtl8187_2.6.35-monitor_only.patch -O — | sudo patch -Np1 Copy sudo sed -i ‘s/-depmod -ae/-depmod -a/’ Makefile Copy sudo make && sudo make install
To load the r8187/ieee80211 driver and use your ALFA-AWUS036H wireless card, use this command
IMPORTANT NOTE FOR THE PROPER USE
В The drivers RTL8187 and r8187 used by ALFA-ВAWUS036H, works using different Stacks, (mac80211 and ieee80211) CAN NOT be used in the same time. (cause System CRASH or Kernel PANIC)
Remove and insert the «modules» with the appropriate commands.
For unload driver RTL8187/Stack Вmac80211
For unload old driver r8187/Stack Вieee80211
Or use the script contained in the folder of driver r8187
Copy sudo sh /usr/src/drivers/rtl8187_linux_26.1010.0622.2006/wlan0rmv
NOTE: Before using this script you need to make the file executable with this command.
Copy sudo chmod +x /usr/src/drivers/rtl8187_linux_26.1010.0622.2006/wlan0rmv
For unload driver rt2800usb, used by ALFA-ВAWUS050NH or ALFA-AWUS036NH
Test with drivers already patched
Test ALFA-AWUS036H with driver RTL8187/mac80211
Test ALFA-AWUS036H with driver r8187/ieee80211 patched
New tests ALFA-AWUS050NH with Compat-Wireless-Aircrack-Natty-Patched & rt2800usb driver for use Aircrack-ng
Test ArpReply attack Test Chopchop attack
Test Fragment attack Test Internet Connection
Enjoy, Jano
Written: 28/Jun/2010
Updated: 05/Sep/2013
Disclaimer
Источник