Reset WWAN?

My WWAN is not networked even though it shows activity. It’ll seem to work for so long but goes wonk over many dups. I found an inplace upgrade not to work whereas nuke & pave did. This suggests the problem was in some /home configuration? Anyone know what to do? Many thanks in anticipation of help.

More explicit details required. What brand/model? How are you connected to it? Is it a USB-connected device? Managed by ModemManager?

M.2 Sierra Wireless EM7345 under a ThinkPad X250.

OK, so an internal device connected to the USB subsystem.

It can be shown with

usb-devices

If it is dropping the connection after a while, monitoring NetworkManager log could be useful here

sudo journalctl -fu NetworkManager

Just leave it running in a terminal and observe/capture the output when you seem to no longer be connected.

[QUOTE=deano_ferrari;2859486]OK, so an internal device connected to the USB subsystem.

It can be shown with

usb-devices
T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1199 ProdID=a001 Rev=17.29
S:  Manufacturer=Sierra Wireless Inc.
S:  Product=Sierra Wireless EM7345 4G LTE
S:  SerialNumber=013937006331084
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#=0x0 Alt= 1 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I:  If#=0x1 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:  If#=0x2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I:  If#=0x3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm

Straight up acts as not connected, the WWAN icon can ghost (disappear but leave empty space in system tray.)


Mar 21 16:33:34 X250.ThinkPad NetworkManager[1542]: <info>  [1521650014.9295] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 21 16:33:34 X250.ThinkPad NetworkManager[1542]: <info>  [1521650014.9303] manager: NetworkManager state is now CONNECTED_SITE
Mar 21 16:33:34 X250.ThinkPad NetworkManager[1542]: <info>  [1521650014.9304] policy: set '3' (wwp0s20u4) as default for IPv4 routing and DNS
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:33:34 dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:33:34 dns-resolver: You can find my version in /etc/resolv.conf.netconfig
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: ATTENTION: You have modified /etc/resolv.conf.  Leaving it untouched...
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: You can find my version in /etc/resolv.conf.netconfig ...
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: nisdomainname: you must be root to change the domain name
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: <warn>  [1521650015.0935] dns-mgr: could not commit DNS changes: Error calling netconfig: exited with status 20
Mar 21 16:33:35 X250.ThinkPad NetworkManager[1542]: <info>  [1521650015.0935] device (cdc-wdm0): Activation: successful, device activated.
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.1438] device (cdc-wdm0): state change: activated -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.1441] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.1450] audit: op="device-disconnect" interface="wwp0s20u4" ifindex=4 pid=2622 uid=1000 result="success"
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:33:59 dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:33:59 dns-resolver: You can find my version in /etc/resolv.conf.netconfig
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: ATTENTION: You have modified /etc/resolv.conf.  Leaving it untouched...
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: You can find my version in /etc/resolv.conf.netconfig ...
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: nisdomainname: you must be root to change the domain name
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <warn>  [1521650039.3086] dns-mgr: could not commit DNS changes: Error calling netconfig: exited with status 20
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.3095] modem"cdc-wdm0"]: modem state changed, 'connected' --> 'disconnecting' (reason: user-requested)
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.3766] modem"cdc-wdm0"]: modem state changed, 'disconnecting' --> 'registered' (reason: user-requested)
Mar 21 16:33:59 X250.ThinkPad NetworkManager[1542]: <info>  [1521650039.3768] device (cdc-wdm0): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Mar 21 16:34:01 X250.ThinkPad NetworkManager[1542]: <info>  [1521650041.0289] device (cdc-wdm0): Activation: starting connection '3' (161b2b97-fd58-4491-8ef0-1252df0b4214)
Mar 21 16:34:01 X250.ThinkPad NetworkManager[1542]: <info>  [1521650041.0291] audit: op="connection-activate" uuid="161b2b97-fd58-4491-8ef0-1252df0b4214" name="3" pid=2622 uid=1000 result="success"
Mar 21 16:34:01 X250.ThinkPad NetworkManager[1542]: <info>  [1521650041.0294] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 21 16:34:01 X250.ThinkPad NetworkManager[1542]: <info>  [1521650041.0297] manager: NetworkManager state is now CONNECTING
Mar 21 16:34:01 X250.ThinkPad NetworkManager[1542]: <info>  [1521650041.0377] modem"cdc-wdm0"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9379] modem"cdc-wdm0"]: modem state changed, 'connecting' --> 'connected' (reason: user-requested)
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9432] device (cdc-wdm0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9440] device (cdc-wdm0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9449] modem-broadband[cdc-wdm0]: IPv4 static configuration:
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9451] modem-broadband[cdc-wdm0]:   address 10.143.125.61/24
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9451] modem-broadband[cdc-wdm0]:   gateway 10.143.125.1
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9452] modem-broadband[cdc-wdm0]:   DNS 172.30.139.16
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9452] modem-broadband[cdc-wdm0]:   DNS 172.31.139.16
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9526] device (cdc-wdm0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')                                                                                               
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9547] device (cdc-wdm0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')                                                                                             
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9550] device (cdc-wdm0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')                                                                                            
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9551] manager: NetworkManager state is now CONNECTED_LOCAL                                                                                                                                             
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9561] manager: NetworkManager state is now CONNECTED_SITE                                                                                                                                              
Mar 21 16:34:02 X250.ThinkPad NetworkManager[1542]: <info>  [1521650042.9562] policy: set '3' (wwp0s20u4) as default for IPv4 routing and DNS                                                                                                                                  
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:34:03 dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...                                                                                                                   
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: <13>Mar 21 16:34:03 dns-resolver: You can find my version in /etc/resolv.conf.netconfig                                                                                                                                    
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: ATTENTION: You have modified /etc/resolv.conf.  Leaving it untouched...                                                                                                                                                    
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: You can find my version in /etc/resolv.conf.netconfig ...                                                                                                                                                                  
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: nisdomainname: you must be root to change the domain name                                                                                                                                                                  
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: <warn>  [1521650043.1077] dns-mgr: could not commit DNS changes: Error calling netconfig: exited with status 20                                                                                                            
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: <info>  [1521650043.1077] device (cdc-wdm0): Activation: successful, device activated.

The log snippet posted doesn’t suggest any connection issues with the WWAN device, although I did a few messages related to /etc/resov.conf not being modified…

Mar 21 16:34:03 dns-resolver: You can find my version in /etc/resolv.conf.netconfig
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: ATTENTION: You have modified /etc/resolv.conf.  Leaving it untouched...
Mar 21 16:34:03 X250.ThinkPad NetworkManager[1542]: You can find my version in /etc/resolv.conf.netconfig ...

That will happen if NM think that it shouldn’t touch it. That might be affecting your ability to to resolve perhaps if no valid nameserver(s) defined there…

cat /etc/resolv.conf

You could also just remove it, and reconnect. Then NM will recreate it.

the WWAN icon can ghost (disappear but leave empty space in system tray.)

I recall similar behaviour from years ago, but it didn’t affect the device behaviour - just a front-end issue.

You genius!!!

Deleting file then reconnecting resolved completely!!!

I’m glad it was something simple! :slight_smile: