GL-AXT1800 with e3372h in stick mode. No comgt-ncm package

Hello,

I’m trying to use Huawei e3372h modem in stick mode with my GL-AX1800 router. The modem is detected, but when I press connect in AUTO mode nothing happens. In manual mode I can connect in 3G only mode. I’m trying to configure LTE as desctibed here GL-AR750S with Huawei 3372h-607 in stick mode - #2 by limbot but I can not install comgt-ncm package because it’s not found. What can be done to correctly install this modem?

OpenWrt 21.02-SNAPSHOT r16399+157-c67509efd7
Kernel Version 4.4.60

Huawei have to use ncm protocol.

Can you try in Luci, install luci-proto-ncm

Find the modem interface and change proto to ncm

I have this package luci-proto-ncm in repository, but can’t install. It depends on comgt-mcm

Compile firmware for AXT1800 to support ncm now. Pls allow a few days.

Can you try this firmware which added support for ncm?

It should configure the modem automatically (ncm is not added in the UI but it will be used automatically for huawei modem).

1 Like

Thanks for quick responce. I’ve tried you software, but it didn’t help. Now it’s trying to start but fails in the end.

Thu Nov 24 17:25:17 2022 daemon.notice netifd: Interface ‘modem_1_1’ is setting up now
Thu Nov 24 17:25:19 2022 daemon.notice netifd: modem_1_1 (12335): sending → AT
Thu Nov 24 17:25:20 2022 daemon.notice netifd: modem_1_1 (12335): sending → ATZ
Thu Nov 24 17:25:20 2022 daemon.notice netifd: modem_1_1 (12335): sending → ATQ0
Thu Nov 24 17:25:21 2022 daemon.notice netifd: modem_1_1 (12335): sending → ATV1
Thu Nov 24 17:25:21 2022 daemon.notice netifd: modem_1_1 (12335): sending → ATE1
Thu Nov 24 17:25:22 2022 daemon.notice netifd: modem_1_1 (12335): sending → ATS0=0
Thu Nov 24 17:25:23 2022 daemon.notice netifd: modem_1_1 (12335): sending → AT+CGDCONT=1,“IP”,“internet”
Thu Nov 24 17:25:23 2022 daemon.notice netifd: modem_1_1 (12335): Configuring modem
Thu Nov 24 17:25:23 2022 daemon.notice netifd: modem_1_1 (12335): Starting network modem_1_1
Thu Nov 24 17:25:23 2022 daemon.notice netifd: modem_1_1 (12335): Connecting modem
Thu Nov 24 17:25:24 2022 daemon.notice netifd: modem_1_1 (12335): sending → AT^NDISDUP=1,1,“internet”
Thu Nov 24 17:25:24 2022 daemon.notice netifd: modem_1_1 (12335): Setting up wwan0
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Interface ‘modem_1_1’ is now up
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Network device ‘wwan0’ link is up
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Network alias ‘wwan0’ link is up
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is enabled
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ has link connectivity
Thu Nov 24 17:25:24 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is setting up now
Thu Nov 24 17:25:24 2022 daemon.notice netifd: modem_1_1_4 (12894): udhcpc: started, v1.33.2
Thu Nov 24 17:25:24 2022 daemon.notice netifd: modem_1_1_4 (12894): udhcpc: sending discover
Thu Nov 24 17:25:25 2022 user.notice mwan3[12873]: Execute ifup event on interface modem_1_1 (wwan0)
Thu Nov 24 17:25:25 2022 user.notice mwan3[12873]: Starting tracker on interface modem_1_1 (wwan0)
Thu Nov 24 17:25:25 2022 user.notice mwan3track[6552]: Stopping mwan3track for interface “modem_1_1”
Thu Nov 24 17:25:26 2022 daemon.info avahi-daemon[3554]: Joining mDNS multicast group on interface wwan0.IPv6 with address fe80::21e:10ff:fe1f:0.
Thu Nov 24 17:25:26 2022 daemon.info avahi-daemon[3554]: New relevant interface wwan0.IPv6 for mDNS.
Thu Nov 24 17:25:26 2022 daemon.info avahi-daemon[3554]: Registering new address record for fe80::21e:10ff:fe1f:0 on wwan0.*.
Thu Nov 24 17:25:27 2022 user.info mwan3rtmon[3448]: Detect rtchange event.
Thu Nov 24 17:25:27 2022 user.notice firewall: Reloading firewall due to ifup of modem_1_1 (wwan0)
Thu Nov 24 17:25:28 2022 daemon.notice netifd: modem_1_1_4 (12894): udhcpc: sending discover
Thu Nov 24 17:25:31 2022 daemon.notice netifd: modem_1_1_4 (12894): udhcpc: sending discover
Thu Nov 24 17:26:01 2022 user.notice mwan3[15205]: Execute ifdown event on interface modem_1_1 (wwan0)
Thu Nov 24 17:26:02 2022 user.info mwan3track[13169]: Detect ifdown event on interface modem_1_1 (wwan0)
Thu Nov 24 17:26:07 2022 user.notice mwan3track[13169]: Interface modem_1_1 (wwan0) is offline

