Sierra EM7455 / Dell dw5811e

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mormegil

Sierra EM7455 / Dell dw5811e

Post by mormegil »

Hello everyone,

I am using Linux Mint since a few years now; yet I hardly ever reach out for help. Most of the things I can work-around on my own, but this one seems like too much...

I am using Dell Latitude 7480 with Linux Mint 18.3 and with the newest kernel available, 4.13.0-37. I have bought a WWAN modem recently, namely Sierra EM7455. The problem is that it cannot connect to the network. However, I could do that on Windows 10.

I have googled a lot on this problem and I saw that there was a lot of trouble, somewhere around a year ago, with even detecting the device correctly. I think these issues do not apply to me, as the modem is detected.

I have figured these outputs might be useful to debug my issue:

Code: Select all

bartlomiej@Latitude-7480 ~ $ sudo apt-get install libqmi-utils
Reading package lists...
Building dependency tree...
Reading state information...
libqmi-utils is already the newest version (1.16.2-1ubuntu0.16.04.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

bartlomiej@Latitude-7480 ~ $ sudo apt-get install libmbim-utils
Reading package lists...
Building dependency tree...
Reading state information...
libmbim-utils is already the newest version (1.14.0-1ubuntu0.16.04.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

bartlomiej@Latitude-7480 ~ $ sudo apt-get install modemmanager
Reading package lists... Done
Building dependency tree       
Reading state information... Done
modemmanager is already the newest version (1.6.4-1ubuntu0.16.04.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

bartlomiej@Latitude-7480 ~ $ mmcli -L

Found 1 modems:
	/org/freedesktop/ModemManager1/Modem/0 [Dell] MBIM [413C:81B6]


bartlomiej@Latitude-7480 ~ $ mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '55eead2494c3db24ea3c40f40fb5a1a08fc41f0e')
  -------------------------
  Hardware |   manufacturer: 'Dell'
           |          model: 'MBIM [413C:81B6]'
           |       revision: 'MPSS.BO.2.5-00112-M9635TAAAANA'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '359073060006545'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2'
           |        drivers: 'qcserial, cdc_mbim'
           |         plugin: 'Dell'
           |   primary port: 'cdc-wdm1'
           |          ports: 'ttyUSB2 (at), cdc-wdm1 (mbim), wwp0s20f0u2i12 (net)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin2 (3)'
           |          state: 'registered'
           |    power state: 'on'
           |    access tech: 'umts'
           | signal quality: '35' (cached)
  -------------------------
  Modes    |      supported: 'allowed: 3g, 4g; preferred: none'
           |        current: 'allowed: 3g, 4g; preferred: none'
  -------------------------
  Bands    |      supported: 'unknown'
           |        current: 'unknown'
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: 'xxxxxxxxxxxxxxx'
           |  enabled locks: 'fixed-dialing'
           |    operator id: '26001'
           |  operator name: 'Aero2'
           |   subscription: 'unknown'
           |   registration: 'home'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

  -------------------------
  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/2'


bartlomiej@Latitude-7480 ~ $ lsmod | grep wwan
usb_wwan               20480  1 qcserial
usbserial              45056  4 qcserial,usb_wwan

bartlomiej@Latitude-7480 ~ $ dmesg | grep mbim
[    5.813418] cdc_mbim 2-2:1.12: cdc-wdm1: USB WDM device
[    5.813541] cdc_mbim 2-2:1.12 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-2, CDC MBIM, 6e:52:83:a5:4b:b1
[    5.813949] usbcore: registered new interface driver cdc_mbim
[    6.014271] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: renamed from wwan0
Please, if there is anyone who might have some ideas what to do with my issue.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13773
Joined: Fri Feb 21, 2014 8:17 am

Re: Sierra EM7455 / Dell dw5811e

Post by JeremyB »

Is the device listed in results from terminal for lsusb
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

I believe this is the first position listed, as the ID matches the one I received from mmcli -L: 413c:81b6

My lsusb output:

Code: Select all

bartlomiej@Latitude-7480 ~ $ lsusb
Bus 002 Device 002: ID 413c:81b6 Dell Computer Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1bcf:2b96 Sunplus Innovation Technology Inc. 
Bus 001 Device 005: ID 0a5c:5834 Broadcom Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
JeremyB
Level 21
Level 21
Posts: 13773
Joined: Fri Feb 21, 2014 8:17 am

Re: Sierra EM7455 / Dell dw5811e

Post by JeremyB »

What modules are loaded?

Code: Select all

lsmod
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

The complete lsmod output:

Code: Select all

bartlomiej@Latitude-7480 ~ $ lsmod
Module                  Size  Used by
ses                    20480  0
enclosure              16384  1 ses
scsi_transport_sas     40960  1 ses
uas                    24576  0
usb_storage            69632  1 uas
pci_stub               16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               458752  3 vboxnetadp,vboxnetflt,vboxpci
ccm                    20480  3
rfcomm                 77824  14
snd_hda_codec_hdmi     49152  1
bnep                   20480  2
hid_alps               16384  0
dell_smm_hwmon         16384  0
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
arc4                   16384  2
kvm_intel             204800  0
dell_rbtn              16384  0
dell_laptop            20480  1
kvm                   589824  1 kvm_intel
irqbypass              16384  1 kvm
binfmt_misc            20480  1
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_codec_realtek    94208  1
pcbc                   16384  0
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_soc_skl            77824  0
aesni_intel           188416  2
snd_soc_skl_ipc        49152  1 snd_soc_skl
nls_iso8859_1          16384  2
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
snd_soc_sst_dsp        32768  1 snd_soc_skl_ipc
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
snd_hda_ext_core       24576  1 snd_soc_skl
intel_cstate           20480  0
snd_soc_sst_match      16384  1 snd_soc_skl
intel_rapl_perf        16384  0
snd_soc_core          229376  1 snd_soc_skl
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
iwlmvm                385024  0
snd_hda_intel          40960  5
snd_hda_codec         126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
mac80211              782336  1 iwlmvm
input_leds             16384  0
dell_wmi               16384  0
dell_smbios            16384  2 dell_wmi,dell_laptop
snd_hda_core           81920  7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
dcdbas                 16384  1 dell_smbios
snd_hwdep              20480  1 snd_hda_codec
wmi_bmof               16384  0
serio_raw              16384  0
snd_pcm                98304  9 snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
iwlwifi               249856  1 iwlmvm
snd_rawmidi            32768  1 snd_seq_midi
rtsx_pci_ms            20480  0
memstick               16384  1 rtsx_pci_ms
cfg80211              614400  3 iwlmvm,iwlwifi,mac80211
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
snd                    81920  22 snd_compress,snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_soc_core,snd_pcm
soundcore              16384  1 snd
cdc_mbim               16384  0
btusb                  45056  0
cdc_wdm                20480  2 cdc_mbim
btrtl                  16384  1 btusb
cdc_ncm                36864  1 cdc_mbim
usbnet                 45056  2 cdc_mbim,cdc_ncm
mii                    16384  1 usbnet
qcserial               20480  1
usb_wwan               20480  1 qcserial
usbserial              45056  4 qcserial,usb_wwan
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  40960  2 uvcvideo,videodev
joydev                 20480  0
shpchp                 36864  0
mei_me                 40960  0
idma64                 20480  0
virt_dma               16384  1 idma64
mei                   102400  1 mei_me
intel_pch_thermal      16384  0
processor_thermal_device    16384  0
intel_lpss_pci         20480  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
hci_uart              106496  0
btbcm                  16384  2 hci_uart,btusb
serdev                 20480  1 hci_uart
btqca                  16384  1 hci_uart
btintel                16384  2 hci_uart,btusb
bluetooth             548864  43 btrtl,hci_uart,btintel,btqca,bnep,btbcm,rfcomm,btusb
ecdh_generic           24576  1 bluetooth
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
int3403_thermal        16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
tpm_crb                16384  0
mac_hid                16384  0
intel_hid              16384  0
sparse_keymap          16384  2 dell_wmi,intel_hid
int3400_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_pad              180224  0
acpi_als               16384  0
kfifo_buf              16384  1 acpi_als
industrialio           69632  2 acpi_als,kfifo_buf
ip6t_REJECT            16384  1
nf_reject_ipv6         16384  1 ip6t_REJECT
nf_log_ipv6            16384  5
xt_hl                  16384  22
ip6t_rt                16384  3
nf_conntrack_ipv6      20480  8
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
nf_log_ipv4            16384  5
nf_log_common          16384  2 nf_log_ipv6,nf_log_ipv4
xt_LOG                 16384  10
xt_limit               16384  13
xt_tcpudp              16384  18
xt_addrtype            16384  4
nf_conntrack_ipv4      16384  8
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  16
ip6table_filter        16384  1
ip6_tables             28672  1 ip6table_filter
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nf_nat_ftp             16384  0
nf_nat                 28672  1 nf_nat_ftp
nf_conntrack_ftp       20480  1 nf_nat_ftp
nf_conntrack          131072  8 nf_conntrack_ipv6,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_broadcast,nf_nat_ftp,nf_conntrack_netbios_ns,xt_conntrack,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
iptable_filter         16384  1
parport_pc             32768  0
ip_tables              24576  1 iptable_filter
x_tables               40960  13 xt_LOG,ipt_REJECT,ip_tables,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,xt_addrtype,ip6t_rt,xt_conntrack,ip6_tables,xt_hl
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
autofs4                40960  2
btrfs                1101824  0
xor                    24576  1 btrfs
raid6_pq              118784  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_mirror,dm_region_hash
hid_generic            16384  0
usbhid                 49152  0
mmc_block              36864  2
rtsx_pci_sdmmc         24576  0
i915                 1830912  60
i2c_algo_bit           16384  1 i915
drm_kms_helper        167936  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
e1000e                249856  0
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
nvme                   32768  5
ptp                    20480  1 e1000e
pps_core               20480  1 ptp
nvme_core              53248  7 nvme
drm                   360448  8 i915,drm_kms_helper
rtsx_pci               57344  2 rtsx_pci_sdmmc,rtsx_pci_ms
wmi                    24576  2 dell_wmi,wmi_bmof
i2c_hid                20480  0
hid                   118784  5 i2c_hid,hid_generic,usbhid,hid_alps
video                  40960  3 dell_wmi,dell_laptop,i915
pinctrl_sunrisepoint    28672  0
pinctrl_intel          20480  1 pinctrl_sunrisepoint
JeremyB
Level 21
Level 21
Posts: 13773
Joined: Fri Feb 21, 2014 8:17 am

Re: Sierra EM7455 / Dell dw5811e

Post by JeremyB »

Post results for

Code: Select all

usb-devices
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

Output for usb-devices:

Code: Select all

bartlomiej@Latitude-7480 ~ $ usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=12
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.13
S:  Manufacturer=Linux 4.13.0-37-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=09 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0a5c ProdID=5834 Rev=01.01
S:  Manufacturer=Broadcom Corp
S:  Product=5880
S:  SerialNumber=0123456789ABCD
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=fe(app. ) Sub=00 Prot=00 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 3 Cls=0b(scard) Sub=00 Prot=00 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 3 Cls=0b(scard) Sub=00 Prot=00 Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c52f Rev=22.01
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bcf ProdID=2b96 Rev=68.25
S:  Manufacturer=CNFGH19N295172003492
S:  Product=Integrated_Webcam_HD
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T:  Bus=01 Lev=01 Prnt=01 Port=06 Cnt=04 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0a2b Rev=00.10
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 6
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.13
S:  Manufacturer=Linux 4.13.0-37-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  6 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=413c ProdID=81b6 Rev=ff.ff
S:  Manufacturer=Sierra Wireless, Incorporated
S:  Product=Dell Wireless 5811e Gobi(TM)4G LTE Mobile Broadband Card
S:  SerialNumber=001027009999999
C:  #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=504mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
/usr/bin/usb-devices: line 79: printf: c: invalid number
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
/usr/bin/usb-devices: line 79: printf: d: invalid number
I:  If#= 0 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial
Edit: I am not sure if I was clear enough, but I can see the device listed in my Network Manager etc. I could set the APN settings (which I have triple-checked if they were correct) and I can try to connect. The only result is that the attempt is failed. See:
1) I choose the connection (in this case, Aero2, mobile internet provider I have the SIM card from):
Selection_084.png
2) Connection attempt:
Selection_082.png
3) Connection failed:
Selection_083.png
I was trying to read out the ModemManager communication with sudo /usr/sbin/ModemManager --debug command, but it was too much for me to analyse.
JeremyB
Level 21
Level 21
Posts: 13773
Joined: Fri Feb 21, 2014 8:17 am

