You are not logged in.

#1 2016-02-29 21:50:07

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

[solved] Sierra EM7345 LTE doesn't connect

Hi,
I have ThinkPad t450s with Sierra EM7345 LTE modem, which I can't get to work. I use GNOME with ModemManager installed (all up-to-date) and whenever I enable the device in control panel and add connection, the connection doesn't show up. When I leave the control panel and open it again, the device is disabled. I have found this topic and this is output in my system:

~ lsusb | grep Sierra
Bus 001 Device 040: ID 1199:a001 Sierra Wireless, Inc.
~ lsmod | grep cdc
cdc_mbim               16384  0
cdc_wdm                20480  2 cdc_mbim
cdc_ncm                28672  1 cdc_mbim
usbnet                 36864  2 cdc_mbim,cdc_ncm
cdc_acm                32768  0
usbcore               196608  15 uas,btusb,uvcvideo,usb_storage,usbserial,ehci_hcd,ehci_pci,usbnet,cdc_mbim,cdc_acm,cdc_ncm,cdc_wdm,xhci_hcd,xhci_pci
~ cat /sys/module/cdc_ncm/parameters/prefer_mbim
Y
~ ls -l /dev/cdc*
crw------- 1 root root 180, 0 02-29 20:46 /dev/cdc-wdm0
~ sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps
error: couldn't open the MbimDevice: Transaction timed out

Also, this may be relevant:

