Mobile Broadband - Novatel Mifi2372 on TP-Link MR3420

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


Joined: 21 May 2013
Posts: 3

PostPosted: Wed May 22, 2013 0:02    Post subject: Mobile Broadband - Novatel Mifi2372 on TP-Link MR3420 Reply with quote
Hello,

I am new to this forum so please go easy on me. I have recently installed v24 PreSP2 [Beta] build 21061 on my MR3420 without any issues. My problems began when I tried connecting my Mifi2372. It is not in the supported list, but has the same Modem ID as the 2352 (which IS on the supported list) - 1410:7001. My understanding is that the modems are identical except the 2352 covers the European freqs while the 2372 covers those in NA.

The majority of the time I cannot get my 2372 to connect but on the odd occasion (usually after unplugging the modem and reconnecting), it somehow manages to connect. After pouring through similar forum posts, I believe it may be related to usb_modeswitch and the fact that it comes up in CDROM mode upon first connection? I have contacted Novatel to ask for an AT command that disables the CDROM mode, but I'm not going to hold my breath on that one. If they do respond, I'll be sure to post it in here.

Here is some output that I managed to grab on one of the rare occasions where the modem successfully connected to the 3G network. The odd thing is that it connected on /dev/usb/tts/0 however, as you'll see at the bottom of the output, comgt info -d /dev/usb/tts/0 came up empty but it found something at /dev/usb/tts/3. Does that make sense to anyone?

Thanks in advance for all your help,

Dan

Code:

root@DD-WRT:/tmp# root@DD-WRT:/tmp# cat comgt.out
Dialling with custom string:ATD*99#

FINITO


root@DD-WRT:/tmp# cat comgt-netmode.out
Setting Connection mode '0'
Variant #2 Huawei
Error sending 'ATYSCFG=2,0,3FFFFFFF,2,4'


root@DD-WRT:/tmp# cat comgt-cgatt.out
comgt 02:02:09 -> -- Error Report --
comgt 02:02:09 -> ----> ^
comgt 02:02:09 -> Error @0, line 1, Could not open scriptfile "CGATT".
. (1)


root@DD-WRT:/tmp/ppp# cat options.pppoe
chap-secrets /tmp/ppp/chap-secrets
pap-secrets /tmp/ppp/pap-secrets
defaultroute
usepeerdns
noipdefault
noauth
ipcp-max-failure 30
crtscts
460800
connect "COMGTDIAL='ATD*99#' /usr/sbin/comgt DIAL -d /dev/usb/tts/0 >/tmp/comgt.out 2>&1"
user 'fido'
password 'fido'
/dev/usb/tts/0



root@DD-WRT:/tmp/ppp# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.05
S:  Manufacturer=Linux 3.5.7 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#=  5 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1410 ProdID=7001 Rev= 0.00
S:  Manufacturer=Novatel Wireless, Inc.
S:  Product=Novatel Wireless HSPA
S:  SerialNumber=011861008331951
C:* #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(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=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= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
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=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=option
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


