I'm facing issues trying to connect a Fibocom FM350-GL modem on a ZBT WG1608 router running OpenWRT 23.05.2 (openwrt-23.05.2-ramips-mt7621-zbtlink_zbt-wg1608-32m-squashfs-sysupgrade.bin). I have installed all the necessary packages, including kmod-usb-serial, kmod-usb-serial-wwan, kmod-usb-net-rndis, minicom, modemmanager, and luci-proto-modemmanager.
I have successfully unlocked the FCC on the modem, created the interface, and specified the correct APN in modemmanager. The device information obtained using the command cat /sys/kernel/debug/usb/devices
is as follows:
: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=0e8d ProdID=7127 Rev= 0.01
S: Manufacturer=Fibocom Wireless Inc.
S: Product=FM350-GL
C:* #Ifs=10 Cfg#= 1 Atr=a0 MxPwr=896mA
A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=rndis_host
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=125us
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=85(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbserial_generic
E: Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=87(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 7 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=88(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=89(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=08(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 9 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbserial_generic
E: Ad=8a(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=09(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
The interface status shows:
**Protocol:** ModemManager
**RX:** 0 B (0 Pkts.)
**TX:** 0 B (0 Pkts.)
**Error:** Connection attempt failed.
In the logs, I found the following error:
daemon.notice netifd: fibocom (7289): error: modem has no Simple capabilities.
and
daemon.notice netifd: fibocom (5107): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NotSupported: 0,NONE'
If anyone has any insights or ideas on why the connection is failing, I would greatly appreciate any information or guidance.
Full logs:
Mon Jan 22 09:32:36 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Jan 22 09:32:36 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 names
Mon Jan 22 09:32:36 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Mon Jan 22 09:32:36 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Jan 22 09:32:37 2024 daemon.warn odhcpd[2080]: No default route present, overriding ra_lifetime!
Mon Jan 22 09:32:39 2024 daemon.warn [2325]: <warn> [modem0] could not load SIM identifier: Serial command timed out
Mon Jan 22 09:32:39 2024 daemon.info [2325]: <info> [modem0] SIM identifier has changed: 89997779000071507933 -> <none>
Mon Jan 22 09:32:42 2024 daemon.warn [2325]: <warn> [modem0] port ttyUSB4 timed out 2 consecutive times
Mon Jan 22 09:32:45 2024 daemon.warn [2325]: <warn> [modem0] port ttyUSB4 timed out 3 consecutive times
Mon Jan 22 09:32:48 2024 daemon.warn [2325]: <warn> [modem0] port ttyUSB4 timed out 4 consecutive times
Mon Jan 22 09:32:49 2024 daemon.err [2325]: <error> [modem0] failed to disable after SIM switch event: Too much time waiting to get to a final state
Mon Jan 22 09:32:49 2024 daemon.warn [2325]: <warn> [modem0] couldn't enable interface: 'Operation was cancelled'
Mon Jan 22 09:32:49 2024 daemon.notice netifd: fibocom (5225): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Cancelled: Operation was cancelled'
Mon Jan 22 09:32:49 2024 daemon.notice netifd: fibocom (6073): stopping network
Mon Jan 22 09:32:49 2024 daemon.notice netifd: fibocom (6073): error: couldn't find modem
Mon Jan 22 09:32:49 2024 daemon.notice netifd: fibocom (6073): couldn't load bearer path: disconnecting anyway
Mon Jan 22 09:32:49 2024 daemon.notice netifd: Interface 'fibocom' is now down
Mon Jan 22 09:32:50 2024 daemon.warn odhcpd[2080]: No default route present, overriding ra_lifetime!
Mon Jan 22 09:32:51 2024 daemon.info [2325]: <info> [device /sys/devices/platform/1e1c0000.xhci/usb2/2-1/2-1.2] creating modem with plugin 'generic' and '9' ports
Mon Jan 22 09:32:51 2024 daemon.warn [2325]: <warn> [plugin/generic] could not grab port ttyUSB2: Cannot add port 'tty/ttyUSB2', unhandled port type
Mon Jan 22 09:32:51 2024 daemon.warn [2325]: <warn> [plugin/generic] could not grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled port type
Mon Jan 22 09:32:51 2024 daemon.warn [2325]: <warn> [plugin/generic] could not grab port ttyUSB0: Cannot add port 'tty/ttyUSB0', unhandled port type
Mon Jan 22 09:32:57 2024 daemon.warn [2325]: <warn> [modem1] port ttyUSB4 timed out 2 consecutive times
Mon Jan 22 09:33:03 2024 daemon.warn [2325]: <warn> [modem1] port ttyUSB4 timed out 2 consecutive times
Mon Jan 22 09:33:05 2024 daemon.warn [2325]: <warn> [modem1] port ttyUSB4 timed out 2 consecutive times
Mon Jan 22 09:33:06 2024 daemon.warn [2325]: <warn> [modem1] modem couldn't be initialized: Failed to load current capabilities: Failed to determine modem capabilities.
Mon Jan 22 09:33:06 2024 daemon.info [2325]: <info> [modem1] state changed (unknown -> failed)
Mon Jan 22 09:33:06 2024 daemon.warn [2325]: <warn> [modem1] port ttyUSB4 timed out 3 consecutive times
Mon Jan 22 09:33:09 2024 daemon.warn [2325]: <warn> [modem1] port ttyUSB4 timed out 4 consecutive times
Mon Jan 22 09:33:09 2024 daemon.warn [2325]: <warn> [modem1] error initializing: Modem in failed state: unknown-capabilities
Mon Jan 22 09:35:17 2024 daemon.notice netifd: Interface 'fibocom' is setting up now
Mon Jan 22 09:35:17 2024 daemon.notice netifd: fibocom (6292): modem available at /org/freedesktop/ModemManager1/Modem/1
Mon Jan 22 09:35:17 2024 daemon.notice netifd: fibocom (6292): starting connection with apn 'internet.tele2.kz'...
Mon Jan 22 09:35:17 2024 daemon.notice netifd: fibocom (6292): error: modem has no Simple capabilities
Mon Jan 22 09:35:17 2024 daemon.notice netifd: fibocom (6320): stopping network
Mon Jan 22 09:35:17 2024 daemon.notice netifd: fibocom (6320): couldn't load bearer path: disconnecting anyway
Mon Jan 22 09:35:18 2024 daemon.notice netifd: Interface 'fibocom' is now down
after restarting wg1608 and recreating the interface
Mon Jan 22 10:14:34 2024 daemon.info [2336]: <info> [modem0] power state updated: on
Mon Jan 22 10:14:34 2024 daemon.warn [2336]: <warn> [modem0] 3GPP CSFB registration state is consolidated: home-sms-only
Mon Jan 22 10:14:34 2024 daemon.warn [2336]: <warn> [modem0] could not set default storage: Cannot set default storage when current mem1 storage is unknown
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (4/10): wait to get fully enabled
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] state changed (enabling -> enabled)
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (5/10): wait after enabled
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] 3GPP registration state changed (unknown -> registering)
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] 3GPP registration state changed (registering -> home)
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] state changed (enabled -> registered)
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (6/10): register
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (7/10): wait to get packet service state attached
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (8/10): bearer
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] simple connect state (9/10): connect
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] state changed (registered -> connecting)
Mon Jan 22 10:14:35 2024 daemon.warn [2336]: <warn> [modem0/bearer0] connection attempt #1 failed: 0,NONE
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0] state changed (connecting -> registered)
Mon Jan 22 10:14:35 2024 daemon.info [2336]: <info> [modem0/bearer0] connection #1 finished: duration 0s
Mon Jan 22 10:14:35 2024 daemon.notice netifd: fibocom (5107): error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NotSupported: 0,NONE'
Mon Jan 22 10:14:35 2024 daemon.notice netifd: fibocom (5334): stopping network
Mon Jan 22 10:14:35 2024 daemon.notice netifd: fibocom (5334): running disconnection (common)
Mon Jan 22 10:14:35 2024 daemon.notice netifd: fibocom (5334): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "fibocom" } (Permission denied)
Mon Jan 22 10:14:36 2024 daemon.notice netifd: fibocom (5334): successfully disconnected all bearers in the modem
Mon Jan 22 10:14:36 2024 daemon.info [2336]: <info> [modem0] state changed (registered -> disabling)
Mon Jan 22 10:14:36 2024 daemon.info [2336]: <info> [modem0] 3GPP registration state changed (home -> unknown)
Mon Jan 22 10:14:36 2024 daemon.info [2336]: <info> [modem0] state changed (disabling -> disabled)
Mon Jan 22 10:14:36 2024 daemon.notice netifd: fibocom (5334): successfully disabled the modem
Mon Jan 22 10:14:36 2024 daemon.notice netifd: fibocom (5334): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "fibocom" } (Permission denied)
Mon Jan 22 10:14:36 2024 daemon.notice netifd: Interface 'fibocom' is now down