Re: Sierra EM7455 / Dell dw5811e

Post by JeremyB »

You might want to look at

Code: Select all

dmesg | tail -20
After it fails to connect, to see if there are clues
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

dmesg | tail -20 output:

Code: Select all

bartlomiej@Latitude-7480 ~ $ dmesg | tail -20
[27482.917679] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[27482.925724] wlp2s0: deauthenticating from 90:72:82:3c:7d:3c by local choice (Reason: 3=DEAUTH_LEAVING)
[27482.926834] wlp2s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
[27731.392466] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[27731.392473] iwlwifi 0000:02:00.0: reporting RF_KILL (radio enabled)
[27731.621897] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[27731.680699] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[27736.143454] wlp2s0: authenticate with 90:72:82:3c:7d:3c
[27736.152864] wlp2s0: send auth to 90:72:82:3c:7d:3c (try 1/3)
[27736.160214] wlp2s0: authenticated
[27736.163616] wlp2s0: associate with 90:72:82:3c:7d:3c (try 1/3)
[27736.167475] wlp2s0: RX AssocResp from 90:72:82:3c:7d:3c (capab=0x11 status=0 aid=2)
[27736.169641] wlp2s0: associated
[27736.169743] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[27736.218878] wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 90:72:82:3c:7d:3c
[27756.886407] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[27756.886414] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[27756.887838] wlp2s0: deauthenticating from 90:72:82:3c:7d:3c by local choice (Reason: 3=DEAUTH_LEAVING)
[27756.893030] wlp2s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
[27764.101359] perf: interrupt took too long (10210 > 10012), lowering kernel.perf_event_max_sample_rate to 19500
I thought it might be useful to search dmesg for output related to WWAN interface:
iwconfig output (wifi turned off):

Code: Select all

bartlomiej@Latitude-7480 ~ $ iwconfig
lo        no wireless extensions.

wwp0s20f0u2i12  no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          
enp0s31f6  no wireless extensions.
I presume wwp0s20f0u2i12 is the WWAN interface. I do not know what the enp0s31f6 is.

dmesg | grep wwp0s20f0u2i12 output:

Code: Select all

bartlomiej@Latitude-7480 ~ $ dmesg | grep wwp0s20f0u2i12
[    6.221352] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: renamed from wwan0
[  361.533261] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: unregister 'cdc_mbim' usb-0000:00:14.0-2, CDC MBIM
[  369.684112] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: renamed from wwan0
[ 5391.072404] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: unregister 'cdc_mbim' usb-0000:00:14.0-2, CDC MBIM
[ 5399.206568] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: renamed from wwan0
[ 9955.933396] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: unregister 'cdc_mbim' usb-0000:00:14.0-2, CDC MBIM
[ 9963.961439] cdc_mbim 2-2:1.12 wwp0s20f0u2i12: renamed from wwan0
JeremyB
Level 21
Level 21
Posts: 13773
Joined: Fri Feb 21, 2014 8:17 am

Re: Sierra EM7455 / Dell dw5811e

Post by JeremyB »

I have no idea at this time as there are no errors showing in the log
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