root@DD-WRT:/tmp/ppp# dmesg | grep usb
<6>[   10.130000] usbcore: registered new interface driver usbfs
<6>[   10.130000] usbcore: registered new interface driver hub
<6>[   10.140000] usbcore: registered new device driver usb
<6>[   14.950000] usb 1-1: new high-speed USB device number 2 using ar71xx-ehci
<6>[   20.210000] usbcore: registered new interface driver usbserial
<6>[   20.210000] usbcore: registered new interface driver usbserial_generic
<6>[   20.230000] usbserial: USB Serial Driver core
<6>[   20.450000] usbcore: registered new interface driver option
<4>[   20.700000] usb 1-1: usbfs: process 1009 (usb_modeswitch) did not claim in            terface 0 before use
<6>[   20.970000] usb 1-1: USB disconnect, device number 2
<6>[   21.370000] usb 1-1: new high-speed USB device number 3 using ar71xx-ehci
<6>[   21.540000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[   21.560000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[   21.570000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<6>[   21.590000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
<6>[   21.600000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
<6>[   21.610000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5
<6>[  543.070000] usb 1-1: USB disconnect, device number 3
<6>[  573.390000] usbcore: registered new interface driver cdc_acm
<6>[  573.550000] usbcore: registered new interface driver sierra
<6>[ 7328.670000] usb 1-1: new high-speed USB device number 4 using ar71xx-ehci
<4>[ 7336.230000] usb 1-1: usbfs: process 14098 (usb_modeswitch) did not claim i            nterface 0 before use
<6>[ 7336.490000] usb 1-1: USB disconnect, device number 4
<6>[ 7336.900000] usb 1-1: new high-speed USB device number 5 using ar71xx-ehci
<6>[ 7337.080000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[ 7337.090000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[ 7337.100000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<6>[ 7337.120000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
<6>[ 7337.130000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
<6>[ 7337.140000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5



root@DD-WRT:/tmp# nvram show | grep usb
size: 18219 bytes (47317 left)
usb_automnt=1
usb_ohci=0
usb_storage=0
3gdata=/dev/usb/tts/0
usb_mntpoint=mnt
usb_runonmount=
usb_printer=0
usb_usb2=0
usb_uhci=0
usb_enable=1



root@DD-WRT:/tmp# comgt info -d /dev/usb/tts/0
##### Wireless WAN Modem Configuration #####
Product text:
====

====
Manufacturer:           IMEI and Serial Number: comgt 01:28:29 -> -- Error Report --
comgt 01:28:29 -> ---->                       ^
comgt 01:28:29 -> Error @776, line 45, String is shorter than second argument. (7)



root@DD-WRT:/tmp# comgt info -d /dev/usb/tts/3
##### Wireless WAN Modem Configuration #####
Product text:
====
Manufacturer: Novatel Wireless IncorporatedModel: MiFi2372 Revision: 5.26.2.01-08  [2010-06-02 21:30:57] 015IMEI: 011861008331953+GCAP: +CGSM,+DS,+ESOK
====
Manufacturer:           ovatel Wireless Incorporated
IMEI and Serial Number: 11861008331953
Manufacturer's Revision: 5.26.2.01-08  [2010-06-02 21:30:57] 0
Hardware Revision:
Network Locked:         1
Customisation:
Band settings:          ()
APN:                    1,"IP","internet.fido.ca","0.0.0.0",0,0
##### END #####
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed May 22, 2013 10:30    Post subject: Reply with quote
upgrade 1st
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
djrobic
DD-WRT Novice


Joined: 21 May 2013
Posts: 3

PostPosted: Wed May 22, 2013 11:00    Post subject: Reply with quote
Sash wrote:
upgrade 1st


Since I have already installed the latest code according to the dd-wrt homepage, I'm assuming you mean my router hardware? Does that mean I am completely out of luck with my current configuration? Any suggestions for a replacement that can take a USB modem (with a "CDROM"-like autorun feature) as a WAN gateway?

Dan
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed May 22, 2013 11:48    Post subject: Reply with quote
MR3420 has a very weak power supply to the USB port and here is a prime example of what happens when the 3G dongle draws more power than the USB port can deliver.

The voltage on the port will drop down to such a low level that the 3G dongle resets, therefore disappear from the bus then reappears again in initial (cd-rom) mode, gets switched again by usbmodeswitch where-after driver attaches and creates the ttyUSB devices.

You have to use a separately powered USB hub with this dongle.
djrobic
DD-WRT Novice


Joined: 21 May 2013
Posts: 3

PostPosted: Wed May 22, 2013 13:59    Post subject: Reply with quote
Thank you LOM! That was exactly the insight and advice I was hoping to get. It makes a lot of sense since I'd noticed the modem inexplicably dropping even after it managed to connect successfully.

I will give that a shot when I get home from work this afternoon.

Dan
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