GL-MV1000 not working with D-Link DWA-171 Rev.C

the support told me that the gl-mv1000 works with D-Link DWA-171 rev. C - but it doesn’t!

Installed version is 3.203 (upgrade to beta 3.212 didn’t solve the issue).

I logged into gl-mv1000 via:
ssh root@

executed lsusb:
Bus 001 Device 005: ID 0bda:1a2b Realtek Semiconductor Corp.

Because rev. C is recognized as usb mass storage
I created a file /tmp/dlink.json with following content:

        "messages" : [ ],
        "devices" : {
                "0bda:1a2b": {
                        "*": {
                                "mode": "StandardEject",
                                "msg": [ ]

I executed:
usbmode -v -s -c /tmp/dling.json

lsusb output was:
Bus 001 Device 006: ID 2001:331d D-Link Corp.

output of cat /sys/kernel/debug/usb/devices:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2001 ProdID=331d Rev= 2.00
S:  Manufacturer=D-Link Corporation
S:  Product=DWA-171
S:  SerialNumber=123456
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 5 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=500us
E:  Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

But ip link did not show the D-Link as network device.

Is this because of some missing udev rules?

I was able to get the D-Link wifi dongle running on my arch linux (kernel 5.26.16) after installing the driver rtl8821cu-dkms-git ( ip l showed a new wifi device with the corresponding MAC).

I checked on the gl-mv1000 that the kernel module is installed an loaded with:
modprobe 8821cu

The output was:
8821cu is already loaded

Maybe the underlying openwrt has to be updated to version 21.02.2?
So I appreciate your advice how to get the D-Link wifi dongle working.


D-Link DWA-171 rev C1 has RTL8811CU chipset and the OpenWRT 8821CU may not be compatible, nor any current Realtek driver. I have a D-Link DWA-171 rev A1 with RTL8811AU chipset and it works on my GL-MV1000W, but not that well (sometimes drops connection).

I now have the TP-Link T2U Plus V1 with RTL8811AU chipset and it works very well. The GL-MV1000W has only 2.4GHz wifi, so this adds 5GHz wifi.

If GL.iNet told you that DWA-171 rev C works, then challenge them on which driver to use.

I do not work for and I do not have formal association with GL.iNet

I guess that the underlying openwrt is too old … only kernel 4.x
I was able to get the D-Link DWA-171 rev.C working on an Arch Linux system running kernel 5.x

The question is, if it is possible to upgrade openwrt 21.02.2 without bricking.

It should be safe to try as there is a well working debricking procedure.

I found out that I’ve to use a vanilla openwrt that doesn’t contain the GL UI.
Remains only to try to compile the driver for the 19.07 openwrt used by the the GL firmware…

Is the D-Link DWA-171 a wifi dongle?

Why it needs to switch mode?

The D-Link DWA-171 is a wifi dongle with the ZeroCD feature :confused:
That means that the dongle is first recognized as USB mass storage (that contains the Windows drivers → zero CD). Switching to the Wifi mode should make it function as Wifi USB device but it doesn’t work, e.g. it is recognized correctly as D-Link highspeed device but not as network device .

1 Like