OK, I've tried the debug mode of ModemManager once more:
The complete sudo /usr/sbin/ModemManager --debug output:

Code: Select all

https://pastebin.com/494M2zM1
The part which is prompted during/after the connection attempt:

Code: Select all

https://pastebin.com/1X9mr5JX
I had to use pastebin as I was not allowed to post 237047 characters (the limit is 60000).
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

I'm not sure what made the difference, it just might be the newest kernel update (4.15.0-23), but the mobile broadband has successfully connected and works like charm :D :D (actually writing this post while connected to the Internet with mobile broadband :wink: ). What is even more satisfactory, that on Windows 10 the connection is very unstable (it takes a long time to connect and sometimes it throws some error, like "wrong APN", while it is unchanged and correct), and here on Linux it has connected within a second.
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

Hello everyone again,
Unfortunately, the Mobile Broadband modem stopped working. It does not work with previously mentioned kernel loaded (4.15.0-23) nor with any newer one. I tried to debug the connection with the journalctl -f command; apparently, the error is "UNKNOWN"..... :?
Please have a look at the command's output:

Code: Select all

Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7008] manager: rfkill: WWAN hardware radio set enabled
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7010] modem["cdc-wdm1"]: modem state changed, 'disabled' --> 'enabling' (reason: user preference)
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7012] audit: op="radio-control" arg="wwan-enabled:1" pid=1392 uid=1000 result="success"
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7020] device (cdc-wdm1): state change: unavailable -> disconnected (reason 'modem-available', sys-iface-state: 'managed')
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7050] manager: rfkill: WWAN now enabled by radio killswitch
Sep 20 12:11:02 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
Sep 20 12:11:02 Latitude-7480 ModemManager[890]: <warn>  (ttyUSB2): port attributes not fully set
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7186] device (cdc-wdm1): Activation: starting connection 'Aero2' (c07e96b2-16e1-40b0-a737-e540c32b0c29)
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7191] audit: op="connection-activate" uuid="c07e96b2-16e1-40b0-a737-e540c32b0c29" name="Aero2" pid=1392 uid=1000 result="success"
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7206] device (cdc-wdm1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 20 12:11:02 Latitude-7480 NetworkManager[3445]: <info>  [1537438262.7208] manager: NetworkManager state is now CONNECTING
Sep 20 12:11:02 Latitude-7480 ModemManager[890]: <info>  Simple connect started...
Sep 20 12:11:02 Latitude-7480 ModemManager[890]: <info>  Simple connect state (4/8): Wait to get fully enabled
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> searching)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> searching)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Simple connect state (5/8): Register
Sep 20 12:11:03 Latitude-7480 NetworkManager[3445]: <info>  [1537438263.2373] modem["cdc-wdm1"]: modem state changed, 'enabling' --> 'searching' (reason: user-requested)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (searching -> registering)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (searching -> registered)
Sep 20 12:11:03 Latitude-7480 NetworkManager[3445]: <info>  [1537438263.7263] modem["cdc-wdm1"]: modem state changed, 'searching' --> 'registered' (reason: unknown)
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Simple connect state (6/8): Bearer
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Simple connect state (7/8): Connect
Sep 20 12:11:03 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Sep 20 12:11:03 Latitude-7480 NetworkManager[3445]: <info>  [1537438263.8509] modem["cdc-wdm1"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)
Sep 20 12:11:07 Latitude-7480 NetworkManager[3445]: <info>  [1537438267.7541] modem["cdc-wdm1"]: modem state changed, 'connecting' --> 'registered' (reason: user-requested)
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect started...
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (4/8): Wait to get fully enabled
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (5/8): Register
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (6/8): Bearer
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (7/8): Connect
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Sep 20 12:11:07 Latitude-7480 NetworkManager[3445]: <info>  [1537438267.7677] modem["cdc-wdm1"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)
Sep 20 12:11:07 Latitude-7480 NetworkManager[3445]: <info>  [1537438267.9455] modem["cdc-wdm1"]: modem state changed, 'connecting' --> 'registered' (reason: user-requested)
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect started...
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (4/8): Wait to get fully enabled
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (5/8): Register
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (6/8): Bearer
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Simple connect state (7/8): Connect
Sep 20 12:11:07 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Sep 20 12:11:07 Latitude-7480 NetworkManager[3445]: <info>  [1537438267.9559] modem["cdc-wdm1"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Sep 20 12:11:08 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered)
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <info>  [1537438268.1376] modem["cdc-wdm1"]: modem state changed, 'connecting' --> 'registered' (reason: user-requested)
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <warn>  [1537438268.1378] modem-broadband[cdc-wdm1]: failed to connect modem: Unknown error (50)
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <info>  [1537438268.1378] device (cdc-wdm1): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <info>  [1537438268.1384] manager: NetworkManager state is now DISCONNECTED
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <warn>  [1537438268.1395] device (cdc-wdm1): Activation: failed for connection 'Aero2'
Sep 20 12:11:08 Latitude-7480 NetworkManager[3445]: <info>  [1537438268.1408] device (cdc-wdm1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Sep 20 12:11:23 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (home -> unknown)
Sep 20 12:11:23 Latitude-7480 ModemManager[890]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> searching)
Does anybody have ideas about what could be a possible reason behind such behaviour? On Windows 10 the connection works (recently) pretty well.
Thanks in advance for your help!
jape3

