D-Link DWA-140 (WiFi, 802.11n, USB Stick, 300 Mbit/s)

Network D-Link, Network, USB, Wireless

D-Link DWA-140 (WiFi, 802.11n, USB Stick, 300 Mbit/s)
Linux compatibility:
5 votes, average: 3.4 out of 55 votes, average: 3.4 out of 55 votes, average: 3.4 out of 55 votes, average: 3.4 out of 55 votes, average: 3.4 out of 5
  ( 3.4 with 5 ratings)

Price: $ 18.00 (on stock)
(without shipping costs)

 Buy from Amazon.com



Price trend
D-Link DWA-140 
-
Minimum: $ 6.95 
Maximum: $ 38.00  
Updated: 03/06/2016 06:26

Review of Linux Compatibility

There are at least three different versions of the USB stick with the name D-Link DWA-140, each one using a different version of a Ralink chipset. Not all versions are supported out-of-the-box by the Linux kernel (in case of version B3 the module has to be compiled per hand). Unfortunately the three versions can not be distinguished in the shop, because the packaging is identical. Due to this reason it is not recommended to buy this stick for Linux purposes.

Version 1:
DWA-140 B1

The version B1 has the USB ID 07d1:3c09 and is recognized by the kernel (e.g. openSUSE 11.4) in the following way:

Bus 001 Device 005: ID 07d1:3c09 D-Link System DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870]

The DWA-140 B1 uses the Ralink chipset RT2870 and is supported since Ubuntu 10.04. However, it is necessary to deactivate the kernel module rt2800usb. Therefore, the file

/etc/modprobe.d/blacklist.conf

has to be extended by the line

blacklist    rt2800usb

Alternatively one can do this (as root) by the following command:

echo 'blacklist rt2800usb' | sudo tee -a /etc/modprobe.d/blacklist.conf

The module rt2870sta which is used to control the DWA-140 B1 is located at

/lib/modules/2.6.37.6-0.5-desktop/updates/rt2870/rt2870sta.ko

This module needs several firmware files:

filename:       /lib/modules/2.6.37.6-0.5-desktop/updates/rt2870/rt2870sta.ko
version:        2.1.0.0
license:        GPL
description:    RT2870/RT3070 Wireless Lan Linux Driver
author:         Paul Lin <paul_lin(at)ralinktech.com>
firmware:       rt3071.bin
firmware:       rt3070.bin
firmware:       rt2870.bin

Version 2:
DWA-140 B2

The version B2 of the DWA-140 has the USB ID 07d1:3c0a and uses the Ralink chipset RT3070.
In oder versions of Ubuntu (until 10.04.2) the module rt2800usb has to be blacklisted as explained above for the version B1.
But the stick is not supported any longer since Ubuntu 10.04.3 by the module rt2870sta.

Instead, since Ubuntu 11.04 the module rt2870sta has to be blacklisted and rt2800usb has to be used together with the latest firmware.

The USB stick DWA-140 B2 is initialized after plugging in in the follwing way:

usb 1-4: new high speed USB device using ehci_hcd and address 4
usb 1-4: New USB device found, idVendor=07d1, idProduct=3c0a
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: 11n Adapter
usb 1-4: Manufacturer: Ralink
usb 1-4: SerialNumber: 1.0

Version 3:
DWA-140 B3

The version B3 of the DWA-140 uses the Ralink chipset RT5370 and has the USB ID 2001:3c15.

The driver can be download from http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501 in the file called “RT8070 /RT3070 /RT3370 / RT3572 /RT5370 /RT5372/ RT5572 USB USB part number”.

The installation of the driver is explaine under https://help.ubuntu.com/community/WifiDocs/Device/Tenda_W311M and http://computarz.blogspot.com/2013/01/linux-drivers-for-usb-wireless-adapter.html.

Version 4:
DWA-140 D

A new version of the DWA-140 has been identified. This version has the USB ID 2001:3c20

Bus 003 Device 002: ID 2001:3c20 D-Link Corp

It is supported by the rt2800usb kernel driver:

ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5392, rev 0223 detected
ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5372 detected
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
usbcore: registered new interface driver rt2800usb
rt2800usb 3-3:1.0 wlp0s20u3: renamed from wlan0
...
ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29

The detailed hardware specification of the revision D can be found at D-Link.


Identified Hardware Configurations (4 Results)

This hardware component was used by Linux users under the following system configurations. These results were collected by our LHG Scan Tool:
Distribution
Kernel
Rating
Scan Date
PCLinuxOS 4.7.6-pclos1 The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5 05/10/2016
Debian GNU/Linux 7.11 (wheezy) 3.2.0-4-486 The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5 10/08/2016
Linux Mint 17.3 Rosa 3.19.0-32-generic The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5 07/08/2016
Arch Linux 4.2.5-1-ARCH The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5The user provided the following rating for this hardware: 4 out of 5 26/01/2016

Similar Linux Hardware

scroll left scroll right

 2 Comments

Comments

Please use the comment section to submit corrections to the article as well as relevant excerpts of lspci, lsusb, lshw, dmesg e.t.c. Furthermore, use the section for the exchange of experiences with this hardware component or search for configuration help from other owners of this hardware.
 
Email address will not be published.
Submitting comment...