Page 1 of 1
EM12 Keeps disconnecting from Router every hour
Posted: Sat Feb 13, 2021 7:45 pm
by livewyre570
Hey guys, i have a Quectel EM12 in a WiFix WG3526 from The Wireless Haven, bought used. I have the latest firmware flashed to it. The problem i am having is that about once every hour i get disconnected and the Router reports Modem not found. Upon reboot it goes back to normal, but only for about that 1 hour period. This starting happening about 2 weeks ago. First it happened about once per day, then gradually increase to the once per hour. ATT is the carrier. i have tried multiple sims (my work SIM and the iPad plan SIM) and ttl settings as well. Could my Modem be bad?
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sat Feb 13, 2021 8:52 pm
by Didneywhorl
Replace the power supply with a quality upgraded supply before going to failures.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sat Feb 13, 2021 9:04 pm
by livewyre570
Didneywhorl wrote: Sat Feb 13, 2021 8:52 pm
Replace the power supply with a quality upgraded supply before going to failures.
OK, thanks. i will give that a try.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 1:18 pm
by livewyre570
Ok, so went from POE splitter to the original power adapter shipped with the unit. same thing. I'm now testing it with a power adaptor from an old Lenovo Laptop. specs are 12V 4A. It's powered on and connected to internet again. Let's see how it holds up. If this fails, would you say it's the modem?
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 1:57 pm
by Didneywhorl
livewyre570 wrote: Sun Feb 14, 2021 1:18 pm
Ok, so went from POE splitter to the original power adapter shipped with the unit. same thing. I'm now testing it with a power adaptor from an old Lenovo Laptop. specs are 12V 4A. It's powered on and connected to internet again. Let's see how it holds up. If this fails, would you say it's the modem?
Cant say for sure. If it does fail, again. I would look through the system log for errors. look for the modem logs where it loads again and again.
Status-->System Log
you can also make this log persist from reboots by setting the log path in system settings. But your router isnt rebooting, so you should be fine there.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 2:41 pm
by livewyre570
Here is the modem log:
Sun Feb 14 17:48:06 2021 : Modem #1 Connected
Sun Feb 14 17:50:29 2021 : Attempting to Connect Modem #1
Sun Feb 14 17:51:05 2021 : Modem #1 Connected
Sun Feb 14 18:56:52 2021 : Disconnect (Removed) Modem #1
Sun Feb 14 18:57:37 2021 : Attempting to Connect Modem #1
Sun Feb 14 18:58:13 2021 : Modem #1 Connected
Sun Feb 14 18:59:32 2021 : Attempting to Connect Modem #1
Sun Feb 14 19:11:41 2021 : Modem #1 Connected
Sun Feb 14 20:37:10 2021 : Disconnect (Removed) Modem #1
Sun Feb 14 20:37:56 2021 : Attempting to Connect Modem #1
Sun Feb 14 20:38:31 2021 : Modem #1 Connected
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 2:43 pm
by livewyre570
I'll get the system log too. It only goes out for a second, then the modem comes back and is recognized by the router again. (I have 2 of the same router btw. one POE and one non-POE). The modem does the same thing in both routers.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 2:45 pm
by livewyre570
Sys log:
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.471838] usb 1-2: USB disconnect, device number 2
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.477325] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.485737] option 1-2:1.0: device disconnected
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.491630] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.499987] option 1-2:1.1: device disconnected
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.505639] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.513976] option 1-2:1.2: device disconnected
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.519653] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.528079] option 1-2:1.3: device disconnected
Sun Feb 14 20:37:06 2021 kern.info kernel: [ 5246.534664] qmi_wwan 1-2:1.4 wwan0: unregister 'qmi_wwan' usb-1e1c0000.xhci-2, WWAN/QMI device
Sun Feb 14 20:37:06 2021 daemon.notice netifd: Network device 'wwan0' link is down
Sun Feb 14 20:37:06 2021 daemon.notice netifd: Interface 'wan1' has link connectivity loss
Sun Feb 14 20:37:06 2021 daemon.notice netifd: wan1 (4632): udhcpc: SIOCGIFINDEX: No such device
Sun Feb 14 20:37:06 2021 daemon.notice netifd: wan1 (4632): udhcpc: received SIGTERM
Sun Feb 14 20:37:06 2021 daemon.notice netifd: Interface 'wan1' is now down
Sun Feb 14 20:37:06 2021 user.notice URL-DEBUG: hotplug (iface): action='ifdown' interface='wan1'
Sun Feb 14 20:37:06 2021 daemon.notice netifd: Interface 'wan1' is disabled
Sun Feb 14 20:37:06 2021 daemon.warn dnsmasq[3816]: no servers found in /tmp/resolv.conf.auto, will retry
Sun Feb 14 20:37:06 2021 user.notice mwan3[14039]: Using firewall mask 0x3F00
Sun Feb 14 20:37:06 2021 user.notice mwan3[14039]: Max interface count is 60
Sun Feb 14 20:37:08 2021 user.notice sms process: Reread SMS Messages on Modem 1
Sun Feb 14 20:37:10 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:10 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:10 2021 user.notice usb-modeswitch: * Remove : 1-2 : Modem1
Sun Feb 14 20:37:10 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:10 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:11 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:11 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:11 2021 user.notice usb-modeswitch: * No Modems present
Sun Feb 14 20:37:11 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:11 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.078504] usb 1-2: new high-speed USB device number 3 using xhci-mtk
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.262088] option 1-2:1.0: GSM modem (1-port) converter detected
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.268971] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.277352] option 1-2:1.1: GSM modem (1-port) converter detected
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.284081] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.292421] option 1-2:1.2: GSM modem (1-port) converter detected
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.299194] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.307614] option 1-2:1.3: GSM modem (1-port) converter detected
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.314456] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.323709] qmi_wwan 1-2:1.4: cdc-wdm0: USB WDM device
Sun Feb 14 20:37:14 2021 kern.info kernel: [ 5254.330805] qmi_wwan 1-2:1.4 wwan0: register 'qmi_wwan' at usb-1e1c0000.xhci-2, WWAN/QMI device, 16:6d:eb:2d:e9:3e
Sun Feb 14 20:37:14 2021 user.notice Log Print : Driver Name : 1 option
Sun Feb 14 20:37:14 2021 user.notice Log Print : Driver Name : 2 option
Sun Feb 14 20:37:14 2021 user.notice Log Print : Driver Name : 3 option
Sun Feb 14 20:37:14 2021 user.notice Log Print : Driver Name : 4 option
Sun Feb 14 20:37:14 2021 user.notice Log Print : Driver Name : 5 qmi_wwan
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: Add : 1-2: Manufacturer=Quectel Product=EM12-G Serial=0123456789ABCDEF 2c7c 0512
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: * Start of Modem Detection and Connection Information
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: * Product=EM12-G 2c7c 0512
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: * This device does not have a switch data file
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: * Product=EM12-G 2c7c 0512
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:14 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: * Switched to : 2c7c:0512
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:24 2021 user.notice Log Print : Driver Name : 1 option
Sun Feb 14 20:37:24 2021 user.notice Log Print : Driver Name : 2 option
Sun Feb 14 20:37:24 2021 user.notice Log Print : Driver Name : 3 option
Sun Feb 14 20:37:24 2021 user.notice Log Print : Driver Name : 4 option
Sun Feb 14 20:37:24 2021 user.notice Log Print : Driver Name : 5 qmi_wwan
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: * ProtoFind returns : 2
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: *****************************************************************
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: Found Modem 1
Sun Feb 14 20:37:24 2021 user.notice usb-modeswitch: Connecting a QMI Modem
Sun Feb 14 20:37:25 2021 user.notice Create Connection: Start QMI Connection
Sun Feb 14 20:37:30 2021 user.notice Create Connection: QMI Comm Port : /dev/ttyUSB2
Sun Feb 14 20:37:30 2021 user.notice Create Connection: WDA-GET-DATA-FORMAT is "raw-ip"
Sun Feb 14 20:37:39 2021 user.notice Create Connection: Quectel Unsolicited Responses Disabled
Sun Feb 14 20:37:52 2021 user.notice Get Profile: Modem 1 is Quectel EM12
Sun Feb 14 20:37:52 2021 user.notice Get Profile: Default Profile Used
Sun Feb 14 20:37:52 2021 user.notice Create Connection: Profile for Modem 1 sets interface to WAN1
Sun Feb 14 20:37:52 2021 user.notice Create Connection: Modem 1 is using WAN1
Sun Feb 14 20:37:52 2021 user.notice Create Connection: Using Provider assigned DNS
Sun Feb 14 20:37:56 2021 user.notice Create Connection: Pincode in script
Sun Feb 14 20:37:56 2021 user.notice Create Connection: Attempting to Connect Modem 1
Sun Feb 14 20:38:06 2021 user.notice sms process: SMS Supported
Sun Feb 14 20:38:09 2021 user.notice QMI Connect: WDA-GET-DATA-FORMAT is "raw-ip"
Sun Feb 14 20:38:10 2021 user.notice QMI Connect: Waiting for network registration
Sun Feb 14 20:38:10 2021 user.notice QMI Connect: Starting network broadband
Sun Feb 14 20:38:10 2021 user.notice QMI Connect: Connection returned : -182073040
Sun Feb 14 20:38:11 2021 user.notice QMI Connect: Status is "connected"
Sun Feb 14 20:38:11 2021 user.notice QMI Connect: GET-CURRENT-SETTINGS is {"pdp-type":"ipv4-or-ipv6","ip-family":"ipv4","mtu":1430,"ipv4":{"ip":"x.x.x.x","dns1":"x.x.x.x","gateway":"x.x.x.x","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
Sun Feb 14 20:38:11 2021 user.notice QMI Connect: IPv6 Connection returned : -184413648
Sun Feb 14 20:38:11 2021 user.notice QMI Connect: Handle raw-ip
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Network device 'wwan0' link is up
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Interface 'wan1' has link connectivity
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Network device 'wwan0' link is down
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Interface 'wan1' has link connectivity loss
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Interface 'wan1' is enabled
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Network device 'wwan0' link is up
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Interface 'wan1' has link connectivity
Sun Feb 14 20:38:11 2021 daemon.notice netifd: Interface 'wan1' is setting up now
Sun Feb 14 20:38:11 2021 daemon.notice netifd: wan1 (15670): udhcpc: started, v1.30.1
Sun Feb 14 20:38:11 2021 daemon.notice netifd: wan1 (15670): udhcpc: sending discover
Sun Feb 14 20:38:11 2021 daemon.notice netifd: wan1 (15670): udhcpc: sending select for x.x.x.x
Sun Feb 14 20:38:11 2021 daemon.notice netifd: wan1 (15670): udhcpc: lease of x.x.x.x obtained, lease time 7200
Sun Feb 14 20:38:12 2021 daemon.notice netifd: Interface 'wan1' is now up
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: reading /tmp/resolv.conf.auto
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain test
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain onion
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain localhost
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain local
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain invalid
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain bind
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using local addresses only for domain lan
Sun Feb 14 20:38:12 2021 daemon.info dnsmasq[3816]: using nameserver 172.26.38.1#53
Sun Feb 14 20:38:12 2021 user.notice URL-DEBUG: hotplug (iface): action='ifup' interface='wan1'
Sun Feb 14 20:38:13 2021 user.notice firewall: Reloading firewall due to ifup of wan1 (wwan0)
Sun Feb 14 20:38:15 2021 user.notice sms process: Reread SMS Messages on Modem 1
Sun Feb 14 20:38:31 2021 user.notice Create Connection: Connected
Sun Feb 14 20:38:31 2021 user.notice Connection Monitor: Start Connection Monitor for Modem 1
EDIT: Took out my IP Address
Re: EM12 Keeps disconnecting from Router every hour
Posted: Sun Feb 14, 2021 3:26 pm
by livewyre570
So after reading some other posts about the EM12, should i be running it in MBIM or QMI?
Re: EM12 Keeps disconnecting from Router every hour
Posted: Mon Feb 15, 2021 1:13 pm
by livewyre570
Swapped out more power adapters and still doing the same thing. I guess at this point it's the modem?
Re: EM12 Keeps disconnecting from Router every hour
Posted: Wed Feb 17, 2021 12:44 pm
by Didneywhorl
Try MBIM mode
...but something tells me your modem is tripping out.
Your logs show that it is in fact disappearing completely for a short time. I've seen EM20's do this a lot. Not something I've seen in the EM12.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Wed Feb 17, 2021 12:45 pm
by Didneywhorl
You could also try flashing the latest firmware and see if that covers up some kind of irregularity. Prob not though.
Re: EM12 Keeps disconnecting from Router every hour
Posted: Fri Feb 19, 2021 10:44 am
by mtl26637
Didneywhorl wrote: Wed Feb 17, 2021 12:44 pm
Your logs show that it is in fact disappearing completely for a short time. I've seen EM20's do this a lot. Not something I've seen in the EM12.
Not trying to derail but curious as mine does this too. Do you have any more information as to why or how to resolve phantom EM20's from disappearing? If it more than a quick response I can move to new thread, but being they both Quectel I guess it may be same exact issue/problem?
Re: EM12 Keeps disconnecting from Router every hour
Posted: Mon Mar 22, 2021 2:14 pm
by Didneywhorl
mtl26637 wrote: Fri Feb 19, 2021 10:44 am
Not trying to derail but curious as mine does this too. Do you have any more information as to why or how to resolve phantom EM20's from disappearing? If it more than a quick response I can move to new thread, but being they both Quectel I guess it may be same exact issue/problem?
I haven't. It tends to either go away with a modem firmware flash, or it wont go away. I've not had much luck there. Make sure you have ample power for it, maybe try it in another device to ensure its not the router/adapter.