MT-3000 and AC313U dongle problem

Device Model GL-MT3000 Beryl AX

Firmware version 4.6.0 alpha1

Network topology diagram

How is your router connected to the Internet? This is the problem. I want to use my AC313U (AT&T Momentum rebranded Sierra Wireless now Netgear) as WAN
By cell phone? (If yes, which mobile provider?) AT&T 4G LTE via the USB dongle aka AirCard
Which DNS server do you use? (The local one of your ISP? AdGuard Home? Another one?) Usually Quad 9 Primary with CloudFlare as Secondary. Sometimes I use ISP or other.
Do you use DHCP or static IP addresses? I use DHCP with several reservations.

Problem description
I use AT&T Momentum (AC313U Sierra Wireless) AirCard for WAN on a Cradlepoint MBR-1200B now but it is long EOL (10 years).
I have also used this AirCard directly in Laptops running Windows 7 and 10 where it operates as RNDIS or other network adapter. I have also used in Ubuntu where it is detected as a RNDIS or Fast Network adapter.

The MT-3000 partially detects the USB and stays in storage mode or the install CD mode. Not sure which.
Logs show it is a storage device. It also has storage slot for micro-SD but none is installed. The status light on the dongle flashes slowly as if it is waiting for commands.
I originally tried flashing OpenWRT 23.05 and loading many modules for USB modem, Serial, QMI and SierraWireless but didn’t even get the AirCard to be detected as any device in UI.
So I have now flashed the GL 4.6.0 alpha1 firmware and use the GL-inet UI.
I think this is a modeswitch issue. I found the Vendor and Product IDs to change the json file but I do not know which port or command to set in the file.
I didn’t see any such reference in dmesg or the logs but it is in the kernel/debug/usb . lsusb doesn’t show anything. No TTYxUSB are created.

I have experience with Linux and Administration but only at basic-intermediate level. I have experience compiling drivers for network and C programs from long ago but no real use in last 20 years.
I don’t mind editing some config files and similar but if this requires compiling or linking, to resolve my issue I may just return or sell the device.

I saw some posts from other user using a newer version of the AirCard (AC340 AT&T Beam?) in another device and they had to get the usb-mode.json file modified which is now in standard build.

I would liike some sort of step by step to get this AirCard working in Automatic connect fashion to provide more secure / reliable internet.

BTW the kernel/debug/usb entry has this;
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0f3d ProdID=68aa Rev= 0.06
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=AirCard 313U
S: SerialNumber=012615001832493
C:* #Ifs= 7 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=86(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 9 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

Appreciate any help I can get. :pray:
EDIT: Forgot to load log Export
logread.tar (94 KB)
:man_facepalming:

1 Like

What do you find if you invoke:

