Hey guys,
Today I got an extra data card from my mobile carrier, but just adding a mobile broadband-connection in Network Manager didn't work:
mmcli getting status on the modem showed state: failed and reason: sim-missing. This happened both before and after I actually inserted the sim card:
sudo mmcli -m 0
--------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: cd3de5c794218716e31111877928507503c0c86a
--------------------------
Hardware | manufacturer: FIBOCOM
| model: L831-EAU-00
| revision: L831_V2E.0C.00.10
| h/w revision: L831-EAU-00 v1.0.0
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 862727032414430
--------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
| drivers: cdc_acm, cdc_mbim
| plugin: Fibocom
| primary port: cdc-wdm0
| ports: wwp0s20f0u3 (net), cdc-wdm0 (mbim), ttyACM0 (at)
--------------------------
Status | state: failed
| failed reason: sim-missing
| power state: on
| signal quality: 0% (cached)
--------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: any; preferred: none
--------------------------
Bands | supported: utran-1, utran-8, eutran-1, eutran-3, eutran-7, eutran-8,
| eutran-20, eutran-28
--------------------------
IP | supported: ipv4, ipv6, ipv4v6
Tried resetting the modem by running sudo mmcli -m 0 -r. First time, I received error message (
error: couldn't reset the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Cancelled: AT command was cancelled'), then after retrying the command, it gave me a different error (
error: couldn't find modem at '/org/freedesktop/ModemManager1/Modem/0'`)
Then I just tried the next modem in line (I saw in the folder tree that it had changed from 0 to 1):
sudo mmcli -m 1
--------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/1
| device id: cd3de5c794218716e31111877928507503c0c86a
--------------------------
Hardware | manufacturer: FIBOCOM
| model: L831-EAU-00
| revision: L831_V2E.0C.00.10
| h/w revision: L831-EAU-00 v1.0.0
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 862727032414430
--------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
| drivers: cdc_mbim, cdc_acm
| plugin: Fibocom
| primary port: cdc-wdm0
| ports: wwp0s20f0u3 (net), cdc-wdm0 (mbim), ttyACM0 (at)
--------------------------
Status | lock: sim-pin
| unlock retries: sim-pin (3)
| state: locked
| power state: on
| signal quality: 0% (cached)
--------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: 3g, 4g; preferred: 4g
--------------------------
Bands | supported: utran-1, utran-8, eutran-1, eutran-3, eutran-7, eutran-8,
| eutran-20, eutran-28
| current: utran-1, utran-8, eutran-1, eutran-3, eutran-7, eutran-8,
| eutran-20, eutran-28
--------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
At least now it recognizes the sim card.
Then I try to connect through the sim card with nmcli:
nmcli d c cdc-wdm0 --ask
PIN code is needed for the mobile broadband device
PIN (gsm.pin): xxxx
Error: Timeout 90 sec expired.
In the meantime, I see that dmesg has been spammed with the following error: cdc_mbim 1-3:1.0: nonzero urb status received: -EPIPE
Just before these errors, it shows this:
[ 540.963562] usb 1-3: new high-speed USB device number 8 using xhci_hcd
[ 541.098900] usb 1-3: New USB device found, idVendor=2cb7, idProduct=0002, bcdDevice=17.29
[ 541.098905] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 541.098908] usb 1-3: Product: L831-EAU-00
[ 541.098911] usb 1-3: Manufacturer: FIBOCOM
[ 541.098913] usb 1-3: SerialNumber: 004999010640000
[ 541.161227] cdc_mbim 1-3:1.0: setting rx_max = 16384
[ 541.162318] cdc_mbim 1-3:1.0: cdc-wdm0: USB WDM device
[ 541.162789] cdc_mbim 1-3:1.0 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-3, CDC MBIM, ee:b5:57:32:ef:3f
[ 541.165840] cdc_acm 1-3:1.2: ttyACM0: USB ACM device
[ 541.216324] cdc_mbim 1-3:1.0 wwp0s20f0u3: renamed from wwan0
How can I fix this error?