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

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?

I’ve tried this modem on my laptop with PopOS 22.04 live CD… It works fine out of the box. Here is the log from this PC.

[ 23.916978] usb 3-2: new high-speed USB device number 3 using xhci_hcd
[ 24.066140] usb 3-2: New USB device found, idVendor=12d1, idProduct=1506, bcdDevice= 1.02
[ 24.066160] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 24.066169] usb 3-2: Product: HUAWEI_MOBILE
[ 24.066175] usb 3-2: Manufacturer: HUAWEI_MOBILE
[ 24.077314] usb-storage 3-2:1.3: USB Mass Storage device detected
[ 24.077562] scsi host7: usb-storage 3-2:1.3
[ 24.078017] usb-storage 3-2:1.4: USB Mass Storage device detected
[ 24.079313] scsi host8: usb-storage 3-2:1.4
[ 24.267672] usbcore: registered new interface driver usbserial_generic
[ 24.267692] usbserial: USB Serial support registered for generic
[ 24.372648] usbcore: registered new interface driver option
[ 24.372667] usbserial: USB Serial support registered for GSM modem (1-port)
[ 24.372749] option 3-2:1.0: GSM modem (1-port) converter detected
[ 24.372870] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 24.373276] option 3-2:1.1: GSM modem (1-port) converter detected
[ 24.373641] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 24.714999] usbcore: registered new interface driver cdc_ether
[ 24.785782] usbcore: registered new interface driver cdc_ncm
[ 24.856912] usbcore: registered new interface driver cdc_wdm
[ 24.894078] huawei_cdc_ncm 3-2:1.2: MAC-Address: 00:1e:10:1f:00:00
[ 24.894085] huawei_cdc_ncm 3-2:1.2: setting rx_max = 16384
[ 24.894291] huawei_cdc_ncm 3-2:1.2: NDP will be placed at end of frame for this device.
[ 24.894361] huawei_cdc_ncm 3-2:1.2: cdc-wdm0: USB WDM device
[ 24.894776] huawei_cdc_ncm 3-2:1.2 wwan0: register ‘huawei_cdc_ncm’ at usb-0000:00:14.0-2, Huawei CDC NCM device, 00:1e:10:1f:00:00
[ 24.894860] usbcore: registered new interface driver huawei_cdc_ncm
[ 25.068389] huawei_cdc_ncm 3-2:1.2 wwx001e101f0000: renamed from wwan0

wwx001e101f0000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.24.224.24 netmask 255.255.0.0 broadcast 172.24.255.255
ether 00:1e:10:1f:00:00 txqueuelen 1000 (Ethernet)
RX packets 11275 bytes 10893452 (10.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8598 bytes 955563 (955.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

May I remote control your device at some time?

Any update on that? Will there be a solution?

1 Like

Also same issue with 3372 cant get it to work on both Brume 2 and Mango v2 with fw 4. From this post it suggested it worked in the past on fw 3.x: Using the Huawei E3372 4G Dongle with OpenWRT · GitHub

The last step is not working getting ipv4, tx always show 0. Something is broken on Glinets Openwrt fw preventing it to work. It works on normal Linux, also seems to have worked in the past with fw 3.x