ls -l /dev/*

Can you also disable all storage services on the modem that could be interfering with usb port? Services like nfsd, gl_nas_sys* and samba*

Thanks for the assist. Here is the results of what you suggested.
root@GL-MT3000:~# ls -l /dev/*
crw------- 1 root root 5, 1 Dec 23 11:47 /dev/console
lrwxrwxrwx 1 root root 13 Dec 31 1969 /dev/fd → /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Dec 31 1969 /dev/full
crw------- 1 root root 10, 229 Dec 23 11:46 /dev/fuse
crw------- 1 root root 254, 0 Dec 31 1969 /dev/gpiochip0
crw------- 1 root root 10, 183 Dec 31 1969 /dev/hwrng
crw------- 1 root root 1, 11 Dec 31 1969 /dev/kmsg
srw-rw-rw- 1 root root 0 Dec 23 11:46 /dev/log
crw------- 1 root root 10, 237 Dec 31 1969 /dev/loop-control
brw------- 1 root root 7, 0 Dec 31 1969 /dev/loop0
brw------- 1 root root 7, 1 Dec 31 1969 /dev/loop1
brw------- 1 root root 7, 2 Dec 31 1969 /dev/loop2
brw------- 1 root root 7, 3 Dec 31 1969 /dev/loop3
brw------- 1 root root 7, 4 Dec 31 1969 /dev/loop4
brw------- 1 root root 7, 5 Dec 31 1969 /dev/loop5
brw------- 1 root root 7, 6 Dec 31 1969 /dev/loop6
brw------- 1 root root 7, 7 Dec 31 1969 /dev/loop7
crw------- 1 root root 90, 0 Dec 31 1969 /dev/mtd0
crw------- 1 root root 90, 1 Dec 31 1969 /dev/mtd0ro
crw------- 1 root root 90, 2 Dec 31 1969 /dev/mtd1
crw------- 1 root root 90, 3 Dec 31 1969 /dev/mtd1ro
crw------- 1 root root 90, 4 Dec 31 1969 /dev/mtd2
crw------- 1 root root 90, 5 Dec 31 1969 /dev/mtd2ro
crw------- 1 root root 90, 6 Dec 31 1969 /dev/mtd3
crw------- 1 root root 90, 7 Dec 31 1969 /dev/mtd3ro
crw------- 1 root root 90, 8 Dec 31 1969 /dev/mtd4
crw------- 1 root root 90, 9 Dec 31 1969 /dev/mtd4ro
crw------- 1 root root 90, 10 Dec 31 1969 /dev/mtd5
crw------- 1 root root 90, 11 Dec 31 1969 /dev/mtd5ro
brw------- 1 root root 31, 0 Dec 31 1969 /dev/mtdblock0
brw------- 1 root root 31, 1 Dec 31 1969 /dev/mtdblock1
brw------- 1 root root 31, 2 Dec 31 1969 /dev/mtdblock2
brw------- 1 root root 31, 3 Dec 31 1969 /dev/mtdblock3
brw------- 1 root root 31, 4 Dec 31 1969 /dev/mtdblock4
brw------- 1 root root 31, 5 Dec 31 1969 /dev/mtdblock5
crw-rw-rw- 1 root root 1, 3 Dec 31 1969 /dev/null
crw------- 1 root root 1, 4 Dec 31 1969 /dev/port
crw------- 1 root root 108, 0 Dec 23 11:46 /dev/ppp
crw-rw-rw- 1 root root 5, 2 Dec 23 11:50 /dev/ptmx
crw-rw-rw- 1 root root 1, 8 Dec 31 1969 /dev/random
brw------- 1 root root 8, 0 Dec 23 11:46 /dev/sda
lrwxrwxrwx 1 root root 8 Dec 31 1969 /dev/shm → /tmp/shm
lrwxrwxrwx 1 root root 15 Dec 31 1969 /dev/stderr → /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Dec 31 1969 /dev/stdin → /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Dec 31 1969 /dev/stdout → /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Dec 31 1969 /dev/tty
crw-rw---- 1 root dialout 4, 64 Dec 23 11:50 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Dec 31 1969 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Dec 31 1969 /dev/ttyS2
crw------- 1 root root 250, 0 Dec 31 1969 /dev/ubi0
crw------- 1 root root 250, 1 Dec 31 1969 /dev/ubi0_0
crw------- 1 root root 250, 2 Dec 31 1969 /dev/ubi0_1
crw------- 1 root root 250, 3 Dec 31 1969 /dev/ubi0_2
crw------- 1 root root 10, 127 Dec 31 1969 /dev/ubi_ctrl
brw------- 1 root root 254, 0 Dec 31 1969 /dev/ubiblock0_1
crw-rw-rw- 1 root root 1, 9 Dec 31 1969 /dev/urandom
crw------- 1 root root 10, 130 Dec 31 1969 /dev/watchdog
crw------- 1 root root 252, 0 Dec 31 1969 /dev/watchdog0
crw-rw-rw- 1 root root 1, 5 Dec 31 1969 /dev/zero

/dev/bus:
drwxr-xr-x 4 root root 80 Dec 31 1969 usb

/dev/net:
crw------- 1 root root 10, 200 Dec 23 11:46 tun

/dev/pts:
crw–w–w- 1 root root 136, 0 Dec 23 11:50 0
c--------- 1 root root 5, 2 Dec 31 1969 ptmx

root@GL-MT3000:~# service samba stop
Usage: service [command]
Service “samba” not found, the following services are available:
/etc/init.d/adguardhome enabled stopped
/etc/init.d/avahi-daemon enabled running
[clip]
/etc/init.d/gl_logread enabled stopped
/etc/init.d/gl_nas_diskmanager enabled stopped
/etc/init.d/gl_nas_sys enabled running
/etc/init.d/gl_nas_sys_dl enabled running
/etc/init.d/gl_nas_sys_up enabled running
/etc/init.d/gl_s2s enabled stopped
/etc/init.d/gl_tethering enabled stopped
/etc/init.d/gl_timer enabled running
/etc/init.d/gpio_switch enabled stopped
/etc/rc.common: /etc/init.d/irq-smp-affinity: line 11: syntax error: unexpected “)” (expecting “;;”)
[clip]
/etc/init.d/samba4 disabled stopped
/etc/init.d/sip_alg enabled stopped
[clip]
/etc/init.d/umount enabled stopped
/etc/init.d/urandom_seed enabled stopped
/etc/init.d/urngd enabled running
/etc/init.d/usbmode enabled stopped
/etc/init.d/usbmuxd enabled stopped
/etc/init.d/vpnpolicy enabled stopped
/etc/init.d/vpnpolicy-apply enabled stopped
/etc/init.d/vsftpd enabled stopped
/etc/init.d/webdav_ser enabled stopped
/etc/init.d/wpad enabled running
/etc/init.d/zerotier enabled stopped
root@GL-MT3000:~#

root@GL-MT3000:~# service gl_nas_sys stop
stop app = /usr/bin/gl_nas_sys
Command failed: Not found
root@GL-MT3000:~# service gl_nas_sys_dl stop
stop dl app = /usr/bin/gl_nas_sys
Command failed: Not found
root@GL-MT3000:~# service gl_nas_sys_up stop
stop up app = /usr/bin/gl_nas_sys
Command failed: Not found

root@GL-MT3000:~# service nfsd stop
Usage: service [command]
Service “nfsd” not found, the following services are available:
/etc/init.d/adguardhome enabled stopped
/etc/init.d/avahi-daemon enabled running
[clip]
/etc/init.d/gl_logread enabled stopped
/etc/init.d/gl_nas_diskmanager enabled stopped
/etc/init.d/gl_nas_sys enabled stopped
/etc/init.d/gl_nas_sys_dl enabled stopped
/etc/init.d/gl_nas_sys_up enabled stopped
/etc/init.d/gl_s2s enabled stopped
/etc/init.d/gl_tethering enabled stopped
/etc/init.d/gl_timer enabled running
/etc/init.d/gpio_switch enabled stopped
/etc/rc.common: /etc/init.d/irq-smp-affinity: line 11: syntax error: unexpected “)” (expecting “;;”)
/etc/init.d/irq-smp-affinity disabled stopped
/etc/init.d/kmwan enabled stopped
/etc/init.d/led enabled stopped
/etc/init.d/log enabled running
/etc/init.d/minidlna enabled stopped
/etc/init.d/modem enabled stopped
/etc/init.d/modem-init enabled stopped
/etc/init.d/modem_signal enabled stopped
/etc/init.d/mtk-hwnat-post enabled stopped
/etc/init.d/network enabled running
[clip]
/etc/init.d/samba4 disabled stopped
[clip]
/etc/init.d/usbmode enabled stopped
/etc/init.d/usbmuxd enabled stopped
/etc/init.d/vpnpolicy enabled stopped
/etc/init.d/vpnpolicy-apply enabled stopped
/etc/init.d/vsftpd enabled stopped
/etc/init.d/webdav_ser enabled stopped
/etc/init.d/wpad enabled running
/etc/init.d/zerotier enabled stopped
root@GL-MT3000:~#

root@GL-MT3000:~# service gl_nas_sys disable
root@GL-MT3000:~# service gl_nas_sys_dl disable
root@GL-MT3000:~# service gl_nas_sys_up disable
root@GL-MT3000:~# service samba4 disable

Confirmed disabled Even rebooted and this is services after reboot
root@GL-MT3000:~# service
Usage: service [command]
The following services are available:
[clip]
/etc/init.d/gl_logread enabled stopped
/etc/init.d/gl_nas_diskmanager enabled stopped
/etc/init.d/gl_nas_sys disabled stopped
/etc/init.d/gl_nas_sys_dl disabled stopped
/etc/init.d/gl_nas_sys_up disabled stopped
/etc/init.d/gl_s2s enabled stopped
/etc/init.d/gl_tethering enabled stopped
/etc/init.d/gl_timer enabled running
/etc/init.d/gpio_switch enabled stopped
/etc/rc.common: /etc/init.d/irq-smp-affinity: line 11: syntax error: unexpected “)” (expecting “;;”)
/etc/init.d/irq-smp-affinity disabled stopped
/etc/init.d/kmwan enabled stopped
/etc/init.d/led enabled stopped
/etc/init.d/log enabled running
/etc/init.d/minidlna enabled stopped
/etc/init.d/modem enabled stopped
/etc/init.d/modem-init enabled stopped
/etc/init.d/modem_signal enabled stopped
/etc/init.d/mtk-hwnat-post enabled stopped
/etc/init.d/network enabled running
/etc/init.d/nginx enabled running
/etc/init.d/odhcpd enabled running
/etc/init.d/openssl enabled stopped
/etc/init.d/openvpn enabled stopped
/etc/init.d/packet_steering enabled stopped
/etc/init.d/parental_control enabled stopped
/etc/init.d/plugins enabled stopped
/etc/init.d/radius enabled stopped
/etc/init.d/relayd enabled stopped
/etc/init.d/repeater enabled running
/etc/init.d/rpcd enabled running
/etc/init.d/rtty disabled stopped
/etc/init.d/samba4 disabled stopped
[clip]
root@GL-MT3000:~#
removed and reinstalled dongle still not detected.
No Joy. Any other things to try?
logs tar attached
logread (1).tar (92 KB)

Install needed packages like:

kmod-usb-serial-sierrawireless

search in the forum for related posts. You may also need to Google it to see how other got it to work:

Thanks, I think I have read most of them before and that is why I think I have modeswitch problem.
I’ll go back and read since you took the time to search.

Honestly, I had installed the sierra packages when I tried the OpenWRT 23.05 flash a few weeks ago.
Since I went back to the GL-inet 4.6.0 alpha1 bin I suppose it removed them.
Regardless, When I try to Update available packages I now get these errors.

Errors
Collected errors:

So, I forge ahead and filter for the Sierra packages again and it shows I should load 3.

Available
comgt-directip 0.32-35 2.31 KiB Sierra Wireless Direct-IP support Install…
kmod-usb-net-sierrawireless 5.15.145-1 5.83 KiB Kernel support for Sierra Wireless devices Install…
kmod-usb-serial-sierrawireless 5.15.145-1 7.27 KiB Kernel support for Sierra Wireless devices Install…

This is where it gets interesting.
Details for package comgt-directip
Version: 0.32-35
Size: ~1.54 KiB installed
Dependencies:
comgt INSTALLED
chat INSTALLED
kmod-usb-serial INSTALLED
kernel INSTALLED
kmod-usb-core INSTALLED
kmod-nls-base INSTALLED
kmod-usb-serial-sierrawireless (6.50 KiB) NOT INSTALLED
kmod-usb-net INSTALLED
kmod-mii INSTALLED
kmod-usb-net-sierrawireless (5.12 KiB) NOT INSTALLED
Description
Sierra Wireless Direct-IP support

Require approx. 13.15 KiB size for 3 package(s) to install.

Details for package kmod-usb-net-sierrawireless
Version: 5.15.145-1
Size: ~5.12 KiB installed
Dependencies:
kernel VERSION INCOMPATIBLE
kmod-usb-net INSTALLED
kmod-mii INSTALLED
kmod-usb-core INSTALLED
kmod-nls-base INSTALLED
Description
Kernel support for Sierra Wireless devices

The installed version of package kernel is not compatible, require 5.15.145-1-363d1614… while 5.15.139-1-ff7cf96a… is installed

Details for package kmod-usb-serial-sierrawireless
Version: 5.15.145-1
Size: ~6.50 KiB installed
Dependencies:
kernel VERSION INCOMPATIBLE
kmod-usb-serial INSTALLED
kmod-usb-core INSTALLED
kmod-nls-base INSTALLED
Description
Kernel support for Sierra Wireless devices

The installed version of package kernel is not compatible, require 5.15.145-1-363d1614… while 5.15.139-1-ff7cf96a… is installed.

So , I filter for “kernel”, “Installed”
Package name Version Size (.ipk) Description
kernel 5.15.139-1-ff7cf96a… - -

**and so many other packages, but I cannot figure out how to upgrade the kernel as dependency. **
in opkg configure the sources is set to /etc/opkg/distfeeds.conf
src/gz openwrt_core Index of /releases/23.05-SNAPSHOT/targets/mediatek/filogic/packages/
src/gz openwrt_base Index of /releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/base/
src/gz openwrt_gl_feed_common https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/gl_feed_common
src/gz openwrt_glinet https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/glinet
src/gz openwrt_luci Index of /releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/luci/
src/gz openwrt_packages Index of /releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/packages/
src/gz openwrt_routing Index of /releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/routing/
src/gz openwrt_telephony Index of /releases/23.05-SNAPSHOT/packages/aarch64_cortex-a53/telephony/

At this point I cannot tell if I am getting closer to a fix or just further down the rabbit hole.
I suppose I could run sysupgrade from CLI via ssh but not sure if that is supported in GL-inet UI or if it would brick.

@alex_zheng Manage Sources is broken in the 4.6 beta from other post

In the GL 4.5 .bin file the sources config is pointing to dl.gl-inet but in the 4.6 it is pointing to openwrt.org.
Now I get kernel mismatch error when trying to install sierrawireless modules for my 4G LTE dongle.

ERROR
“The installed version of package kernel is not compatible, require 5.15.145-1-363d1614… while 5.15.139-1-ff7cf96a… is installed.”

Can you help me either configure the sources to point to the GL-inet repo to get updated bin with newer Kernel so I can then install sierrawireless modules or tell me how to change the Manage Sources to fix error?

With the 4.5 beta the Beryl AX freezes UI when dongle is connected.

Thanks!