ZTE MF60 USB Internet connection

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


Joined: 25 Jun 2011
Posts: 12
Location: Australia

PostPosted: Fri Oct 25, 2013 3:44    Post subject: ZTE MF60 USB Internet connection Reply with quote
I seem to bee not too far off getting it to work, hopefully just missing the last little piece of info I need...

MF60(Telstra Elite 3G) with unbranded ZTE Firmware/TP-Link 1043ND (build 22118). MF60 Works as a USB modem plugged into a PC, it's listed in the WIKI as working with DD-WRT, the router seems to see it as a device, but I'm not having any success with the "Mobile Broadband" setup. I have a feeling I need to get a USB0 adapter appearing somewhere/somehow instead of using the old ppp style stuff??

ZTE MF60 Default Id: 19d2:2000 Modem Id: 19d2:1402 Protocol: qmi

cat /proc/bus/usb/devices
-------------------------
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1402 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=P680A1ZTED010000
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

dmesg
------------
<6>[ 13.090000] usbcore: registered new interface driver cdc_acm
<6>[ 13.100000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[ 14.340000] usbcore: registered new interface driver usbserial
<6>[ 14.350000] usbcore: registered new interface driver usbserial_generic
<6>[ 14.350000] USB Serial support registered for generic
<6>[ 14.360000] usbserial: USB Serial Driver core
<6>[ 14.460000] usbcore: registered new interface driver sierra
<6>[ 14.470000] USB Serial support registered for Sierra USB modem
<6>[ 14.500000] usbcore: registered new interface driver option
<6>[ 14.500000] USB Serial support registered for GSM modem (1-port)
<6>[ 14.510000] option 1-1:1.0: GSM modem (1-port) converter detected
<6>[ 14.520000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[ 14.520000] option 1-1:1.1: GSM modem (1-port) converter detected
<6>[ 14.530000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Oct 25, 2013 7:30    Post subject: Reply with quote
Yes, interface #2 is a QMI interface which will give you a wwan0/wdm0 device, only problem is that the MF60 and its usb id was added in changeset r22271 so you will have to wait for next public build before it works for you.
_________________
Kernel panic: Aiee, killing interrupt handler!
harveythedog
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 12
Location: Australia

PostPosted: Fri Oct 25, 2013 8:26    Post subject: Reply with quote
Thanks for the information LOM, doesn't sound too far away from working then.

I saw some wwan related talk regarding 4G devices I think...
harveythedog
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 12
Location: Australia

PostPosted: Sun Dec 15, 2013 4:55    Post subject: Reply with quote
Had another go with the ZTE MF60 after updating my router to DD-WRT 23082, but alas I don't seem to be developing a wwan0 interface anywhere?

I can see a usb_wwan module, should I be seeing a qmi_ one too or is that taken care of by "option"?

dmesg

<6>[ 14.010000] br0: port 2(ath0) entered forwarding state
<6>[ 15.080000] usbcore: registered new interface driver usbserial
<6>[ 15.080000] usbcore: registered new interface driver usbserial_generic
<6>[ 15.090000] USB Serial support registered for generic
<6>[ 15.100000] usbserial: USB Serial Driver core
<6>[ 15.480000] usbcore: registered new interface driver option
<6>[ 15.490000] USB Serial support registered for GSM modem (1-port)
<6>[ 15.500000] option 1-1:1.0: GSM modem (1-port) converter detected
<6>[ 15.500000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[ 15.510000] option 1-1:1.1: GSM modem (1-port) converter detected
<6>[ 15.520000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1


cat /proc/bus/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=19d2 ProdID=1402 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=P680A1ZTED010000
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


lsmod

Module Size Used by
option 21424 1
usb_wwan 5872 1 option
usbserial 20672 4 option,usb_wwan
ehci_hcd 29728 0
usbcore 100432 5 option,usb_wwan,usbserial,ehci_hcd
usb_common 480 1 usbcore
ath9k 102352 0
ath9k_common 992 1 ath9k
ath9k_hw 375152 2 ath9k,ath9k_common
ath 15088 3 ath9k,ath9k_common,ath9k_hw
mac80211 236656 1 ath9k
cfg80211 165776 3 ath9k,ath,mac80211
compat 6816 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
ag71xx 17840 0
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Dec 16, 2013 14:09    Post subject: Reply with quote
Sorry but the qmi_wwan driver was for some reason (not enough flash space ?) not included in build r23082 for WR-1043ND. Sad
_________________
Kernel panic: Aiee, killing interrupt handler!
harveythedog
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 12
Location: Australia

PostPosted: Mon Dec 16, 2013 22:48    Post subject: Reply with quote
Thanks for the reply LOM, that would certainly explain the not seeing qmi_anything...

+1 vote for squeezing qmi_wwan into WR1043ND somehow then I guess?!

EDIT: Looks promising! http://svn.dd-wrt.com/changeset/23232
harveythedog
DD-WRT Novice


Joined: 25 Jun 2011
Posts: 12
Location: Australia

PostPosted: Sun Jan 12, 2014 4:04    Post subject: Reply with quote
Another go with the MF60 vs. r23320

Was hoping from the ticket linked in the previous post I'd see some action with a new build, qmi_wwan driver included, but the results seem the same as previous attempts...

root@TP-LINK WR1043ND:~# dmesg
<6>[ 483.400000] usbcore: registered new interface driver cdc_acm
<6>[ 483.410000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[ 483.560000] usbcore: registered new interface driver usbserial
<6>[ 483.570000] usbcore: registered new interface driver usbserial_generic
<6>[ 483.570000] USB Serial support registered for generic
<6>[ 483.580000] usbserial: USB Serial Driver core
<6>[ 483.670000] usbcore: registered new interface driver sierra
<6>[ 483.680000] USB Serial support registered for Sierra USB modem
<6>[ 483.700000] usbcore: registered new interface driver option
<6>[ 483.710000] USB Serial support registered for GSM modem (1-port)
<6>[ 488.870000] usb 1-1: new high-speed USB device number 3 using ar71xx-ehci
<6>[ 517.680000] usb 1-1: USB disconnect, device number 3
<6>[ 518.080000] usb 1-1: new high-speed USB device number 4 using ar71xx-ehci
<6>[ 518.230000] option 1-1:1.0: GSM modem (1-port) converter detected
<6>[ 518.240000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[ 518.250000] option 1-1:1.1: GSM modem (1-port) converter detected
<6>[ 518.250000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1


root@TP-LINK WR1043ND:~# lsmod
Module Size Used by
option 22272 0
sierra 6512 0
usb_wwan 5872 1 option
usbserial 20624 3 option,sierra,usb_wwan
cdc_acm 11856 0
nf_nat_pptp 1344 0
nf_conntrack_pptp 3088 1 nf_nat_pptp
nf_nat_proto_gre 784 1 nf_nat_pptp
nf_conntrack_proto_gre 2320 1 nf_conntrack_pptp
ehci_hcd 29728 0
usbcore 100496 7 option,sierra,usb_wwan,usbserial,cdc_acm,ehci_hcd
usb_common 480 1 usbcore
ath9k 101360 0
ath9k_common 992 1 ath9k
ath9k_hw 353344 2 ath9k,ath9k_common
ath 15088 3 ath9k,ath9k_common,ath9k_hw
mac80211 237712 1 ath9k
cfg80211 168080 3 ath9k,ath,mac80211
compat 6880 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
ag71xx 17840 0

root@TP-LINK WR1043ND:~# cat /proc/bus/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=19d2 ProdID=1402 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=P680A1ZTED010000
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
bambam1980
DD-WRT Novice


Joined: 16 Jun 2013
Posts: 13

PostPosted: Sat Oct 18, 2014 9:01    Post subject: a solution but maybe not the perfect one Reply with quote
Got my 703n runing with the MF60.
I don't know if there is a better possibility.
I would be happy if somebody could improve my solution.
Seems something goes wrong with the nvram 3gdata settings.
I need to switch it to tts1 than it works.


cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.10
S: Manufacturer=Linux 3.10.37 ehci_hcd
S: Product=Atheros AR91xx built-in EHCI controller
S: SerialNumber=platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1402 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=P680A1ZTED010000
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

comgt -d /dev/usb/tts/1
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: China Unicom
Signal Quality:14,99



Because it is not permanet i added this to the bootstring

sleep 45
nvram set 3gdata="/dev/usb/tts/1"
sleep 20
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Oct 18, 2014 15:11    Post subject: Re: a solution but maybe not the perfect one Reply with quote
bambam1980 wrote:
Got my 703n runing with the MF60.
I don't know if there is a better possibility.
I would be happy if somebody could improve my solution.
Seems something goes wrong with the nvram 3gdata settings.
I need to switch it to tts1 than it works.



MF60 does not have a dedicated interface for ppp data, it is a device which should be handled as direct ethernet with qmi_wwan as driver, a driver which there is not enough flash space for in routers with 4MB flash.

tts/1 is an AT cmd interface and they can normally not be used for ppp data. I will change the interface from tts/0 to tts/1 in the future but there is no guarantee that this will work with another MF60 or with another MF60 firmware revision.

_________________
Kernel panic: Aiee, killing interrupt handler!
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