Modem unpluged during upload
Hi,
I have a problem during the upload. I have modem MF680 and router MR3420. Modem is detected and they works together, but if I try to upload bigger amount 40MB+ of data then the modem gets unplugged and only restart the router or re-plugged the modem helps. Does anyone have an idea how to fix this issue?
Log below:
2020-06-24 07:00:10 [5] Httpd: Clear log.
2020-06-24 07:00:23 [3] PPP: ppp0 LCP down
2020-06-24 07:00:23 [4] PPP: ppp0 LCP down
2020-06-24 07:00:23 [3] PPP: ppp0
2020-06-24 07:00:24 [6] 3G: formatPpp3gCmd 778: pppd unit 0 /dev/ttyUSB2 115200 connect "chat -s -v -f /var/3G/dial_script" disconnect "chat -s -v -f /etc/ppp/disconn-script" pppoe /dev/ttyUSB2 noipdefault defaultroute nodetach user "" password
2020-06-24 07:00:24 [3] PPP: ppp0
2020-06-24 07:00:24 [6] 3G: Hotplug: id[0]=19d2_0016, class[0]=switched_3g, action[0]=remove
2020-06-24 07:00:26 [6] 3G: 3G/4G modem is plugged out.
2020-06-24 07:00:33 [6] 3G: Hotplug: id[0]=19d2_0016, class[0]=switched_3g, action[0]=add
2020-06-24 07:00:35 [6] 3G: 129: handle_card add card.
2020-06-24 07:00:36 [6] 3G: 3G/4G Modem vendorID: 0x19d2; productID: 0x0016
2020-06-24 07:00:37 [7] 3G: 298: the last card id is empty: vendor(19d2), prodId(0016).
2020-06-24 07:00:37 [6] 3G: 314: go to already_switched.
2020-06-24 07:00:37 [6] 3G: 554: already_switched.
2020-06-24 07:00:38 [6] 3G: 572: After switch:cinfo.idVendor(19d2), cinfo.idProduct(0016).
2020-06-24 07:00:38 [6] 3G: 581 File:
2020-06-24 07:00:38 [6] 3G: 585 Before judgeModemTypeByAfterSwitchID, isNeedSwitch = 1, targetPid = 0x0016
2020-06-24 07:00:38 [6] 3G: 614 After judgeModemTypeByAfterSwitchID, modemType = 0
2020-06-24 07:00:38 [7] 3G: 641: This is one 3G modem.
2020-06-24 07:00:43 [6] 3G: =>
2020-06-24 07:00:43 [6] 3G: =>T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
2020-06-24 07:00:43 [6] 3G: =>B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
2020-06-24 07:00:43 [6] 3G: =>D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
2020-06-24 07:00:43 [6] 3G: =>P: Vendor=1d6b ProdID=0001 Rev= 2.06
2020-06-24 07:00:43 [6] 3G: =>S: Manufacturer=Linux 2.6.36 ohci_hcd
2020-06-24 07:00:43 [6] 3G: =>S: Product=RT3xxx OHCI Controller
2020-06-24 07:00:43 [6] 3G: =>S: SerialNumber=rt3xxx-ohci
2020-06-24 07:00:43 [6] 3G: =>C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
2020-06-24 07:00:43 [6] 3G: =>I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
2020-06-24 07:00:43 [6] 3G: =>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
2020-06-24 07:00:43 [6] 3G: =>
2020-06-24 07:00:43 [6] 3G: =>T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
2020-06-24 07:00:43 [6] 3G: =>B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
2020-06-24 07:00:43 [6] 3G: =>D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
2020-06-24 07:00:43 [6] 3G: =>P: Vendor=1d6b ProdID=0002 Rev= 2.06
2020-06-24 07:00:43 [6] 3G: =>S: Manufacturer=Linux 2.6.36 ehci_hcd
2020-06-24 07:00:43 [6] 3G: =>S: Product=Ralink EHCI Host Controller
2020-06-24 07:00:43 [6] 3G: =>S: SerialNumber=rt3xxx
2020-06-24 07:00:43 [6] 3G: =>C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
2020-06-24 07:00:43 [6] 3G: =>I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
2020-06-24 07:00:43 [6] 3G: =>E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
2020-06-24 07:00:43 [6] 3G: =>
2020-06-24 07:00:43 [6] 3G: =>T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 15 Spd=480 MxCh= 0
2020-06-24 07:00:43 [6] 3G: =>D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
2020-06-24 07:00:43 [6] 3G: =>P: Vendor=19d2 ProdID=0016 Rev= 0.00
2020-06-24 07:00:43 [6] 3G: =>S: Manufacturer=ZTE,Incorporated
2020-06-24 07:00:43 [6] 3G: =>S: Product=ZTE HSPA Technologies MSM
2020-06-24 07:00:43 [6] 3G: =>C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=500mA
2020-06-24 07:00:43 [6] 3G: =>I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
2020-06-24 07:00:43 [6] 3G: =>E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
2020-06-24 07:00:43 [6] 3G: =>E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
2020-06-24 07:00:43 [6] 3G: =>I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
2020-06-24 07:00:43 [6] 3G: =>E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
2020-06-24 07:00:43 [6] 3G: =>E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
2020-06-24 07:00:43 [6] 3G: =>I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
2020-06-24 07:00:43 [6] 3G: =>E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
2020-06-24 07:00:43 [6] 3G: =>E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
2020-06-24 07:00:43 [6] 3G: =>E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
2020-06-24 07:00:49 [6] PPP: CHAT MSG: Failed
2020-06-24 07:00:49 [6] 3G: Main interface_index[0] = 2
2020-06-24 07:00:49 [6] 3G: Vice interface_index[1] = 1
2020-06-24 07:00:50 [6] 3G: Switched 3G modem vendorId:0x19d2; productId:0x16
2020-06-24 07:00:50 [6] 3G: Line:1149 cmd: modem_scan -d /dev/ttyUSB2 -f "/usr/bin/chat -S -V -f /var/3G/script" > /var/3G/modem_info 2>&1 &
2020-06-24 07:00:51 [6] 3G: Line 1187: ATZ
2020-06-24 07:00:51 [6] 3G: Line 1187: OK
2020-06-24 07:00:51 [6] 3G: Line 1187: AT+CGMM
2020-06-24 07:00:51 [6] 3G: get_modem_info_file 81 getModemParamByScript return valid type = 1
2020-06-24 07:00:51 [6] 3G: Line:1149 cmd: modem_scan -d /dev/ttyUSB2 -f "/usr/bin/chat -S -V -f /var/3G/script" > /var/3G/modem_info 2>&1 &
2020-06-24 07:00:53 [6] 3G: Line 1187:
2020-06-24 07:00:53 [6] 3G: Line 1187: MF680
2020-06-24 07:00:53 [6] 3G: Line 1187:
2020-06-24 07:00:53 [6] 3G: Line 1187: OK
2020-06-24 07:00:53 [6] 3G: Line 1187: ATZ
2020-06-24 07:00:53 [6] 3G: Line 1187: OK
2020-06-24 07:00:53 [6] 3G: Line 1187: AT+CSQ
2020-06-24 07:00:53 [6] 3G: Line 1187:
2020-06-24 07:00:53 [6] 3G: Line 1187: OK
2020-06-24 07:00:53 [6] 3G: Line 1187: Serial connection established.
2020-06-24 07:00:53 [6] 3G: Line 1187: Serial link disconnected.
2020-06-24 07:00:53 [6] 3G: get_modem_info_file 98 getModemParamByScript return valid type = 1
2020-06-24 07:00:53 [6] 3G: Line:1149 cmd: modem_scan -d /dev/ttyUSB2 -f "/usr/bin/chat -S -V -f /var/3G/script" > /var/3G/modem_info 2>&1 &
2020-06-24 07:00:55 [6] 3G: Line 1187: ATZ
2020-06-24 07:00:55 [6] 3G: Line 1187: OK
2020-06-24 07:00:55 [6] 3G: Line 1187: AT+CPIN?
2020-06-24 07:00:55 [6] 3G: Line 1187:
2020-06-24 07:00:55 [6] 3G: Line 1187: OK
2020-06-24 07:00:55 [6] 3G: Line 1187: AT+CPIN?
2020-06-24 07:00:55 [6] 3G: Line 1187:
2020-06-24 07:00:55 [6] 3G: Line 1187: OK
2020-06-24 07:00:55 [6] 3G: Line 1187: Serial connection established.
2020-06-24 07:00:55 [6] 3G: Line 1187: Serial link disconnected.
2020-06-24 07:00:55 [6] 3G: get_modem_info_file 114 getModemParamByScript return valid type = 1
2020-06-24 07:00:55 [6] 3G: get_modem_info_file 130 Return chip type = 1
2020-06-24 07:00:55 [6] 3G: 1292 modemName = MF680, deviceName = ttyUSB2, simLock = 16, modemChipType = 1
2020-06-24 07:00:56 [6] 3G: formatPpp3gCmd 778: pppd unit 1 /dev/ttyUSB2 115200 connect "chat -s -v -f /var/3G/dial_script" disconnect "chat -s -v -f /etc/ppp/disconn-script" pppoe /dev/ttyUSB2 noipdefault defaultroute nodetach user "" password
2020-06-24 07:00:57 [6] PPP: CHAT MSG: timeout set to 16 seconds
2020-06-24 07:00:57 [6] PPP: CHAT MSG: abort on (BUSY)
2020-06-24 07:00:57 [6] PPP: CHAT MSG: abort on (NO ANSWER)
2020-06-24 07:00:57 [6] PPP: CHAT MSG: abort on (ERROR)
2020-06-24 07:00:57 [6] PPP: CHAT MSG: send (ATZ^M)
2020-06-24 07:00:57 [6] PPP: CHAT MSG: expect (OK)
2020-06-24 07:00:57 [6] PPP: CHAT MSG: ATZ^M^M
2020-06-24 07:00:57 [6] PPP: CHAT MSG: OK
2020-06-24 07:00:57 [6] PPP: CHAT MSG: -- got it
2020-06-24 07:00:57 [6] PPP: CHAT MSG: send (AT+CFUN=1^M)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: expect (OK)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: ^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: AT+CFUN=1^M^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: OK
2020-06-24 07:00:58 [6] PPP: CHAT MSG: -- got it
2020-06-24 07:00:58 [6] PPP: CHAT MSG: send (AT+CGDCONT=1,"IP","mass.at"^M)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: expect (OK)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: ^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: AT+CGDCONT=1,"IP","mass.at"^M^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: OK
2020-06-24 07:00:58 [6] PPP: CHAT MSG: -- got it
2020-06-24 07:00:58 [6] PPP: CHAT MSG: send (ATDT*99#^M)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: expect (CONNECT)
2020-06-24 07:00:58 [6] PPP: CHAT MSG: ^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: ATDT*99#^M^M
2020-06-24 07:00:58 [6] PPP: CHAT MSG: CONNECT
2020-06-24 07:00:58 [6] PPP: CHAT MSG: -- got it
2020-06-24 07:00:58 [6] PPP: CHAT MSG: send ( ^M)
2020-06-24 07:00:59 [6] PPP: ppp1 sent [LCP ConfReq id=0x1 <mru 1480> <asyncmap 0x0> <magic 0xbcade64b> <pcomp> <accomp>]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x851677c2> <pcomp> <accomp>]
2020-06-24 07:00:59 [6] PPP: ppp1 sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x851677c2> <pcomp> <accomp>]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [LCP ConfAck id=0x1 <mru 1480> <asyncmap 0x0> <magic 0xbcade64b> <pcomp> <accomp>]
2020-06-24 07:00:59 [6] PPP: ppp1 sent [LCP EchoReq id=0x0 magic=0xbcade64b]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [LCP DiscReq id=0x1 magic=0x851677c2]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [CHAP Challenge id=0x1 <4e56ce49bc4084892c3db64982396a5b>, name = "UMTS_CHAP_SRVR"]
2020-06-24 07:00:59 [6] PPP: ppp1 sent [CHAP Response id=0x1 <5e38ed2aebaf779eaa4b45c73e958ccc>, name = ""]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [LCP EchoRep id=0x0 magic=0x851677c2 bc ad e6 4b]
2020-06-24 07:00:59 [6] PPP: ppp1 rcvd [CHAP Success id=0x1 ""]
2020-06-24 07:00:59 [6] PPP: ppp1 sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
2020-06-24 07:01:00 [6] PPP: ppp1 rcvd [IPCP ConfNak id=0x1]
2020-06-24 07:01:00 [6] PPP: ppp1 sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
2020-06-24 07:01:01 [6] PPP: ppp1 rcvd [IPCP ConfReq id=0x0]
2020-06-24 07:01:01 [6] PPP: ppp1 sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
2020-06-24 07:01:01 [6] PPP: ppp1 rcvd [IPCP ConfRej id=0x2 <compress VJ 0f 01>]
2020-06-24 07:01:01 [6] PPP: ppp1 sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
2020-06-24 07:01:01 [6] PPP: ppp1 rcvd [IPCP ConfReq id=0x1]
2020-06-24 07:01:01 [6] PPP: ppp1 sent [IPCP ConfAck id=0x1]
2020-06-24 07:01:01 [6] PPP: ppp1 rcvd [IPCP ConfNak id=0x3 <addr 10.183.17.186> <ms-dns1 193.9.252.211> <ms-dns2 193.9.253.211>]
2020-06-24 07:01:01 [6] PPP: ppp1 sent [IPCP ConfReq id=0x4 <addr 10.183.17.186> <ms-dns1 193.9.252.211> <ms-dns2 193.9.253.211>]
2020-06-24 07:01:01 [6] PPP: ppp1 rcvd [IPCP ConfAck id=0x4 <addr 10.183.17.186> <ms-dns1 193.9.252.211> <ms-dns2 193.9.253.211>]
2020-06-24 07:01:29 [3] PPP: ppp1 LCP down
2020-06-24 07:01:29 [4] PPP: ppp1 LCP down
2020-06-24 07:01:29 [3] PPP: ppp1
2020-06-24 07:01:32 [6] 3G: formatPpp3gCmd 778: pppd unit 1 /dev/ttyUSB2 115200 connect "chat -s -v -f /var/3G/dial_script" disconnect "chat -s -v -f /etc/ppp/disconn-script" pppoe /dev/ttyUSB2 noipdefault defaultroute nodetach user "" password
2020-06-24 07:01:32 [3] PPP: ppp1
2020-06-24 07:01:50 [6] 3G: formatPpp3gCmd 778: pppd unit 1 /dev/ttyUSB1 115200 connect "chat -s -v -f /var/3G/dial_script" disconnect "chat -s -v -f /etc/ppp/disconn-script" pppoe /dev/ttyUSB1 noipdefault defaultroute nodetach user "" password
2020-06-24 07:01:50 [3] PPP: ppp1