Skip to content

Instantly share code, notes, and snippets.

@dividedmind
Created March 5, 2013 16:06
Show Gist options
  • Save dividedmind/5091386 to your computer and use it in GitHub Desktop.
Save dividedmind/5091386 to your computer and use it in GitHub Desktop.
ZTE modem losing connection on weak signal - syslog
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT+CSQ<CR>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>+CSQ: 4,0<CR><LF><CR><LF>OK<CR><LF>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT%NWSTATE=1<CR>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF><CR><LF>OK<CR><LF
>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:07:58 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:03 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:04 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:08 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:17 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:23 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:27 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT+CSQ<CR>'
Mar 5 16:08:27 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>+CSQ: 3,0<CR><LF><CR><LF>OK<CR><LF>'
Mar 5 16:08:27 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT%NWSTATE=1<CR>'
Mar 5 16:08:27 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF><CR><LF>OK<CR><LF
>'
Mar 5 16:08:28 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,R99,0<CR><LF>'
Mar 5 16:08:28 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,R99,0<CR><LF>'
Mar 5 16:08:31 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:31 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,R99,0<CR><LF>'
Mar 5 16:08:35 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,R99,0<CR><LF>'
Mar 5 16:08:37 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:39 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:42 daktylon modem-manager[1003]: <debug> [mm-serial-port.c:697] data_available(): (ttyACM0) unexpected port hangup!
Mar 5 16:08:42 daktylon modem-manager[1003]: <debug> [mm-serial-port.c:908] mm_serial_port_close(): (ttyACM0) device open count is 0 (close)
Mar 5 16:08:42 daktylon modem-manager[1003]: <info> [mm-serial-port.c:923] mm_serial_port_close(): (ttyACM0) closing serial port...
Mar 5 16:08:42 daktylon modem-manager[1003]: <debug> [mm-port.c:181] mm_port_set_connected(): (ttyACM0): port now disconnected
Mar 5 16:08:42 daktylon modem-manager[1003]: <info> [mm-serial-port.c:944] mm_serial_port_close(): (ttyACM0) serial port closed
Mar 5 16:08:42 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,-,0<CR><LF>'
Mar 5 16:08:43 daktylon pppd[4708]: Modem hangup
Mar 5 16:08:43 daktylon pppd[4708]: Connect time 29.2 minutes.
Mar 5 16:08:43 daktylon pppd[4708]: Sent 2463674 bytes, received 22439934 bytes.
Mar 5 16:08:43 daktylon pppd[4708]: Connection terminated.
Mar 5 16:08:43 daktylon NetworkManager[1039]: <info> (ttyACM0): device state change: activated -> failed (reason 'ip-config-unavailable') [100 120 5]
Mar 5 16:08:44 daktylon avahi-daemon[1060]: Withdrawing workstation service for ppp0.
Mar 5 16:08:44 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,-,0<CR><LF>'
Mar 5 16:08:44 daktylon modem-manager[1003]: <info> [mm-modem.c:764] mm_modem_set_state(): Modem /org/freedesktop/ModemManager/Modems/2: state changed (connected -> disconnecting)
Mar 5 16:08:44 daktylon modem-manager[1003]: <info> [mm-modem.c:764] mm_modem_set_state(): Modem /org/freedesktop/ModemManager/Modems/2: state changed (disconnecting -> connected)
Mar 5 16:08:44 daktylon modem-manager[1003]: mm_serial_port_close: assertion `priv->open_count > 0' failed
Mar 5 16:08:44 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>+CREG: 1,"A4B0","07D6FC87",6<CR><LF><CR><LF>+CGREG: 1,"A4B0","07D6FC87",6,"09"<CR><LF>'
Mar 5 16:08:45 daktylon NetworkManager[1039]: <warn> Activation (ttyACM0) failed for connection 'T-mobile'
Mar 5 16:08:45 daktylon NetworkManager[1039]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Mar 5 16:08:45 daktylon NetworkManager[1039]: <info> (ttyACM0): now unmanaged
Mar 5 16:08:45 daktylon NetworkManager[1039]: <info> (ttyACM0): device state change: failed -> unmanaged (reason 'removed') [120 10 36]
Mar 5 16:08:45 daktylon NetworkManager[1039]: <info> (ttyACM0): deactivating device (reason 'removed') [36]
Mar 5 16:08:46 daktylon dbus[953]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Mar 5 16:08:46 daktylon pppd[4708]: Exit.
Mar 5 16:08:47 daktylon NetworkManager[1039]: <warn> could not read ppp stats: Nie ma takiego urządzenia
Mar 5 16:08:47 daktylon NetworkManager[1039]: <warn> DNS: plugin dnsmasq update failed
Mar 5 16:08:47 daktylon NetworkManager[1039]: <info> ((null)): removing resolv.conf from /sbin/resolvconf
Mar 5 16:08:47 daktylon dnsmasq[3526]: setting upstream servers from DBus
Mar 5 16:08:48 daktylon dbus[953]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mar 5 16:08:48 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,-,0<CR><LF>'
Mar 5 16:08:49 daktylon NetworkManager[1039]: <info> (ttyACM0): cleaning up...
Mar 5 16:08:49 daktylon NetworkManager[1039]: <info> (ttyACM0): taking down device.
Mar 5 16:08:49 daktylon NetworkManager[1039]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Mar 5 16:08:49 daktylon NetworkManager[1039]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Mar 5 16:09:02 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,-,0<CR><LF>'
Mar 5 16:09:06 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 3,26002,3G,-,0<CR><LF>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment