GLx 3000 spitz 5g keeps disconnecting and changing apn for no reason

Which file do I modify for this suggestion?


Access the background of the router using ssh
Change redial_sim to sim

1 Like

@ywp thanks, missed the filename at the bottom. It's currently in a bad state again where it chose internet as the APN, can I test this by running it somehow?

After modifying it, modify the apn to be correct
See if the problem reappears

Can I add some logging so we know it is no longer using the wrong redial_sim variable instead of just blindly trying?

Which scenarios does switch_sim_slot run?

I am still having the same issue as well. Sorry guys but this product has big flaws, it is not reliable....... never ever had such problems with similar products from competitors.
And BTW, customer support replied to me only once and than disappeared. (They told me to change power supply anyway.....)

I did a bunch more digging around to understand what is going on that would cause internet to populate in the APN. Here's the output from the command that should be selecting the correct profiles.

However...

I'd challenge you to consider, what if those uci values (network.modem_0001, glmodem.network_sim1 or glmodem.network_sim2) are unavailable?

The way that the router recovers currently is not great, it seems the behavior is for it to try to renegotiate a profile with the modem and never recovers because it overwrote the existing profile with the WRONG auto negotiated profile back to Luci.

This is exactly what is going on here:

In other words,
By running gl_modem -B 0001:01:00.0 connect-auto as a fallback we're now allowing the modem to change the profile values on it's own in Luci it seems is the current behavior.

1 Like

You know when you see a kill -9 and some commented out code there's bound to be a bug :rofl:

1 Like

@ywp I'm signing off, hopefully you have some luck investigating.

I am stuck understanding what is setting in Luci the profile after gl_modem -B 0001:01:00.0 connect-auto runs. Seems like a side effect of a successful connection.

