DWA-125
The DWA-125 Wireless N 150 USB Adapter delivers high performance wireless networking to a laptop or desktop PC via the ultra-fast USB 2.0 interface. Once connected, you can share a high-speed Internet connection while also having access to shared documents, music, and photos on your network.
Why N 150?
Based on Wireless N technology with a single antenna, the DWA-125 achieves wireless speeds of up to 150 Mbps and extended coverage with virtually no dead spots1. It is compatible with newer Wireless N and widespread Wireless G technologies and will work with Wi-Fi certified routers or Access Points of any brand.
Secure connection
To protect your data and privacy, the Wireless N 150 USB Adapter supports WEP, WPA, and WPA2 encryption, allowing you to connect to a secure wireless network, keeping your network traffic secure. With Wi-Fi Protected Setup (WPS), all you have to do is push a button to automatically create a secure wireless connection to your router, avoiding complicated settings.
Easy to install and connect
D-Link’s Quick Setup Wizard available in 18 languages ensures an easy setup process so you can get connected quickly. The Wireless Manager is included with this product to keep track of all of the most frequently accessed networks. A USB cable and cradle are supplied, which allow the position of the adapter to be adjusted for convenience and to achieve the best levels of reception.
1 Maximum wireless signal rate derived from IEEE standard 802.11g specifications. Actual data throughput may vary. Network conditions and environmental factors, including volume of network traffic, building materials and construction, and network overhead, may lower actual data throughput rate. Environmental factors may adversely affect wireless signal range.
* Windows 2000 only supported in revision A
Установка драйвера D-Link DWA-125 A3 в Debian Squeeze
На днях купил USB WI-FI карточку — D-Link DWA-125 для того чтобы наконец то подключить домашний сервер без проводов. Начал рыть интернет на тему установки драйверов. Скачал драйвера с офсайта D-Link. Собрать их удалось со второй попытки, т.к. предварительно пришлось поставить:
aptitude install build-essentials
Но и после сборки свистулька не завелась.
Пробовал установить поддержку устройств Ralink (именно на этом чипсете собран DWL-125) как описано на сайте Debian:
Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072 devices (rt2870sta)
Тоже безуспешно. В списке устройств по lsusb она появилась, но iwconfig упорно не желал ее видеть.
После трех часов гугления, выяснилось что у меня картока DWA-125 rev. A3.
Вот так она выглдит в выдаче команды lsusb:
root@Debian:~# lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 2001:3c19 D-Link Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Данные по ней можно найти на сайте Ralink — D-Link DWA-125 rev A3. Там же по ссылке лежат и исходники драйверов — www.ralinktech.com/en/04_support/support.php?sn=501. Выяснилось что у моей карточки чипсет RT5370. Скачал и собрал драйвера с сайта Ralink и карта завелась с первой попытки. Для сборки драйверов делаем следующее:
Раcпаковываем архив с сайта Ralink:
bunzip2 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2
Здесь в имени файла обнаружилась ошибка. Внутри bzip должен лежать tar. После распаковки переименовываем распакованый файл в .tar и потом распаковываем его еще раз:
tar -xvvf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.tar
заходим в получившуюся папку и открываем в редакторе файл os/linux/config.mk
Там надо заменить две строки на такие:
# Support Wpa_Supplicant HAS_WPA_SUPPLICANT=y # Support Native WpaSupplicant for Network Maganger HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Иначе потом не заработает WPA шифрование.
собираем и устанавливаем драйвер:
После этого свистулька радостно заморгала и стала видима в iwconfig:
root@Debian:~# iwconfig lo no wireless extensions. eth0 no wireless extensions. ra0 Ralink STA ESSID:"sw0001" Nickname:"RT2870STA" Mode:Managed Frequency=2.437 GHz Access Point: 84:C9:B2:64:5F:B2 Bit Rate=54 Mb/s RTS thr:off Fragment thr:off Encryption key:11A1-9CF1-439E-7E01-81F1-CD71-28E1-6E42 Security mode:restricted Security mode:open Link Quality=100/100 Signal level:-46 dBm Noise level:-76 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 pan0 no wireless extensions.
Ну а дальше остается только назначить ей тип шифрования и пароль точки доступа.
Я сделал это через Network Manager.
INSTALL D-LINK DWA-125 WIRELESS DRIVER ON LINUX
If you have recently bought a D-Link Wireless Adapter (DWA-125) for your Linux machine and wondering how to get it working, this article might help you get started. Since there is no driver available for DWA-125 on Linux, we need to compile the chipset driver from the source..
Kernel Upgrade
If your DLink DWA-125 stops working after a kernel upgrade, you will have to reinstall from source code, by compiling for the new kernel version. Follow the instructions below.
Permissions
To run the commands described here, you need to have sudo access. Also, if you don’t have build-essential package installed, please install it.
Enter the following command in the terminal.
sudo apt-get install build-essential
Download source
First, get the source code. The source code is available from Ralink, but if you have trouble finding the right part, download it from TwiCore’s mirror using this link.
Extract the downloaded zip file to a suitable location.
Install
For the purpose of this documentation, let’s assume the Ubuntu username to be user and the path to the folder where the zip file was extracted to be ~/source/dwa-125 .
Edit configuration
Edit the file ~/source/dwa-125/os/linux/config.mk and change the following values:
# Support Wpa_Supplicant HAS_WPA_SUPPLICANT=y line 59
Support Native WpaSupplicant for Network Manager:
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Open a terminal and change directory:
Blacklist unnecessary drivers Edit /etc/modprobe.d/blacklist.conf and add these lines:
blacklist rt2x00usb blacklist rt2x00lib blacklist rt2800usb
Activate driver module
For Ubuntu 11.10, you might to use RT5370STA instead of RT3070STA as mentioned by flbiggs. So here’s the command you need to get the module activated and to bring up the DWA-125 wireless device:
This should bring up the wireless adapter and network manager should start scanning and detect available wireless networks.
Make driver load on startup
Edit /etc/modules and add this line:
This should activate the DWA-125 wireless device every time you turn on the computer.
Recent Posts
DWA-125
The DWA-125 Wireless N 150 USB Adapter delivers high performance wireless networking to a laptop or desktop PC via the ultra-fast USB 2.0 interface. Once connected, you can share a high-speed Internet connection while also having access to shared documents, music, and photos on your network.
Why N 150?
Based on Wireless N technology with a single antenna, the DWA-125 achieves wireless speeds of up to 150 Mbps and extended coverage with virtually no dead spots1. It is compatible with newer Wireless N and widespread Wireless G technologies and will work with Wi-Fi certified routers or Access Points of any brand.
Secure connection
To protect your data and privacy, the Wireless N 150 USB Adapter supports WEP, WPA, and WPA2 encryption, allowing you to connect to a secure wireless network, keeping your network traffic secure. With Wi-Fi Protected Setup (WPS), all you have to do is push a button to automatically create a secure wireless connection to your router, avoiding complicated settings.
Easy to install and connect
D-Link’s Quick Setup Wizard available in 18 languages ensures an easy setup process so you can get connected quickly. The Wireless Manager is included with this product to keep track of all of the most frequently accessed networks. A USB cable and cradle are supplied, which allow the position of the adapter to be adjusted for convenience and to achieve the best levels of reception.
1 Maximum wireless signal rate derived from IEEE standard 802.11g specifications. Actual data throughput may vary. Network conditions and environmental factors, including volume of network traffic, building materials and construction, and network overhead, may lower actual data throughput rate. Environmental factors may adversely affect wireless signal range.
* Windows 2000 only supported in revision A