Can you confirm your SIM card is OK?

Yes, SIM card if OK. When I insert this USB modem in another router - it works fine. On the Internet status page the IMEI and phone number displayes correctly. And with your firmware I notised that LED indicator on this modem becomes solid green, as it should when it’s connected. But on the router modem status is Connecting all the time.

Nothing to add here, but I’m watching this thread with great interest and hopefully others too. An updated firmware solution that “just works” with Huawei stick modems would be great.

Please show me the info of wwan0 after setup.

ifconfig wwan0

root@GL-AXT1800:~# ifconfig wwan0
wwan0 Link encap:Ethernet HWaddr 00:1E:10:1F:00:00
inet6 addr: fe80::21e:10ff:fe1f:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:17 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:10716 (10.4 KiB)

Can you try this firmware again? Thank.

1 Like

Nothing has changed

Thu Nov 10 02:56:05 2022 daemon.notice netifd: Interface ‘modem_1_1’ is setting up now
Thu Nov 10 02:56:05 2022 user.notice mwan3rtmon[4037]: Stopping mwan3rtmon…
Thu Nov 10 02:56:07 2022 daemon.notice netifd: modem_1_1 (8382): sending → AT
Thu Nov 10 02:56:08 2022 daemon.notice netifd: modem_1_1 (8382): sending → ATZ
Thu Nov 10 02:56:08 2022 daemon.notice netifd: modem_1_1 (8382): sending → ATQ0
Thu Nov 10 02:56:09 2022 daemon.notice netifd: modem_1_1 (8382): sending → ATV1
Thu Nov 10 02:56:10 2022 daemon.notice netifd: modem_1_1 (8382): sending → ATE1
Thu Nov 10 02:56:10 2022 daemon.notice netifd: modem_1_1 (8382): sending → ATS0=0
Thu Nov 10 02:56:11 2022 daemon.notice netifd: modem_1_1 (8382): sending → AT+CGDCONT=1,“IP”,“internet”
Thu Nov 10 02:56:11 2022 daemon.notice netifd: modem_1_1 (8382): Configuring modem
Thu Nov 10 02:56:11 2022 daemon.notice netifd: modem_1_1 (8382): Starting network modem_1_1
Thu Nov 10 02:56:11 2022 daemon.notice netifd: modem_1_1 (8382): Connecting modem
Thu Nov 10 02:56:12 2022 daemon.notice netifd: modem_1_1 (8382): sending → AT^NDISDUP=1,1,“internet”
Thu Nov 10 02:56:12 2022 daemon.notice netifd: modem_1_1 (8382): Setting up wwan0
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Interface ‘modem_1_1’ is now up
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Network device ‘wwan0’ link is up
Thu Nov 10 02:56:12 2022 kern.info kernel: [ 98.275875] IPv6: ADDRCONF(NETDEV_UP): wwan0: link is not ready
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Network alias ‘wwan0’ link is up
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is enabled
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ has link connectivity
Thu Nov 10 02:56:12 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is setting up now
Thu Nov 10 02:56:13 2022 daemon.notice netifd: modem_1_1_4 (8858): udhcpc: started, v1.33.2
Thu Nov 10 02:56:13 2022 user.notice mwan3[8837]: Using firewall mask 0x3F00
Thu Nov 10 02:56:13 2022 user.notice mwan3[8837]: Max interface count is 60
Thu Nov 10 02:56:13 2022 daemon.notice netifd: modem_1_1_4 (8858): udhcpc: sending discover
Thu Nov 10 02:56:13 2022 user.notice mwan3[8837]: Execute ifup event on interface modem_1_1 (wwan0)
Thu Nov 10 02:56:14 2022 daemon.info avahi-daemon[4189]: Joining mDNS multicast group on interface wwan0.IPv6 with address fe80::21e:10ff:fe1f:0.
Thu Nov 10 02:56:14 2022 daemon.info avahi-daemon[4189]: New relevant interface wwan0.IPv6 for mDNS.
Thu Nov 10 02:56:14 2022 daemon.info avahi-daemon[4189]: Registering new address record for fe80::21e:10ff:fe1f:0 on wwan0.*.
Thu Nov 10 02:56:15 2022 user.notice mwan3[8837]: Starting tracker on interface modem_1_1 (wwan0)
Thu Nov 10 02:56:16 2022 daemon.notice netifd: modem_1_1_4 (8858): udhcpc: sending discover
Thu Nov 10 02:56:17 2022 user.notice firewall: Reloading firewall due to ifup of modem_1_1 (wwan0)
Thu Nov 10 02:56:19 2022 daemon.notice netifd: modem_1_1_4 (8858): udhcpc: sending discover
Thu Nov 10 02:56:51 2022 user.notice mwan3[10822]: Execute ifdown event on interface modem_1_1 (wwan0)
Thu Nov 10 02:56:52 2022 user.info mwan3track[9208]: Detect ifdown event on interface modem_1_1 (wwan0)
Thu Nov 10 02:56:57 2022 user.notice mwan3track[9208]: Interface modem_1_1 (wwan0) is offline

root@GL-AXT1800:~# ifconfig wwan0
wwan0 Link encap:Ethernet HWaddr 00:1E:10:1F:00:00
inet6 addr: fe80::21e:10ff:fe1f:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:43 dropped:0 overruns:0 frame:0
TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:25142 (24.5 KiB)

I tested with E3372H-607 and China Telecom SIM Card. It works fine.

I use e3372h-153. What else can I try to have it work?

Have you tried to use the 3g protocol?

Yes, 3G works fine when I go to Manual mode and choose 3G and port ttyUSB1. When I try to switch to NCM and choose ttyUSB1 port, it can’t connect. Attaching the log:

Tue Nov 29 07:37:41 2022 daemon.notice netifd: Interface ‘modem_1_1’ is setting up now
Tue Nov 29 07:37:44 2022 daemon.notice netifd: modem_1_1 (7276): sending → AT
Tue Nov 29 07:37:44 2022 daemon.notice netifd: modem_1_1 (7276): sending → ATZ
Tue Nov 29 07:37:45 2022 daemon.notice netifd: modem_1_1 (7276): sending → ATQ0
Tue Nov 29 07:37:46 2022 daemon.notice netifd: modem_1_1 (7276): sending → ATV1
Tue Nov 29 07:37:46 2022 daemon.notice netifd: modem_1_1 (7276): sending → ATE1
Tue Nov 29 07:37:47 2022 daemon.notice netifd: modem_1_1 (7276): sending → ATS0=0
Tue Nov 29 07:37:47 2022 daemon.notice netifd: modem_1_1 (7276): sending → AT+CGDCONT=1,“IP”,“internet”
Tue Nov 29 07:37:48 2022 daemon.notice netifd: modem_1_1 (7276): Configuring modem
Tue Nov 29 07:37:48 2022 daemon.notice netifd: modem_1_1 (7276): Starting network modem_1_1
Tue Nov 29 07:37:48 2022 daemon.notice netifd: modem_1_1 (7276): Connecting modem
Tue Nov 29 07:37:48 2022 daemon.notice netifd: modem_1_1 (7276): sending → AT^NDISDUP=1,1,“internet”,NONE
Tue Nov 29 07:37:49 2022 daemon.notice netifd: modem_1_1 (7276): Error running AT-command
Tue Nov 29 07:37:49 2022 daemon.notice netifd: modem_1_1 (7276): Failed to connect
Tue Nov 29 07:37:49 2022 daemon.notice netifd: modem_1_1 (7632): Stopping network modem_1_1
Tue Nov 29 07:37:51 2022 daemon.notice netifd: modem_1_1 (7632): sending → AT^NDISDUP=1,0
Tue Nov 29 07:37:52 2022 daemon.notice netifd: modem_1_1 (7632): Command failed: Permission denied
Tue Nov 29 07:37:52 2022 daemon.notice netifd: Interface ‘modem_1_1’ is now down

