Unable to use 3G USB dongle on TL-MR3220 version 2

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
markLopez9
DD-WRT Novice


Joined: 30 Apr 2020
Posts: 15

PostPosted: Tue May 05, 2020 2:37    Post subject: Unable to use 3G USB dongle on TL-MR3220 version 2 Reply with quote
Hi everyone,

I'm new to using DD-WRT, so bear with me on my concern.

I'm trying to revive an old TP-Link MR3220 version 2 so I can put it to good use again. I decided to flash DD-WRT since this model is no longer supported by TP-Link. The flash was successful, but the problem is I couldn't use it as a 3G router since it is not detecting the USB dongle. The USB dongle I am using is a D-Link DWM-156.

I read through the documentation/wiki and found that the firmware for this model probably does not have the USB modules included by default due to the low flash. I enabled SSH so I can connect to it and run ipkg in an attempt to install the relevant packages to use USB dongles. The SSH connection was successful, but ipkg does not work. It appears that the command is not available for some reason.

Can someone help with this? The firmware version I have flashed is r42747.
Sponsor
hackler756
DD-WRT User


Joined: 17 Sep 2014
Posts: 68
Location: Austria

PostPosted: Sun Jun 07, 2020 7:19    Post subject: Reply with quote
hi,

v1 of the MR3220 has 3G USB Support:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=697236#697236

and v2 is supported and USB for 3G is mentioned here:
https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices#TP-Link
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=275660

I'm not familiar with the DWM-156 but your modem should be supported: https://wiki.dd-wrt.com/wiki/index.php/Mobile_Broadband#D-Link

did you enable "Core USB Support" in dd-wrt under [Services] / [USB] / [USB Support] and configure [Setup] / [Basic Setup] / [WAN Setup] / [Connection Type] to "Mobile Broadband" in the web ui?
Then reboot the router.

via ssh
Code:
lsusb
should give you the VID:PID for your usb modem hardware revision.

you should see the detection steps in the messages log file with
Code:
tail -f /var/log/messages
on the router.

hope this helps ...

_________________
ZTE MC801A - 5G bridge mode
R7000 - router, AP 2.4Ghz / 5Ghz
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sun Jun 07, 2020 10:19    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Mobile_Broadband

https://wiki.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
markLopez9
DD-WRT Novice


Joined: 30 Apr 2020
Posts: 15

PostPosted: Tue Jun 09, 2020 6:36    Post subject: Unable to use 3G USB dongle on TL-MR3220 version 2 Reply with quote
Hi hackler756 and kernel-panic69,

Thank you for replying to my post.

I'll recheck the settings in webUI. But if I recall it correctly, I don't remember seeing USB support under Services and Mobile Broadband under Connection Type when I was playing with the configuration. I'll check that again in a bit and revert back after.

I went to the Wiki on USB Modem as WAN connection and found a link to forum thread. When I read through it, there was a mention that Mobile Broadband is only available in mega builds. The build I was playing with at the time I posted here in here (r42747) came from this link:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/03-20-2020-r42747/tplink_tl-mr3220v2/factory-to-ddwrt.bin

So, is this a mega build or something else?

Going back to that link, I saw that there's a newer version available. I'll also try flashing r43334 released last June 4 (https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/06-04-2020-r43334/tplink_tl-mr3220v2/tl-mr3220v2-webflash.bin) then retry both the settings in webUI and lsusb/tail in SSH to see what happens.
arssant
DD-WRT User


Joined: 14 Aug 2013
Posts: 153

PostPosted: Tue Jun 09, 2020 16:08    Post subject: Re: Unable to use 3G USB dongle on TL-MR3220 version 2 Reply with quote
markLopez9 wrote:
.. there was a mention that Mobile Broadband is only available in mega builds. The build I was playing with at the time I posted here in here (r42747) came from this link:



Hi.

Not true ( at least for older builds ). I use a mr3220 v1 as backup for 3g connection, and it´s running:

Code:
Router Name
DD-WRT
Router Model
TP-Link TL-MR3220
Firmware Version
DD-WRT v24-sp2 (03/25/13) std - build 21061
Kernel Version
Linux 3.5.7 #6149 Mon Mar 25 09:36:32 CET 2013 mips


tl-mr3420-webflash.bin 25-Mar-2013 16:23 3932188

I know, old build, but for the needs as backup, still just fine.

And as you can see:
markLopez9
DD-WRT Novice


Joined: 30 Apr 2020
Posts: 15

