I'm using Verizon mobile broadband with a Sierra Wireless EM7345 4G LTE modem built into a Thinkpad T450s laptop. I'm configuring the modem with NetworkManager and ModemManager, using one of the default settings (APN vzwinternet). The machine is running up-to-date Arch Linux, with kernel version 4.1.4.
The modem generally works fine when I first boot my machine. However, after I've suspended the machine to RAM for the first time, when I try to use the modem it repeatedly connects and disconnects, constantly changing IP address and making it impossible to use ssh. The only fix I've found is to reboot the machine. Obviously I'd like to fix this without rebooting.
If it's relevant, I have tlp enabled, but disabling it with tlp false doesn't fix the problem. Also, I've set USB_BLACKLIST_WWAN=1 in /etc/default/tlp, just in case. None of those changes seem to fix the problem.
For what it's worth, the reason for the disconnection appears to be no-carrier. I get a lot of this in my log, but the modem is often briefly usable between disconnects:
Aug 18 15:57:01 laptop NetworkManager[630]: <info> (cdc-wdm0): Activation: successful, device activ
ated.
Aug 18 15:57:01 laptop nm-dispatcher[9896]: Dispatching action 'up' for wwan0
Aug 18 15:57:04 laptop ModemManager[613]: <info> Modem /org/freedesktop/ModemManager1/Modem/2: stat
e changed (connected -> registered)
Aug 18 15:57:04 laptop NetworkManager[630]: <info> (cdc-wdm0): modem state changed, 'connected' -->
'registered' (reason: user-requested)
Aug 18 15:57:04 laptop NetworkManager[630]: <info> (cdc-wdm0): device state change: activated -> fa
iled (reason 'modem-no-carrier') [100 120 25]
Aug 18 15:57:04 laptop NetworkManager[630]: <info> NetworkManager state is now CONNECTED_LOCAL
Aug 18 15:57:04 laptop NetworkManager[630]: <info> NetworkManager state is now DISCONNECTED
Aug 18 15:57:04 laptop NetworkManager[630]: <warn> (cdc-wdm0): Activation: failed for connection 'V
erizon'
Aug 18 15:57:04 laptop NetworkManager[630]: <info> (cdc-wdm0): device state change: failed -> disco
nnected (reason 'none') [120 30 0]
Aug 18 15:57:04 laptop NetworkManager[630]: <info> Writing DNS information to /usr/bin/resolvconf
Aug 18 15:57:04 laptop nm-dispatcher[9896]: Dispatching action 'down' for wwan0