Huawei E3372h-320 in NCM mode

After further investigations, I found the reason for the ncm interface failing:
At initialization, comgt-ncm sends some AT-commands to the modem, one of it ist "ATQ0", which is not accepted by the modem.
After removing this AT-command from the huawei block of /etc/gcom/ncm.json, the interface starts and is working! (The delay option set to some seconds is necessary for start after booting the device)
Additional, a DHCP interface is necessarry.
In summary, for my version of the E3372h-320, two changes in the openwrt were needed to get the device working in stickmode:

  1. usb-modeswitch to stick-mode by modifying the usb-mode.json entry for the device 12d1:1f01 to switch to HuaweiAlt Mode: modify /etc/usb-mode.json:
in message block add:
"55534243123456780000000000000011063000000000010000000000000000"
in devices block modify:
"12d1:1f01": {
                         "*": {
                                 "t_vendor": 4817,
                                 "t_product": [ 5339, 5340 ],
                                 "mode": "HuaweiAlt",
                                 "msg": [  xx ]
                    }
             }

where xx is the line number of the message entry.

  1. remove the ATQ0 command from the Huawei initialisation block at the top of /etc/gcom/ncm.json

  2. setup interface in /etc/config/network

config interface 'LTE'
        option apn 'apn-code'
        option dialnum '*99#'
        option proto 'ncm'
        option ifname 'wwan0'
        option ipv6 'auto'
        option metric '40'
        option delegate '0'
        option disabled '0'
        option mode 'preferlte'
        option pdptype 'IP'
        option device '/dev/ttyUSB2'
        option delay '5'
  1. setup dhcp in /etc/config/dhcp
config dhcp 'LTE'
        option interface 'LTE'
        option ignore '1'
        list ra_flags 'none'

And that's it!

4 Likes