Here's a log after running that command if it helps.

Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001_4 (4205): udhcpc: received SIGTERM
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001_4 (4205): udhcpc: unicasting a release of [REDACTED_IP] to [REDACTED_IP]
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001_4 (4205): udhcpc: sending release
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001_4 (4205): udhcpc: entering released state
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001_4 (4205): Command failed: Permission denied
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Interface 'modem_0001_4' is now down
Thu Jun 13 09:42:11 2024 kern.info kernel: [34561.963947] net rmnet_mhi0: link_state 0x1 -> 0x0
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Network alias '' link is down
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Interface 'modem_0001_4' has link connectivity loss
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Interface 'modem_0001_4' is disabled
Thu Jun 13 09:42:11 2024 daemon.warn dnsmasq[5465]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Network device 'rmnet_mhi0' link is down
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:663] call_end_reason is 3
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:663] call_end_reason_type is 3
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:663] call_end_reason_verbose is 2001
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:675] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:675] call_end_reason is 3
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:675] call_end_reason_type is 3
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:675] call_end_reason_verbose is 2001
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:10:675] try to requestSetupDataCall 10 second later
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:11:539] requestRegistrationState2 MCC: 311, MNC: 480, PS: Attached, DataCap: 5G_NSA
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:21:550] requestSetupDataCall WdsConnectionIPv4Handle: [REDACTED_HANDLE]
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:24:21:562] requestSetupDataCall WdsConnectionIPv6Handle: [REDACTED_HANDLE]
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:42:11:461] requestDeactivateDefaultPDP WdsConnectionIPv4Handle
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:42:11:472] requestDeactivateDefaultPDP WdsConnectionIPv6Handle
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:42:11:508] QmiWwanThread exit
Thu Jun 13 09:42:11 2024 daemon.notice netifd: modem_0001 (3637): [06-13_09:42:11:508] qmi_main exit
Thu Jun 13 09:42:11 2024 daemon.notice netifd: Interface 'modem_0001' is now down
Thu Jun 13 09:42:11 2024 user.notice mwan3[7282]: Execute ifdown event on interface modem_0001 (unknown)
Thu Jun 13 09:42:11 2024 user.info mwan3track[3987]: Detect ifdown event on interface modem_0001 (rmnet_mhi0)
Thu Jun 13 09:42:11 2024 user.notice mwan3track[3987]: Interface modem_0001 (rmnet_mhi0) is offline
Thu Jun 13 09:42:12 2024 user.notice firewall: Reloading firewall due to ifdown of modem_0001 ()
Thu Jun 13 09:42:14 2024 daemon.notice netifd: Interface 'modem_0001' is setting up now
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): ERROR
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): Failed to parse message data
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:20 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793): ERROR
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793):
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793): OK
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (7793): Device only supports raw-ip mode but is missing this required driver attribute: /sys/class/net/rmnet_mhi0/qmi/raw_ip
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:264] QConnectManager_Linux_V1.6.3.1
Thu Jun 13 09:42:21 2024 kern.err kernel: [34571.816565] [I][mhi_netdev_open] Opened net dev interface
Thu Jun 13 09:42:21 2024 daemon.notice netifd: Interface 'modem_0001' is now up
Thu Jun 13 09:42:21 2024 daemon.notice netifd: Interface 'modem_0001_4' is enabled
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:265] Find /sys/bus/usb/devices/1-1.2 idVendor=[REDACTED_VENDOR] idProduct=[REDACTED_PRODUCT], bus=0x001, dev=0x004
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:266] network interface '' or qmidev '' is not exist
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:266] netcard driver = pcie_mhi, driver version = V1.3.4
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:266] qmap_mode = 1, qmap_version = 9, qmap_size = 15360, muxid = 0x81, qmap_netcard = rmnet_mhi0
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:266] Modem works in QMI mode
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:274] cdc_wdm_fd = 7
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:284] Get clientWDS = 14
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:288] Get clientWDS = 15
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:292] Get clientDMS = 1
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:295] Get clientNAS = 2
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:297] Get clientUIM = 2
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:300] Get clientWDA = 1
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:303] requestBaseBandVersion [REDACTED_VERSION]
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:306] qmap_settings.rx_urb_size = 15360
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:306] qmap_settings.ul_data_aggregation_max_datagrams  = 11
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:306] qmap_settings.ul_data_aggregation_max_size       = 8192
Thu Jun 13 09:42:21 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:306] qmap_settings.dl_minimum_padding                 = 0
Thu Jun 13 09:42:21 2024 user.notice mwan3[8339]: Execute ifup event on interface modem_0001 (rmnet_mhi0)
Thu Jun 13 09:42:21 2024 user.notice mwan3[8339]: Starting tracker on interface modem_0001 (rmnet_mhi0)
Thu Jun 13 09:42:21 2024 user.notice mwan3track[3987]: Stopping mwan3track for interface "modem_0001"
Thu Jun 13 09:42:24 2024 user.info mwan3rtmon[9102]: Detect rtchange event.
Thu Jun 13 09:42:24 2024 kern.info kernel: [34574.968036] net rmnet_mhi0: link_state 0x0 -> 0x1
Thu Jun 13 09:42:24 2024 kern.info kernel: [34574.972963] IPv6: ADDRCONF(NETDEV_CHANGE): rmnet_mhi0: link becomes ready
Thu Jun 13 09:42:24 2024 daemon.notice netifd: Network device 'rmnet_mhi0' link is up
Thu Jun 13 09:42:24 2024 daemon.notice netifd: Network alias 'rmnet_mhi0' link is up
Thu Jun 13 09:42:24 2024 daemon.notice netifd: Interface 'modem_0001_4' has link connectivity
Thu Jun 13 09:42:24 2024 daemon.notice netifd: Interface 'modem_0001_4' is setting up now
Thu Jun 13 09:42:24 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: started, v1.33.2
Thu Jun 13 09:42:24 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: sending discover
Thu Jun 13 09:42:24 2024 user.notice firewall: Reloading firewall due to ifup of modem_0001 (rmnet_mhi0)
Thu Jun 13 09:42:26 2024 daemon.info avahi-daemon[5145]: Interface tailscale0.IPv4 no longer relevant for mDNS.
Thu Jun 13 09:42:26 2024 daemon.info avahi-daemon[5145]: Leaving mDNS multicast group on interface tailscale0.IPv4 with address [REDACTED_IP].
Thu Jun 13 09:42:26 2024 daemon.info avahi-daemon[5145]: Withdrawing address record for [REDACTED_IP] on tailscale0.
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:324] requestGetSIMStatus SIMStatus: SIM_READY
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:327] requestGetProfile[3] VZWINTERNET///0/IPV4V6
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:327] requestSetProfile[3] internet///0/IPV4V6
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:348] requestRegistrationState2 MCC: 311, MNC: 480, PS: Attached, DataCap: 5G_NSA
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:351] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:355] requestQueryDataCall IPv6ConnectionStatus: DISCONNECTED
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:402] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:402] call_end_reason is 1
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:402] call_end_reason_type is 6
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:402] call_end_reason_verbose is 55
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:456] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:456] call_end_reason is 1
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:456] call_end_reason_type is 6
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:456] call_end_reason_verbose is 55
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:21:456] try to requestSetupDataCall 5 second later
Thu Jun 13 09:42:26 2024 daemon.notice netifd: modem_0001 (8333): [06-13_09:42:26:463] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: sending discover
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:27 2024 user.warn : skip line without '=' Default
Thu Jun 13 09:42:27 2024 user.warn : skip line without '='
Thu Jun 13 09:42:30 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: sending discover
Thu Jun 13 09:42:36 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: sending select for [REDACTED_IP]
Thu Jun 13 09:42:36 2024 daemon.notice netifd: modem_0001_4 (8888): udhcpc: lease of [REDACTED_IP] obtained, lease time 7200
Thu Jun 13 09:42:36 2024 daemon.notice netifd: Interface 'modem_0001_4' is now up
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: reading /tmp/resolv.conf.d/resolv.conf.auto
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain test
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain onion
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain localhost
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain local
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain invalid
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain bind
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using only locally-known addresses for domain lan
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using nameserver [REDACTED_IP]#53
Thu Jun 13 09:42:36 2024 daemon.info dnsmasq[5465]: using nameserver [REDACTED_IP]#53
Thu Jun 13 09:42:37 2024 user.notice mwan3[9939]: Execute ifup event on interface modem_0001_4 (rmnet_mhi0)
Thu Jun 13 09:42:37 2024 user.notice mwan3[9939]: Starting tracker on interface modem_0001_4 (rmnet_mhi0)
Thu Jun 13 09:42:37 2024 user.info mwan3track[8691]: Lost 4 ping(s) on interface modem_0001 (rmnet_mhi0)
Thu Jun 13 09:42:39 2024 user.info mwan3rtmon[9102]: Detect rtchange event.
Thu Jun 13 09:42:39 2024 daemon.info avahi-daemon[5145]: Joining mDNS multicast group on interface tailscale0.IPv4 with address [REDACTED_IP].
Thu Jun 13 09:42:39 2024 daemon.info avahi-daemon[5145]: New relevant interface tailscale0.IPv4 for mDNS.
Thu Jun 13 09:42:39 2024 daemon.info avahi-daemon[5145]: Registering new address record for [REDACTED_IP] on tailscale0.IPv4.
Thu Jun 13 09:42:39 2024 user.notice firewall: Reloading firewall due to ifup of modem_0001_4 (rmnet_mhi0)

Any news on this problem?
Thanks.

Hi there, I am also having this issue on my own Spitz AX. Would love to know if a fix is in the works.

@MaVster @glinetoveruser
Technical Support via GoodCloud.tar (192 KB)

When something goes wrong, can you go to the overview page to see your router's uptime?
Make sure the router was restarted before the problem occurred.
Please disable the automatic sim card switching function
If possible, please connect the cable and share the device to goodcloud and don't restarting when the problem occurs