Suddenly my router started to disconnect from internet.
Around once an hour the internal modem becomes unreachable.
I’ve reset the factory defaults but the problem persists.
This is my kernel log during the disconnect.
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.348267] usb 2-1: USB disconnect, device number 4
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.348686] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.352591] option 2-1:1.0: device disconnected
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.360770] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.364821] option 2-1:1.1: device disconnected
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.374079] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.377282] option 2-1:1.2: device disconnected
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.385744] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.389813] option 2-1:1.3: device disconnected
Sat Aug 10 18:56:07 2024 user.warn kernel: [ 1536.391332] [01-serial-symlink.sh] New device ttyUSB0 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/ttyUSB0/tty/ttyUSB0 appeared!
Sat Aug 10 18:56:07 2024 daemon.notice netifd: Network device 'qmimux0' link is down
Sat Aug 10 18:56:07 2024 daemon.notice netifd: Interface 'mob1s2a1_4' has link connectivity loss
Sat Aug 10 18:56:07 2024 kern.info kernel: [ 1536.544195] qmi_wwan 2-1:1.4 wwan0: unregister 'qmi_wwan' usb-xhci-hcd.0.auto-1, WWAN/QMI device
Sat Aug 10 18:56:07 2024 user.warn kernel: [ 1536.652641] [01-serial-symlink.sh] New device ttyUSB1 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/ttyUSB1/tty/ttyUSB1 appeared!
Sat Aug 10 18:56:07 2024 daemon.notice netifd: Interface 'mob1s2a1_4' is disabled
Sat Aug 10 18:56:07 2024 user.warn kernel: [ 1536.842542] [01-serial-symlink.sh] New device ttyUSB2 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.2/ttyUSB2/tty/ttyUSB2 appeared!
Sat Aug 10 18:56:07 2024 user.warn kernel: [ 1537.003145] [01-serial-symlink.sh] New device ttyUSB3 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.3/ttyUSB3/tty/ttyUSB3 appeared!
Sat Aug 10 18:56:08 2024 daemon.notice netifd: Network device 'wwan0' link is down
Sat Aug 10 18:56:08 2024 user.notice netifd: uqmi -s -d /dev/cdc-wdm0 -t 3000 --set-client-id wds,15 --stop-network 0xFFFFFFFF --autoconnect
Sat Aug 10 18:56:08 2024 user.notice netifd: uqmi -s -d /dev/cdc-wdm0 -t 3000 --set-client-id wds,15 --release-client-id wds
Sat Aug 10 18:56:08 2024 daemon.info ledman[5310]: [subscribe_gsm_init:601] error: Failed to subscribe to gsm.modem0 object. ERR: Not found
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: SIOCGIFINDEX: No such device
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: received SIGTERM
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: unicasting a release of 10.188.252.118 to 10.188.252.117
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: sending release
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: can't bind to interface qmimux0: No such device
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: bindtodevice: No such device
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): udhcpc: entering released state
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Stopping network mob1s2a1
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Stopping network on /dev/cdc-wdm0!
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Failed to open device, errno: 2
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Releasing client-id 15 on /dev/cdc-wdm0
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Failed to open device, errno: 2
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1_4 (15124): Command failed: Permission denied
Sat Aug 10 18:56:08 2024 daemon.notice netifd: Interface 'mob1s2a1_4' is now down
Sat Aug 10 18:56:08 2024 daemon.warn dnsmasq[2169]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Aug 10 18:56:08 2024 daemon.notice netifd: mob1s2a1 (16760): Command failed: Not found
Sat Aug 10 18:56:09 2024 daemon.notice netifd: mob1s2a1 (16760): Command failed: Permission denied
Sat Aug 10 18:56:09 2024 daemon.notice netifd: Interface 'mob1s2a1' is now down
Sat Aug 10 18:56:10 2024 daemon.info dnsmasq[2169]: read /etc/hosts - 12 names
Sat Aug 10 18:56:10 2024 daemon.info dnsmasq[2169]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sat Aug 10 18:56:10 2024 daemon.info dnsmasq-dhcp[2169]: read /etc/ethers - 0 addresses
Sat Aug 10 18:56:10 2024 kern.info Mobile data disconnected (internal modem)
Sat Aug 10 18:56:14 2024 user.notice qmux: mob1s2a1 teardown successful
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.553625] usb 2-1: new SuperSpeed Gen 1 USB device number 5 using xhci-hcd
Sat Aug 10 18:56:17 2024 daemon.info gsmd[2336]: [__init:1165] error: [CMM] Failed to open modem at `/dev/` path!
Sat Aug 10 18:56:17 2024 daemon.info gsmd[2336]: [__init:420] error: [MODEM] Failed to initialize comm manager for `2-1 [2c7c:0800]` modem!
Sat Aug 10 18:56:17 2024 daemon.info gsmd[2336]: [__new_modem:697] error: [MODEM_MANAGER] Failed to initialize `2-1 [2c7c:0800]` modem!
Sat Aug 10 18:56:17 2024 daemon.info gsmd[2336]: [__modem_added:506] error: [MODEM_MANAGER] Unable to initialize `2-1 [2c7c:0800]` modem!
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.746480] option 2-1:1.0: GSM modem (1-port) converter detected
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.746878] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.752337] option 2-1:1.1: GSM modem (1-port) converter detected
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.758830] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.765294] option 2-1:1.2: GSM modem (1-port) converter detected
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.771567] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.778112] option 2-1:1.3: GSM modem (1-port) converter detected
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.784496] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.806827] qmi_wwan 2-1:1.4: cdc-wdm0: USB WDM device
Sat Aug 10 18:56:17 2024 kern.warn kernel: [ 1546.807073] QMI_WWAN: extending urb size to 31744
Sat Aug 10 18:56:17 2024 kern.info kernel: [ 1546.812271] qmi_wwan 2-1:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.0.auto-1, WWAN/QMI device, 8e:3b:5e:70:2d:ba
Sat Aug 10 18:56:17 2024 user.warn kernel: [ 1546.847370] [01-serial-symlink.sh] New device ttyUSB0 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/ttyUSB0/tty/ttyUSB0 appeared!
Sat Aug 10 18:56:17 2024 user.warn kernel: [ 1546.995939] [01-serial-symlink.sh] New device ttyUSB1 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.1/ttyUSB1/tty/ttyUSB1 appeared!
Sat Aug 10 18:56:18 2024 user.warn kernel: [ 1547.144960] [01-serial-symlink.sh] New device ttyUSB2 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.2/ttyUSB2/tty/ttyUSB2 appeared!
Sat Aug 10 18:56:18 2024 user.warn kernel: [ 1547.293245] [01-serial-symlink.sh] New device ttyUSB3 at /devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.3/ttyUSB3/tty/ttyUSB3 appeared!
Sat Aug 10 18:56:23 2024 kern.notice IPv4 connectivity started to fail
Sat Aug 10 18:56:24 2024 daemon.info ledman[5310]: [subscribe_gsm_init:601] error: Failed to subscribe to gsm.modem0 object. ERR: Not found
Sat Aug 10 18:56:32 2024 daemon.info gsmd[2336]: [ubus_notify_event:299] error: [MODEM_UBUS] Failed to send ubus notify for `2-1 [2c7c:0800]` modem!
Sat Aug 10 18:56:33 2024 daemon.info mobifd: [gsm.modem0] Starting modem settings init
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] Modem settings init completed
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] Starting connection setup
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] Attempting to establish connection to operator with "15s" of timeout
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] Connected to operator "DNA DNA"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -CFUN- Functionality: "Full"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -COPS- Mode: "Auto", operator: "DNA DNA"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -CREG- Mode: "Enabled (with location information)", status: "Registered, home", LAC: "412", cell ID: "1957123", technology: "E-UTRAN"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -CGREG- Mode: "Enabled (with location information)", status: "Not registered", LAC: "", cell ID: "", technology: "Unknown"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -CEREG- Mode: "Enabled (with location information)", status: "Registered, home", LAC: "", cell ID: "1957123", technology: "E-UTRAN"
Sat Aug 10 18:56:35 2024 daemon.info mobifd: [gsm.modem0] -C5GREG- Mode: "Enabled (with location information)", status: "Not registered", LAC: "", cell ID: "", technology: "Unknown"
Sat Aug 10 18:56:36 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context "1": "10.191.235.139"
Sat Aug 10 18:56:36 2024 daemon.notice netifd: Interface 'mob1s2a1' is setting up now
Sat Aug 10 18:56:36 2024 daemon.notice netifd: mob1s2a1 (17563): wwan[17563] Using wwan usb device on bus 2-1
Sat Aug 10 18:56:36 2024 daemon.notice netifd: mob1s2a1 (17563): wwan[17563] Using proto:qmapv5 device:/dev/cdc-wdm0 iface:wwan0 desc:Quectel RG50X
Sat Aug 10 18:56:36 2024 daemon.notice netifd: mob1s2a1 (17563): Calculated qmimux ifname: qmimux0
Sat Aug 10 18:56:36 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 10000 --set-autoconnect disabled
Sat Aug 10 18:56:39 2024 daemon.notice netifd: mob1s2a1 (17563): Informing driver of raw-ip for wwan0 ..
Sat Aug 10 18:56:39 2024 kern.info kernel: [ 1568.089775] qmi_wwan 2-1:1.4 wwan0: mode: raw IP
Sat Aug 10 18:56:39 2024 user.notice root: uqmi -d /dev/cdc-wdm0 --timeout 6000 --wda-set-data-format --qos-format 0 --link-layer-protocol raw-ip --endpoint-type hsusb --endpoint-iface-number 4 --ul-protocol qmapv5 --dl-protocol qmapv5 --ul-max-datagrams 11 --ul-datagram-max-size 8192 --dl-max-datagrams 62 --dl-datagram-max-size 31744 --dl-min-padding 0
Sat Aug 10 18:56:39 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --set-client-id wds,14 --release-client-id wds --modify-profile 3gpp,1 --profile-name 1 --roaming-disallowed-flag no
Sat Aug 10 18:56:39 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --get-client-id wds
Sat Aug 10 18:56:39 2024 daemon.notice netifd: mob1s2a1 (17563): 14
Sat Aug 10 18:56:39 2024 daemon.notice netifd: mob1s2a1 (17563): cid4: 14
Sat Aug 10 18:56:39 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --wds-bind-mux-data-port --mux-id 1 --ep-iface-number 4 --set-client-id wds,14
Sat Aug 10 18:56:39 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --set-ip-family ipv4 --set-client-id wds,14
Sat Aug 10 18:56:39 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --set-client-id wds,14 --start-network --profile 1 --ip-family ipv4
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1 (17563): pdh4: 1160416160
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1 (17563): 1160416160
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1 (17563): Setting up qmimux0
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1 (17563): Setting dynamic MTU: 1500 on qmimux0
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Interface 'mob1s2a1' is now up
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Network device 'wwan0' link is up
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1 (17563): Setting up qmimux0 V4 DCHP
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Interface 'mob1s2a1_4' is enabled
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Network device 'qmimux0' link is up
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Interface 'mob1s2a1_4' has link connectivity
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Interface 'mob1s2a1_4' is setting up now
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1_4 (17897): udhcpc: started, v1.34.1
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1_4 (17897): udhcpc: broadcasting discover
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1_4 (17897): udhcpc: broadcasting select for 10.191.235.139, server 10.191.235.140
Sat Aug 10 18:56:40 2024 user.notice firewall: Reloading firewall due to ifup of mob1s2a1 (wwan0)
Sat Aug 10 18:56:40 2024 daemon.notice netifd: mob1s2a1_4 (17897): udhcpc: lease of 10.191.235.139 obtained from 10.191.235.140, lease time 7200
Sat Aug 10 18:56:40 2024 daemon.info gsmd[2336]: Modem `2-1 [2c7c:0800]` URC Event: ESM reject cause => Requested service option not subscribed
Sat Aug 10 18:56:40 2024 daemon.notice netifd: Interface 'mob1s2a1_4' is now up
Sat Aug 10 18:56:40 2024 daemon.info mobifd: Auto APN is disabled for 'mob1s2a1'. Skipping Ping To DNS functionality
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat Aug 10 18:56:40 2024 daemon.info mobifd: Connection setup completed for 'mob1s2a1'
Sat Aug 10 18:56:40 2024 daemon.info mobifd: Connection setup completed for modem: 'gsm.modem0'
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using nameserver 62.241.198.245#53
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using nameserver 62.241.198.246#53
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for test
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for onion
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for localhost
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for local
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for invalid
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for bind
Sat Aug 10 18:56:40 2024 daemon.info dnsmasq[2169]: using only locally-known addresses for lan
Sat Aug 10 18:56:42 2024 daemon.info dnsmasq[2169]: read /etc/hosts - 12 names
Sat Aug 10 18:56:42 2024 daemon.info dnsmasq[2169]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sat Aug 10 18:56:42 2024 daemon.info dnsmasq-dhcp[2169]: read /etc/ethers - 0 addresses
Sat Aug 10 18:56:43 2024 user.notice firewall: Reloading firewall due to ifup of mob1s2a1_4 (qmimux0)
Sat Aug 10 18:56:44 2024 kern.notice DNS resolution started to fail
Sat Aug 10 18:56:45 2024 daemon.info dnsmasq[2169]: read /etc/hosts - 12 names
Sat Aug 10 18:56:45 2024 daemon.info dnsmasq[2169]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sat Aug 10 18:56:45 2024 daemon.info dnsmasq-dhcp[2169]: read /etc/ethers - 0 addresses
Sat Aug 10 18:56:45 2024 kern.info Mobile data connected (internal modem)
Sat Aug 10 18:56:45 2024 kern.info Joined 5G-NSA network (internal modem)
Sat Aug 10 18:56:45 2024 kern.info Connected to DNA DNA operator (internal modem)