AXT18000 with Dlink USB Modem

Hi Team / Pro-Users,

I got the AXT1800 and been using it in repeater mode. Now i have a Dlink DWM-222 USB modem, which i am trying to connect with the AXT1800.

The usb modem isnt detected

Is this an new or old modem?

@Dipin pls bookmark this.

Seems that this one is very old one.

Can you refer to [OpenWrt Wiki] Use RNDIS USB Dongle for WAN connection
and install some driver and config manually?

Thank you @alzhao - I am newbie to this, can you help me on how to do the changes listed in that page ?

Hi @alzhao @Dipin - I have tried the steps mentioned on the page. However the DWM-222 is detected as a mass storage device rather than rndis_host (as mentioned in the page shared).

Can you advise

It is like the package usb-modeswitch is not installed.

1 Like

Hi @alzhao , thank you for that . I checked and can confirm the usb-modeswitch package is installed.

The D-Link DWM-222 USB modem is being detected as a USB storage device. Like various other cellular and wifi USB devices, there may be Windows drivers pre-loaded in a partition that appears as a CD for ease of installation.

First, find out the vendor ID and product ID of the D-Link USB modem, either by looking in the Kernel Log (dmesg) or by running lsusb in SSH.

Second, for usb-modeswitch to work, confirm that the vendor ID and product Id is in the /etc/usb-mode.json file.

I do not work for and I am not directly associated with GL.iNet

Just over a year on, what is the actual fix for this issue?

BTW lsusb results in a command not found (-ash: lsusb: not found
), but dmesg does show:

[ 553.141542] usb 1-1: new high-speed USB device number 6 using xhci-mtk
[ 553.358697] usb-storage 1-1:1.0: USB Mass Storage device detected

so what the steps to get the router to detect the modem and actually be usable?

Install the usbutils package on the router to get the lsusb command,

Yeah ended up doing that.Thanks.

That isn’t the really the issue of the thread though.

The modem is there, the problem seems to be even though USB switch over is installed, it’s not switching over. Seems plenty of people have had a similar issue, but got it working somehow.

What is the vendor ID and product ID?

Have you installed the usb-modeswitch package and checked the vendor ID and product ID?

usb-modeswitch comes installed by default. Double checked, but yeah it’s installed.

Vendor id is reportedly - 0x2001
Product ID - 0x7e3d

Not in the /etc/usb-mode.json file by default. I now added them.

 "2001:ac01": {
                        "*": {
                                "t_vendor": 0x2001,
                                "t_product": [ 0x7e3d ],
                                "mode": "StandardEject",
                                "msg": [  ]
                        }
                },

Still it isn’t detected in the admin panel, even after a reset.

lsusb now shows:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2001:ac01 D-Link Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

edit: looks like it should be:

   "2001:ac01": {
                        "*": {
                                "t_vendor": 8193,
                                "t_product": [ 32309 ],
                                "mode": "StandardEject",
                                "msg": [  ]
                        }
                },

Either way, the device still isn’t picked up and shown a modem in the admin panel.

I don’t think the edit in /etc/usb-mode.json is correct.

Try this one:

usb-mode.zip (5.8 KB)

1 Like

Thank you.

That did the trick. Saved my old one to .bak, so will compare and see how/where I went wrong.

This is now solved as far getting the admin menu to detect it.

I’ll search elsewhere for how to manually set it up.

Cheers.