ZTE MF821 4G USB modem won't connect in r18777

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Wed Mar 21, 2012 4:38    Post subject: ZTE MF821 4G USB modem won't connect in r18777 Reply with quote
The drivers do not seem to be loading. For logs refer last post in:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=152377
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Wed Mar 21, 2012 6:05    Post subject: Reply with quote
Sorry for a late reply, other things came in between.

Yes it is a driver loading problem and it is caused by the driver named option which doesn't support the modem yet, we will have to wait for linux general support of the stick.


You could however try to do the following after the stick has been switched into modem mode:

rmmod option
rmmod usb_wwan
rmmod usbserial
rmmod sierra

and lsmod to check that the modules did unload.
The modules are dependent on each other so they may have to be unloaded in the right order, if any is remaining then rmmod it again.

then

insmod usbserial vendor=0x19d2 product=0x0257
insmod usb_wwan
insmod option


Hopefully this will give you entries in the dmesg like your other modem:

<6>[ 3075.500000] option 1-1:1.0: GSM modem (1-port) converter detected
<6>[ 3075.510000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[ 3075.520000] option 1-1:1.1: GSM modem (1-port) converter detected
<6>[ 3075.520000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[ 3075.530000] option 1-1:1.3: GSM modem (1-port) converter detected
<6>[ 3075.540000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<6>[ 3075.540000] option 1-1:1.4: GSM modem (1-port) converter detected
<6>[ 3075.550000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3

_________________
I'm on a whiskey diet, lost 3 days already
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Wed Mar 21, 2012 7:00    Post subject: Connected !! Reply with quote
Thanks LOM,

Your suggestions worked when I ran them all together from the Admin commands (and I am posting this reply using the MF821 with DIR-825). If I ran them one at a time, they reconnected themselves.

rmmod option
rmmod usb_wwan
rmmod usbserial
rmmod sierra
insmod usbserial vendor=0x19d2 product=0x0257
insmod usb_wwan
insmod option
dmesg

produced:

<6>[ 24.390000] usb 1-1: new high-speed USB device number 3 using ar71xx-ehci
<6>[ 24.540000] usb 1-1: New USB device found, idVendor=19d2, idProduct=0257
<6>[ 24.550000] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
<6>[ 24.550000] usb 1-1: Product: ZTE LTE Technologies MSM
<6>[ 24.560000] usb 1-1: Manufacturer: ZTE,Incorporated
<6>[ 24.560000] usb 1-1: SerialNumber: MF821_TLSS000000
<6>[ 141.310000] usbcore: deregistering interface driver option
<6>[ 141.310000] USB Serial deregistering driver GSM modem (1-port)
<6>[ 142.100000] usbcore: deregistering interface driver usbserial_generic
<6>[ 142.110000] USB Serial deregistering driver generic
<6>[ 142.110000] usbcore: deregistering interface driver usbserial
<6>[ 142.130000] usbcore: registered new interface driver usbserial
<6>[ 142.140000] USB Serial support registered for generic
<6>[ 142.140000] usbserial_generic 1-1:1.0: generic converter detected
<6>[ 142.150000] usb 1-1: generic converter now attached to ttyUSB0
<6>[ 142.150000] usbserial_generic 1-1:1.1: generic converter detected
<6>[ 142.160000] usb 1-1: generic converter now attached to ttyUSB1
<6>[ 142.170000] usbserial_generic 1-1:1.2: generic converter detected
<6>[ 142.170000] usb 1-1: generic converter now attached to ttyUSB2
<6>[ 142.180000] usbserial_generic 1-1:1.3: generic converter detected
<6>[ 142.180000] usb 1-1: generic converter now attached to ttyUSB3
<6>[ 142.190000] usbserial_generic 1-1:1.4: generic converter detected
<6>[ 142.200000] usb 1-1: generic converter now attached to ttyUSB4
<6>[ 142.200000] usbcore: registered new interface driver usbserial_generic
<6>[ 142.210000] usbserial: USB Serial Driver core
<6>[ 142.230000] USB Serial support registered for GSM modem (1-port)
<6>[ 142.240000] usbcore: registered new interface driver option
<6>[ 142.250000] option: v0.7.2:USB Driver for GSM modems
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Wed Mar 21, 2012 8:20    Post subject: Reply with quote
Very good!
So what speeds do you get from the stick on an DIR-825?

_________________
I'm on a whiskey diet, lost 3 days already
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Wed Mar 21, 2012 12:30    Post subject: Reply with quote
I live in an outer suburb of Melbourne which does not yet have LTE, so can't test it right now. I will take the router to a friends place and test it so will be able to report back in the next week.

What I just got here is:

http://www.speedtest.net/result/1847230454.png

Cheerio from Australia and thanks for your time and help.
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Thu Mar 22, 2012 8:08    Post subject: Reply with quote
Tried the MF821 in a 4G area of Melbourne, but not with a closeby tower. There was no significant performance difference between the MF821 directly connected to notebook vs connected to the DIR-825 running DD-WRT. I did get download/upload speeds of 50/40 megabits in the car driving past the towers, but could not operate the DIR-825 in the car for comparison.

Speedtest while stick connected to USB port on notebook:

http://www.speedtest.net/result/1848551293.png

Speedtest with MF821 connected to USB port of DIR-825:

http://www.speedtest.net/result/1848579417.png

I will try to get a comparison closer to a 4G tower.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Thu Mar 22, 2012 11:24    Post subject: Reply with quote
old-guy wrote:
Tried the MF821 in a 4G area of Melbourne, but not with a closeby tower. There was no significant performance difference between the MF821 directly connected to notebook vs connected to the DIR-825 running DD-WRT. I did get download/upload speeds of 50/40 megabits in the car driving past the towers, but could not operate the DIR-825 in the car for comparison.

Speedtest while stick connected to USB port on notebook:

http://www.speedtest.net/result/1848551293.png

Speedtest with MF821 connected to USB port of DIR-825:

http://www.speedtest.net/result/1848579417.png


Still quite impressive!

old-guy wrote:

I will try to get a comparison closer to a 4G tower.


Yes please. I am very curious to know where the limit is for a 680MHz cpu as in your DIR-825.
I have no idea, I would consider 30Mbit as a good result but it may be even higher.

_________________
I'm on a whiskey diet, lost 3 days already
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Fri Mar 23, 2012 11:24    Post subject: Reply with quote
Got closer to a tower and got no increase in speed with stick attached to DIR-825.

http://speedtest.ookla.com/result/1594821654.png

At same location connected to notebook:

http://speedtest.ookla.com/result/1594804538.png

Thanks LOM for your help. Any idea when linux are likely to fix the problem with the option driver?

Best wishes from Melbourne.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Mon Mar 26, 2012 3:44    Post subject: Reply with quote
old-guy wrote:
Any idea when linux are likely to fix the problem with the option driver?



I don't know when the option driver will be updated, the more popular a certain stick is the more quicker it becomes supported.
It is a new product so it may take a couple of month.

_________________
I'm on a whiskey diet, lost 3 days already
sick
DD-WRT Novice


Joined: 24 May 2012
Posts: 9

PostPosted: Thu May 24, 2012 10:47    Post subject: Reply with quote
I have a MF821D and cannot get it to connect on a Linksys e4200 on 18777.
Any assistance would be greatly appreciated.
mhyne
DD-WRT Novice


Joined: 16 Jul 2012
Posts: 2

PostPosted: Mon Jul 16, 2012 9:34    Post subject: Cannot get ZTE MF821 to work on RT-N16 Reply with quote
I have been trying to get my ZTE MF821 4G dongle to work on my RT-N16 with FW 18774 and 19342 but it wont connect.

I believe both these versions should support this.
I have tried many of tricks above with no luck.

(Carrier - Telstra)
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Mon Jul 16, 2012 12:17    Post subject: Reply with quote
There are many versions of MF821, if yours doesn't work then:

http://www.dd-wrt.com/wiki/index.php/Mobile_Broadband#Not_Supported_Modems_or_Not_Working_Modems

_________________
I'm on a whiskey diet, lost 3 days already
mhyne
DD-WRT Novice


Joined: 16 Jul 2012
Posts: 2

PostPosted: Tue Jul 17, 2012 4:50    Post subject: Reply with quote
It's this one:

MF821 Telstra 4G/LTE 19d2:0166 19d2:0257 1 2 4

Which appears to have been added here from what I can see:

http://svn.dd-wrt.com/changeset/18754/
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7061

PostPosted: Tue Jul 17, 2012 5:26    Post subject: Reply with quote
mhyne wrote:
It's this one:

MF821 Telstra 4G/LTE 19d2:0166 19d2:0257 1 2 4

Which appears to have been added here from what I can see:

http://svn.dd-wrt.com/changeset/18754/


That is not what I asked for..
I can not see which mode your stick is in, I can't see the interface list and which drivers has been assigned to the interfaces.
Post the contents of the devices file.

_________________
I'm on a whiskey diet, lost 3 days already
old-guy
DD-WRT User


Joined: 21 Jul 2011
Posts: 50

PostPosted: Wed Jul 18, 2012 7:10    Post subject: MF821 connection problem Reply with quote
My MF821 also does not connect on R19342.

lsmod gives:

Module Size Used by
option 15056 0
usb_wwan 6528 1 option
usbserial 22976 2 option,usb_wwan
ohci_hcd 15872 0
ehci_hcd 32752 0
ath9k 90816 0
ath9k_common 1168 1 ath9k
ath9k_hw 323808 2 ath9k,ath9k_common
ath 12160 3 ath9k,ath9k_common,ath9k_hw
mac80211 190768 1 ath9k
cfg80211 132608 2 ath9k,mac80211
compat 784 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
ag71xx 17424 0

and dmesg ends with

<6>[ 27.280000] usbcore: registered new interface driver usbserial
<6>[ 27.280000] USB Serial support registered for generic
<6>[ 27.290000] usbcore: registered new interface driver usbserial_generic
<6>[ 27.290000] usbserial: USB Serial Driver core
<6>[ 27.380000] USB Serial support registered for GSM modem (1-port)
<6>[ 27.380000] usbcore: registered new interface driver option
<6>[ 27.390000] option: v0.7.2:USB Driver for GSM modems
<6>[ 27.860000] br0: port 4(ath1) entered forwarding state

I can make it connect manually by running the following commands (from LOM) after the connection has failed

rmmod option
rmmod usb_wwan
rmmod usbserial
insmod usbserial vendor=0x19d2 product=0x0257
insmod usb_wwan
insmod option

If I save these commands as a startup script, the MF821 connects OK without needing any intervention after restarting or cold booting.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum 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