~ sudo journalctl -e
lut 29 22:40:45 vimes ModemManager[445]: <info>  Creating modem with plugin 'Generic' and '3' ports
lut 29 22:40:45 vimes ModemManager[445]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4' successfully created
lut 29 22:40:45 vimes ModemManager[445]: opening device...
lut 29 22:40:45 vimes ModemManager[445]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
lut 29 22:40:45 vimes org.gnome.OnlineAccounts[1100]: (goa-daemon:1199): GLib-GIO-CRITICAL **: g_simple_async_result_take_error: assertion 'error != NULL' failed
lut 29 22:40:45 vimes dhclient[1049]: DHCPREQUEST on wlp3s0 to 255.255.255.255 port 67
lut 29 22:40:46 vimes dhclient[1049]: DHCPACK from 192.168.0.1
lut 29 22:40:46 vimes NetworkManager[465]: <info>    address 192.168.0.101
lut 29 22:40:46 vimes NetworkManager[465]: <info>    plen 24 (255.255.255.0)
lut 29 22:40:46 vimes NetworkManager[465]: <info>    gateway 192.168.0.1
lut 29 22:40:46 vimes NetworkManager[465]: <info>    server identifier 192.168.0.1
lut 29 22:40:46 vimes NetworkManager[465]: <info>    lease time 4294967295
lut 29 22:40:46 vimes NetworkManager[465]: <info>    nameserver '192.168.0.1'
lut 29 22:40:46 vimes NetworkManager[465]: <info>  (wlp3s0): DHCPv4 state changed unknown -> bound
lut 29 22:40:46 vimes NetworkManager[465]: <info>  (wlp3s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
lut 29 22:40:46 vimes NetworkManager[465]: <info>  (wlp3s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
lut 29 22:40:46 vimes NetworkManager[465]: <info>  (wlp3s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
lut 29 22:40:46 vimes NetworkManager[465]: <info>  NetworkManager state is now CONNECTED_LOCAL
lut 29 22:40:46 vimes dhclient[1049]: bound to 192.168.0.101 -- renewal in 2147483648 seconds.
lut 29 22:40:46 vimes NetworkManager[465]: <info>  NetworkManager state is now CONNECTED_GLOBAL
lut 29 22:40:46 vimes NetworkManager[465]: <info>  Policy set 'quirm' (wlp3s0) as default for IPv4 routing and DNS.
lut 29 22:40:46 vimes NetworkManager[465]: <info>  (wlp3s0): Activation: successful, device activated.
lut 29 22:40:46 vimes NetworkManager[465]: <info>  startup complete
~ _ dmesg | grep wdm0
[    3.260429] cdc_mbim 2-4:1.0: cdc-wdm0: USB WDM device
~ sudo dmesg | grep cdc 
[    3.238220] cdc_acm 2-4:1.2: ttyACM0: USB ACM device
[    3.239111] usbcore: registered new interface driver cdc_acm
[    3.239111] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.242347] usbcore: registered new interface driver cdc_ncm
[    3.243186] usbcore: registered new interface driver cdc_wdm
[    3.260429] cdc_mbim 2-4:1.0: cdc-wdm0: USB WDM device
[    3.260638] cdc_mbim 2-4:1.0 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-4, CDC MBIM, 4a:d4:29:d2:de:90
[    3.260890] usbcore: registered new interface driver cdc_mbim
[    3.262468] cdc_mbim 2-4:1.0 wwp0s20u4: renamed from wwan0

I'm looking for any help, because googling about this particular modem and Linux gives me answer, that it should work out-of-the box.

Last edited by PiotrPyclik (2016-03-03 05:58:27)

Offline

#2 2016-03-01 04:42:28

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [solved] Sierra EM7345 LTE doesn't connect

Does this modem shows up in networkmanager applet in your gnome panel? As much as I remember, once you have enabled modemmanager service, you can connect and disconnect through your network-manager applet.

Offline

#3 2016-03-01 06:33:51

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: [solved] Sierra EM7345 LTE doesn't connect

It shows up with label "modem broadband disabled". ModemManager service is enabled:

~ sudo systemctl status ModemManager
● ModemManager.service - Modem Manager
   Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; enabled; vendor preset: disabled)
   Active: active (running) since pon 2016-02-29 22:40:35 CET; 8h ago
 Main PID: 445 (ModemManager)
    Tasks: 5 (limit: 512)
   CGroup: /system.slice/ModemManager.service
           ├─445 /usr/bin/ModemManager
           └─780 /usr/lib/libmbim/mbim-proxy

mar 01 06:51:01 vimes ModemManager[445]: <info>  (usbmisc/cdc-wdm0): released by modem /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4
mar 01 06:51:01 vimes ModemManager[445]: <info>  (tty/ttyACM0): released by modem /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4
mar 01 06:51:08 vimes ModemManager[445]: opening device...
mar 01 06:51:08 vimes ModemManager[445]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
mar 01 06:51:17 vimes ModemManager[445]: <info>  Creating modem with plugin 'Generic' and '3' ports
mar 01 06:51:17 vimes ModemManager[445]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4' successfully created
mar 01 06:51:17 vimes ModemManager[445]: opening device...
mar 01 06:51:17 vimes ModemManager[445]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512
mar 01 06:51:27 vimes ModemManager[445]: <warn>  Modem couldn't be initialized: Couldn't check unlock status: SIM not inserted
mar 01 06:51:27 vimes ModemManager[445]: <info>  Modem: state changed (unknown -> failed)

SIM card is inserted and nothing changes, when I remove it and insert again.

Offline

#4 2016-03-01 07:05:18

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [solved] Sierra EM7345 LTE doesn't connect

looks like modem is detected(so no driver issue) but modemmanager is not able to initialize the modem. Post output of "rfkill list" to check that your modem is not soft/hard-blocked.  If not another alternative here is to try either netctl or wvdial.

To use netctl, first disable modem-manager

sudo netctl disable ModemManager
sudo netctl stop ModemManager

install netctl with pacman, look into /etc/netctl/examples for  example configuration file "mobile_ppp", copy it to /etc/netctl and make appropriate changes, esp., give accesspointname for your service provider,  and change interface to ttyACM0 or 1 or 2 (check your /dev folder). In my case ttyACM1 and ttyACM2 both works.

you can start & check status of connection with

sudo netctl start mobile_ppp
sudo netctl  status mobile_ppp

Last edited by Docbroke (2016-03-01 07:06:42)

Offline

#5 2016-03-01 22:04:57

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: [solved] Sierra EM7345 LTE doesn't connect

It seems, that my modem is soft blocked. I've configured netctl profile and I get this:

~ _ sudo netctl status mobile_ppp
● netctl@mobile_ppp.service - Networking for netctl profile mobile_ppp
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: active (exited) since wto 2016-03-01 22:59:21 CET; 1s ago
     Docs: man:netctl.profile(5)
  Process: 18761 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
 Main PID: 18761 (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/system-netctl.slice/netctl@mobile_ppp.service
           ├─18780 pppd file /run/network/mobile_ppp.ttyACM0.mobile_ppp/options
           └─18792 /usr/sbin/chat -v -t15 -f /run/network/mobile_ppp.ttyACM0.mobile_ppp/modem.chat

mar 01 22:59:22 vimes chat[18792]: expect (OK)
mar 01 22:59:22 vimes chat[18792]: ^M
mar 01 22:59:22 vimes chat[18792]: AT+CFUN=1^M^M
mar 01 22:59:22 vimes chat[18792]: OK
mar 01 22:59:22 vimes chat[18792]:  -- got it
mar 01 22:59:22 vimes chat[18792]: send (AT^M)
mar 01 22:59:22 vimes chat[18792]: expect (OKd)
mar 01 22:59:22 vimes chat[18792]: ^M
mar 01 22:59:22 vimes chat[18792]: AT^M^M
mar 01 22:59:22 vimes chat[18792]: OK^M

Internet connection still doesn't work, but at this point I'm not sure, if my configuration of netctl profile is correct. I will check it with another SIM card, I have.

Offline

#6 2016-03-02 04:17:41

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [solved] Sierra EM7345 LTE doesn't connect

what is the output of

rfkill list

Offline

#7 2016-03-02 20:02:06

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: [solved] Sierra EM7345 LTE doesn't connect

This is the output:

~ sudo rfkill list
[sudo] password for piotr: 
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
~ 

The part that I don't understand at all, is that before my attempts to connect with netctl, output to rfkill list stated that Wireless WAN was soft blocked (it was yes). Today, when I was trying to answer to your post, I noticed that it isn't soft blocked anymore and I was able to connect to GSM network with ModemManager. Everything seems to work just fine. Thank you for your help.

Offline

#8 2016-03-03 02:44:39

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [solved] Sierra EM7345 LTE doesn't connect

well, congrats on solving, If similar error occur in future you can use "rfkill unblock wwan", for now kindly mark this thread solved by prepending [solved] to the title (by editing your first post)

Offline

Board footer

Powered by FluxBB