I noticed that you choose ttyUSB1 for ncm. Please use ttyUSB0 or use auto connect.

I’ve tried ttyUSB1 because in 3G mode only ttyUSB1 works. Now I’ve checked in NCM auto - the result is the same - it didn’t work. Logs are the same that I’ve send you earlier.

Tue Nov 29 08:33:33 2022 daemon.notice netifd: Interface ‘modem_1_1’ is setting up now
Tue Nov 29 08:33:36 2022 daemon.notice netifd: modem_1_1 (24763): sending → AT
Tue Nov 29 08:33:36 2022 daemon.notice netifd: modem_1_1 (24763): sending → ATZ
Tue Nov 29 08:33:37 2022 daemon.notice netifd: modem_1_1 (24763): sending → ATQ0
Tue Nov 29 08:33:37 2022 daemon.notice netifd: modem_1_1 (24763): sending → ATV1
Tue Nov 29 08:33:38 2022 daemon.notice netifd: modem_1_1 (24763): sending → ATE1
Tue Nov 29 08:33:39 2022 daemon.notice netifd: modem_1_1 (24763): sending → ATS0=0
Tue Nov 29 08:33:39 2022 daemon.notice netifd: modem_1_1 (24763): sending → AT+CGDCONT=1,“IP”,“internet”
Tue Nov 29 08:33:40 2022 daemon.notice netifd: modem_1_1 (24763): Configuring modem
Tue Nov 29 08:33:40 2022 daemon.notice netifd: modem_1_1 (24763): Starting network modem_1_1
Tue Nov 29 08:33:40 2022 daemon.notice netifd: modem_1_1 (24763): Connecting modem
Tue Nov 29 08:33:40 2022 daemon.notice netifd: modem_1_1 (24763): sending → AT^NDISDUP=1,1,“internet”
Tue Nov 29 08:33:41 2022 daemon.notice netifd: modem_1_1 (24763): Setting up wwan0
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Interface ‘modem_1_1’ is now up
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Network device ‘wwan0’ link is up
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Network alias ‘wwan0’ link is up
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is enabled
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ has link connectivity
Tue Nov 29 08:33:41 2022 daemon.notice netifd: Interface ‘modem_1_1_4’ is setting up now
Tue Nov 29 08:33:41 2022 daemon.notice netifd: modem_1_1_4 (25062): udhcpc: started, v1.33.2
Tue Nov 29 08:33:41 2022 daemon.notice netifd: modem_1_1_4 (25062): udhcpc: sending discover
Tue Nov 29 08:33:41 2022 user.notice mwan3[25041]: Execute ifup event on interface modem_1_1 (wwan0)
Tue Nov 29 08:33:42 2022 user.notice mwan3[25041]: Starting tracker on interface modem_1_1 (wwan0)
Tue Nov 29 08:33:42 2022 user.notice mwan3track[13607]: Stopping mwan3track for interface “modem_1_1”
Tue Nov 29 08:33:42 2022 daemon.info avahi-daemon[3946]: Joining mDNS multicast group on interface wwan0.IPv6 with address fe80::21e:10ff:fe1f:0.
Tue Nov 29 08:33:42 2022 daemon.info avahi-daemon[3946]: New relevant interface wwan0.IPv6 for mDNS.
Tue Nov 29 08:33:42 2022 daemon.info avahi-daemon[3946]: Registering new address record for fe80::21e:10ff:fe1f:0 on wwan0.*.
Tue Nov 29 08:33:44 2022 user.info mwan3rtmon[3589]: Detect rtchange event.
Tue Nov 29 08:33:44 2022 user.notice firewall: Reloading firewall due to ifup of modem_1_1 (wwan0)
Tue Nov 29 08:33:44 2022 daemon.notice netifd: modem_1_1_4 (25062): udhcpc: sending discover
Tue Nov 29 08:33:47 2022 daemon.notice netifd: modem_1_1_4 (25062): udhcpc: sending discover
Tue Nov 29 08:34:18 2022 user.notice mwan3[27243]: Execute ifdown event on interface modem_1_1 (wwan0)
Tue Nov 29 08:34:19 2022 user.info mwan3track[25327]: Detect ifdown event on interface modem_1_1 (wwan0)

Did you use it on another router with NCM protocol?