PostPosted: Wed Jun 10, 2020 22:05    Post subject: Re: Unable to use 3G USB dongle on TL-MR3220 version 2 Reply with quote
arssant wrote:
markLopez9 wrote:
.. there was a mention that Mobile Broadband is only available in mega builds. The build I was playing with at the time I posted here in here (r42747) came from this link:



Hi.

Not true ( at least for older builds ). I use a mr3220 v1 as backup for 3g connection, and it´s running:

Code:
Router Name
DD-WRT
Router Model
TP-Link TL-MR3220
Firmware Version
DD-WRT v24-sp2 (03/25/13) std - build 21061
Kernel Version
Linux 3.5.7 #6149 Mon Mar 25 09:36:32 CET 2013 mips


tl-mr3420-webflash.bin 25-Mar-2013 16:23 3932188

I know, old build, but for the needs as backup, still just fine.

And as you can see:


hi arssant,

Thanks for the input.

I think this old build you are referring to is from the stable builds. I actually browsed through that when I was searching for builds as I prefer stable versions over betas, but I decided against it because I did notice that they are old as you mentioned (like more than 3 years old).

I'm concerned with the stable builds not receiving patches, so I went with the beta builds. I am looking for an actively maintained firmware in the first place since TP-Link no longer supports the model, so it kind of defeats the purpose to use DD-WRT if I use an old build which no longer receives patches.

Unless I am wrong with my assumption. Do the stable builds get patched?
markLopez9
DD-WRT Novice


Joined: 30 Apr 2020
Posts: 15

PostPosted: Wed Jun 10, 2020 22:14    Post subject: Reply with quote
hackler756 wrote:
hi,

v1 of the MR3220 has 3G USB Support:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=697236#697236

and v2 is supported and USB for 3G is mentioned here:
https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices#TP-Link
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=275660

I'm not familiar with the DWM-156 but your modem should be supported: https://wiki.dd-wrt.com/wiki/index.php/Mobile_Broadband#D-Link

did you enable "Core USB Support" in dd-wrt under [Services] / [USB] / [USB Support] and configure [Setup] / [Basic Setup] / [WAN Setup] / [Connection Type] to "Mobile Broadband" in the web ui?
Then reboot the router.

via ssh
Code:
lsusb
should give you the VID:PID for your usb modem hardware revision.

you should see the detection steps in the messages log file with
Code:
tail -f /var/log/messages
on the router.

hope this helps ...


hi hackler756,

I went back to the webUI settings you mentioned before and after I updated the firmware.
1. For Services > Services > USB > Core USB: that setting is not there for both r42747 and r43334.
2. For Setup > Basic > WAN > Connection Type: there is no Mobile Broadband option for both r42747 and r43334.

As for number 2, there was a mention in documentation that someone tried leaving it to Auto Config DHCP and the dongle worked, which I tried to set for both builds but neither worked.

I am able to connect to the router via SSH.
1. For lsusb: the router returns "not found" for both builds.
For tail -f /var/log/messages: the logs did not show any indication that the router detected the USB dongle (I am positive that the dongle works though as it was working with the outdated TP-Link firmware prior to flashing DD-WRT).

I also noticed that, for both builds, the router model displayed in Status is WR741ND v4, which is similar to MR3220 except for the USB (per zapple's post in https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=275660 ). I'm sure I downloaded the binary for MR3220 yet it keeps saying that. Is it possible that the DD-WRT build for both models is one and the same? Because if it is, that could explain why the USB part is missing.

I'm not sure if I am missing something. Any thoughts?


Last edited by markLopez9 on Wed Jun 10, 2020 22:34; edited 2 times in total
markLopez9
DD-WRT Novice


Joined: 30 Apr 2020
Posts: 15

PostPosted: Wed Jun 10, 2020 22:25    Post subject: Reply with quote
So far, here are the things that I have covered with r42747 and r43334:

1. Setup > Basic > WAN > Connection type: I set it to "Auto Config DHCP" since "Mobile broadband" is not available in the drop-down for both builds

2. I could not enable the following for both builds since these are not available:
Services > Services > USB > CoreUSB
Admin > Management > JFFS

3. I have enabled the following for SSH
Services > Services > SSHd
Services > Services > Password login
Services > Secure Shell > SSH TCP Port Forward
Admin > Management > Remote SSH

With those set in webUI, I open a terminal and execute the following:

ssh root@<router IP> -p 22 <-- I am able to login

lsusb <-- returns "not found" for both builds

tail -f /var/log/messages <-- no messages about detecting the USB dongle

mkdir -p /jffs/tmp/ipkg <-- directory gets created

cd /jffs

ipkg update <-- returns "not found" so I am unable to proceed with installing USB kernel modules to get the dongle to work

Anyone have any idea what else I could try to make it work?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum