Modem Manager L860 and ZBT 1608 Not Detecting Each Other With Logfiles

You need to install kmod-usb-acm

AZ,

That resolved the interfaces ui not detecting the modem and it is now found by modem manager. There is an new error when trying to connect to the network. Is this an error because of the ISP service connection?

Thu Mar 30 20:05:12 2023 daemon.notice netifd: 4GLTE (7306): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout: Network timeout'
Thu Mar 30 20:05:12 2023 daemon.notice netifd: 4GLTE (7529): stopping network
Thu Mar 30 20:05:13 2023 daemon.notice netifd: 4GLTE (7529): couldn't load bearer path
Thu Mar 30 20:05:13 2023 daemon.notice netifd: Interface '4GLTE' is now down

Sorry, I'm not very good in MM debugging and I'm not a big fan of L860 :wink:

There is an additional message with modem manager

Error Modem Bearer Teardown In Progress.

How con I verify that the SIM and the data stored on it is being detected with the terminal or modem manager?

This is the logfile connection data from the modem. It stops at the 5th step.

Fri Mar 31 22:19:22 2023 daemon.notice netifd: Interface '4GLTE' is setting up now
Fri Mar 31 22:19:23 2023 daemon.notice netifd: 4GLTE (12461): modem available at /org/freedesktop/ModemManager1/Modem/0
Fri Mar 31 22:19:23 2023 daemon.notice netifd: 4GLTE (12461): starting connection with apn 'Broadband'...
Fri Mar 31 22:19:23 2023 daemon.info [4714]: <info>  [modem0] simple connect started...
Fri Mar 31 22:19:23 2023 daemon.info [4714]: <info>  [modem0] simple connect state (4/8): wait to get fully enabled
Fri Mar 31 22:19:23 2023 daemon.info [4714]: <info>  [modem0] simple connect state (5/8): register

Fri Mar 31 22:19:31 2023 daemon.notice netifd: 4GLTE (12461): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout: Network timeout'
Fri Mar 31 22:19:31 2023 daemon.notice netifd: 4GLTE (12494): stopping network
Fri Mar 31 22:19:31 2023 daemon.notice netifd: 4GLTE (12494): couldn't load bearer path
Fri Mar 31 22:19:31 2023 daemon.notice netifd: Interface '4GLTE' is now down

I Chose the L860 because it was the last Intel professional level chip for my NO ARM pc-internet-phone setup. It worked well with rooter and golden orb but the VPN of rooter does not function with PIA and the WRT open VPN works fine with PIA.

Install a terminal program like picocom and connect to your modem over /dev/ttyACM2
Then you can use standard commands like AT+CPIN? to check the SIM card for example.

AZ,

I am using the manual here

Csim, Generic Sim Access - Fibocom L860-GL At Command User Manual [Page 44] | ManualsLib

To test the functionality of the sim ardware and sim data but when entering the command the message returned "command not found"

I entered the commands like this AT+CSIM= TEST

Your command looks wrong to me.
I suggest using the well-known standard commands such as the ones below to check the communication with the SIM:

AT+CPIN?
AT+CIMI?
AT+CCID

AZ,

I attempted the commands but they are returning these errors.

root@OpenWrt:~# AT+CPIN?
-ash: AT+CPIN?: not found
root@OpenWrt:~# AT+CCID
-ash: AT+CCID: not found

Install the picocom package.
Connect to the modem serial port by running:
picocom /dev/ttyACM2
Now what you type goes to the modem. Test this by typing AT and press enter, the modem should reply OK.
To quit picocom and return to the regular shell, hold down the Ctrl key and type the letter a (this is called a control-A) then a control-Q.

MK,

I have installed Busybox integrated into openwrt LuCi web interface can the commands work the same with Busybox as with picocom?

BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.3, r20028-43d71ad93e

When entering the command into busybox this is the error returned

root@OpenWrt:~# /dev/ttyACM2
-ash: /dev/ttyACM2: Permission denied

After installing picocom, open a busybox window and start picocom as I said.

You can also do this directly with a ssh CLI connection.

AZ and MK, Thanks for the information the terminal is returning information from the SIM.

I would recommend xmm-modem package instead of the modemmanager for the L860-GL.

1 Like

Hello Again,

There is a new issue after inserting an active sim. The modem seems to connect and an ip address is added and then an address not available message and the modem is disconnected.

wlan0 is a wifi internet connection being repeated through the ZBT 1608.

Thu Apr  6 19:30:15 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:17 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:17 2023 daemon.notice netifd: 4GLTE (10150): stopping network
Thu Apr  6 19:30:17 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:18 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:18 2023 user.notice mwan3-hotplug[10149]: mwan3 hotplug on 4GLTE not called because interface disabled
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): IPv4 connection teardown required in interface 4GLTE: ppp
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): IPv6 connection teardown required in interface 4GLTE: ppp
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): running disconnection (ppp method)
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): pppd result code not given
Thu Apr  6 19:30:18 2023 daemon.info pppd[8656]: Terminating on signal 15
Thu Apr  6 19:30:18 2023 daemon.info pppd[8656]: Connect time 6.5 minutes.
Thu Apr  6 19:30:18 2023 daemon.info pppd[8656]: Sent 56379 bytes, received 1408 bytes.
Thu Apr  6 19:30:18 2023 daemon.warn dnsmasq[1]: failed to create listening socket for fe80::91da:286:3f9c:9eae%ppp0: Address not available
Thu Apr  6 19:30:18 2023 daemon.notice ttyd[5257]: rops_handle_POLLIN_netlink: DELADDR
Thu Apr  6 19:30:18 2023 daemon.warn dnsmasq[1]: failed to create listening socket for fe80::91da:286:3f9c:9eae%ppp0: Address not available
Thu Apr  6 19:30:18 2023 daemon.notice ttyd[5257]: rops_handle_POLLIN_netlink: DELADDR
Thu Apr  6 19:30:18 2023 daemon.notice netifd: Network device 'ppp0' link is down
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): running disconnection (common)
Thu Apr  6 19:30:18 2023 daemon.notice netifd: 4GLTE (10150): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4GLTE" } (Permission denied)
Thu Apr  6 19:30:18 2023 daemon.notice pppd[8656]: Modem hangup
Thu Apr  6 19:30:18 2023 daemon.notice pppd[8656]: Connection terminated.
Thu Apr  6 19:30:18 2023 daemon.info pppd[8656]: Connect time 6.5 minutes.
Thu Apr  6 19:30:18 2023 daemon.info pppd[8656]: Sent 56379 bytes, received 1408 bytes.
Thu Apr  6 19:30:18 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:18 2023 daemon.debug ModemManager[10269]: hotplug: event reported: action=remove, name=ppp0, subsystem=net
Thu Apr  6 19:30:18 2023 daemon.info [4790]: <info>  [modem0] state changed (connected -> disconnecting)
Thu Apr  6 19:30:19 2023 daemon.info pppd[8656]: Exit.
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0] mobile equipment request to deactivate context (cid 3)
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0/bearer0] explicitly disconnected
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0] mobile equipment request to deactivate context (cid 3)
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0/bearer0] explicitly disconnected
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0] mobile equipment request to deactivate context (cid 3)
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0/bearer0] explicitly disconnected
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0] mobile equipment request to deactivate context (cid 3)
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0/bearer0] explicitly disconnected
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0] state changed (disconnecting -> registered)
Thu Apr  6 19:30:19 2023 daemon.info [4790]: <info>  [modem0/bearer0] connection #1 finished: duration 387s, tx: 0 bytes, rx: 0 bytes
Thu Apr  6 19:30:19 2023 daemon.notice netifd: 4GLTE (10150): successfully disconnected all bearers in the modem
Thu Apr  6 19:30:20 2023 daemon.info [4790]: <info>  [modem0] state changed (registered -> disabling)
Thu Apr  6 19:30:20 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:20 2023 daemon.info [4790]: <info>  [modem0] 3GPP registration state changed (home -> unknown)
Thu Apr  6 19:30:20 2023 daemon.info [4790]: <info>  [modem0] state changed (disabling -> disabled)
Thu Apr  6 19:30:20 2023 daemon.notice netifd: 4GLTE (10150): successfully disabled the modem
Thu Apr  6 19:30:20 2023 daemon.notice netifd: Interface '4GLTE' is now down
Thu Apr  6 19:30:20 2023 daemon.notice netifd: Interface '4GLTE' is setting up now
Thu Apr  6 19:30:20 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:21 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:21 2023 daemon.notice netifd: 4GLTE (10404): modem available at /org/freedesktop/ModemManager1/Modem/0
Thu Apr  6 19:30:21 2023 user.notice mwan3-hotplug[10403]: mwan3 hotplug on 4GLTE not called because interface disabled
Thu Apr  6 19:30:21 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:21 2023 daemon.notice netifd: 4GLTE (10404): starting connection with apn 'Broadband'...
Thu Apr  6 19:30:21 2023 daemon.info [4790]: <info>  [modem0] simple connect started...
Thu Apr  6 19:30:21 2023 daemon.info [4790]: <info>  [modem0] simple connect state (3/8): enable
Thu Apr  6 19:30:21 2023 daemon.info [4790]: <info>  [modem0] state changed (disabled -> enabling)
Thu Apr  6 19:30:22 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:22 2023 daemon.info [4790]: <info>  [modem0] power state updated: on
Thu Apr  6 19:30:22 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:22 2023 daemon.info [4790]: <info>  [modem0] sim identifier has changed: (null) -> 89014103334117865695 - possible SIM swap
Thu Apr  6 19:30:22 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:22 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:23 2023 daemon.warn [4790]: <warn>  [modem0] cannot set default storage, none of the suggested ones supported
Thu Apr  6 19:30:23 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:23 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:23 2023 daemon.info [4790]: <info>  [modem0] simple connect state (4/8): wait to get fully enabled
Thu Apr  6 19:30:23 2023 daemon.info [4790]: <info>  [modem0] state changed (enabling -> enabled)
Thu Apr  6 19:30:23 2023 daemon.info [4790]: <info>  [modem0] state changed (enabled -> disabling)
Thu Apr  6 19:30:25 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:25 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:27 2023 daemon.info [4790]: <info>  [device /sys/devices/platform/1e1c0000.xhci/usb2/2-1/2-1.2] creating modem with plugin 'generic' and '4' ports
Thu Apr  6 19:30:27 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:28 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:30 2023 daemon.warn [4790]: <warn>  [modem1/sim1] couldn't load operator name: SIM failed to handle CRSM request (sw1 106 sw2 130)
Thu Apr  6 19:30:31 2023 daemon.warn [4790]: <warn>  [modem1/sim1] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 105,129'
Thu Apr  6 19:30:31 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:31 2023 daemon.warn [4790]: <warn>  [modem1/sim1] couldn't load list of preferred networks: Not found
Thu Apr  6 19:30:31 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:32 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:32 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:33 2023 daemon.info [4790]: <info>  [modem1] state changed (unknown -> disabled)
Thu Apr  6 19:30:34 2023 daemon.notice netifd: 4GLTE (10404): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Too much time waiting to get to a final state'
Thu Apr  6 19:30:34 2023 daemon.notice netifd: 4GLTE (10579): stopping network
Thu Apr  6 19:30:34 2023 daemon.notice netifd: 4GLTE (10579): couldn't load bearer path
Thu Apr  6 19:30:34 2023 daemon.notice netifd: Interface '4GLTE' is now down
Thu Apr  6 19:30:34 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:35 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:36 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static
Thu Apr  6 19:30:36 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d off
Thu Apr  6 19:30:36 2023 daemon.notice hostapd: wlan0-1: STA-OPMODE-SMPS-MODE-CHANGED a4:34:d9:a3:7f:7d static

CS2005

Can you explain how to add the repository to openwrt. The instruction reference the sdk buildroot.

You don't need to add a repo. There is a section on that page titled "Precompiled packages", you need to follow the link(s) and download the desired package. This particular package is not dependant on the architecture, in fact, it is just a set of the shell scripts.
Here is the direct link to the package:
http://openwrt.132lan.ru/packages/21.02/packages/mipsel_24kc/modemfeed/xmm-modem_0.0.2-2_all.ipk

1 Like

Download and install the xmm-modem package (look at @AndrewZ's link).

More details about the configuration is here - https://radenku.com/fibocom-l850-gl-l860-gl-mode-ncm-openwrt/

And from the original - https://github.com/koshev-msk/modemfeed/blob/master/packages/net/xmm-modem/README.md

P.S. Thanks @koshev-msk for the package!

2 Likes