Re: Sierra EM7455 / Dell dw5811e

Post by jape3 »

I've found that mmcli is usually quite helpful with these problems. Try mmcli -L and then mmcli -m #, where # is the number given by mmcli -L (usually 0).
mormegil

Re: Sierra EM7455 / Dell dw5811e

Post by mormegil »

Ok, here you are. Apparently, the # number is 3 in my case. However, everything seems to be fine (I guess):

Code: Select all

bartlomiej@Latitude-7480:~$ mmcli -L

Found 1 modems:
	/org/freedesktop/ModemManager1/Modem/3 [Dell] MBIM [413C:81B6]

bartlomiej@Latitude-7480:~$ mmcli -m 3

/org/freedesktop/ModemManager1/Modem/3 (device id '55eead2494c3db24ea3c40f40fb5a1a08fc41f0e')
  -------------------------
  Hardware |   manufacturer: 'Dell'
           |          model: 'MBIM [413C:81B6]'
           |       revision: 'MPSS.BO.2.5-00112-M9635TAAAANA'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '3590730xxxxxxxx'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2'
           |        drivers: 'qcserial, cdc_mbim'
           |         plugin: 'Dell'
           |   primary port: 'cdc-wdm0'
           |          ports: 'ttyUSB2 (at), cdc-wdm0 (mbim), wwp0s20f0u2i12 (net)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin2 (3)'
           |          state: 'registered'
           |    power state: 'on'
           |    access tech: 'umts'
           | signal quality: '25' (cached)
  -------------------------
  Modes    |      supported: 'allowed: 3g, 4g; preferred: none'
           |        current: 'allowed: 3g, 4g; preferred: none'
  -------------------------
  Bands    |      supported: 'unknown'
           |        current: 'unknown'
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: '3590730xxxxxxxx'
           |  enabled locks: 'fixed-dialing'
           |    operator id: '26001'
           |  operator name: 'Aero2'
           |   subscription: 'unknown'
           |   registration: 'home'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/3'

  -------------------------
  Bearers  |          paths: 'none'
Locked

Return to “Networking”