Troubles with Huawei 3372-153

Hello,
Today i installed my Fritz4040 with the newest Openwrt. But i have troubles with my 3372-153 with 21.x (Stick mode)

There are several configuration Guides (3g,LTE, HSDPA , qmi,ppp...) for openwrt, but i downt know, whicht will or shoud work in my situation. Now i am afraid of having an Driver conflict fromm installing a lot of drivers. But it could also be only an configuration error.

dmesg says:
usb 3-1: new high-speed USB device number 3 using xhci-hcd

after restart dmesg shows:
dmesg | grep USB


[    1.201371] GPIO line 409 (enable USB3 power) hogged as output/high
[    4.412636] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.437337] hub 1-0:1.0: USB hub found
[    4.447693] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.453027] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.467690] hub 2-0:1.0: USB hub found
[    4.483963] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    4.506189] hub 3-0:1.0: USB hub found
[    4.519091] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    4.524344] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.539103] hub 4-0:1.0: USB hub found
[   11.229168] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[   12.533413] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.670161] usbserial: USB Serial support registered for generic
[   18.729125] usbserial: USB Serial support registered for GSM modem (1-port)

but no ttyUSB appearing.

Thanks for Help.

is modeswitch installed ?

Use hilink configuration, it works perfectly with couple of packages (usb-modeswitch, kmod-usb-net-cdc-ether).

are there port forwardings and other things also working with hilink?

There are usually no such settings in the UI.

But you're probably behind a CGNAT anyway.

New State:

other Stick (flashed by myself, sure noHilink) works:

My configuration:

config interface 'LTE'
	option proto 'ncm'
	option service 'preferlte'
	option pdptype 'IP'
	option apn 'webapn.at'
	option ipv6 'auto'
	option dialnumber '*99#'
	option delay '5'
	option device '/dev/ttyUSB0'

dalay option was nessesary for making in working

dmesg | grep usb
[   11.309110] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[   11.805794] usb 3-1: USB disconnect, device number 2
[   12.578705] usbcore: registered new interface driver cdc_wdm
[   12.629094] usb 3-1: new high-speed USB device number 3 using xhci-hcd
[   12.636634] usbcore: registered new interface driver usbserial_generic
[   12.636757] usbserial: USB Serial support registered for generic
[   12.651077] usbcore: registered new interface driver cdc_ether
[   12.672819] usbcore: registered new interface driver cdc_ncm
[   12.690796] usbcore: registered new interface driver huawei_cdc_ncm
[   12.728813] usbcore: registered new interface driver qmi_wwan
[   13.214255] huawei_cdc_ncm 3-1:1.2 wwan0: register 'huawei_cdc_ncm' at usb-xhci-hcd.1.auto-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
[   21.033164] usbcore: registered new interface driver option
[   21.033304] usbserial: USB Serial support registered for GSM modem (1-port)
[   21.045116] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[   21.057890] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1

there are no results for usbmode:

root@OpenWrt:~# usbmode -l
root@OpenWrt:~# usbmode -s
root@OpenWrt:~#

cat /sys/kernel/debug/usb/devices

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1506 Rev= 1.02
S:  Manufacturer=HUAWEI_MOBILE
S:  Product=HUAWEI_MOBILE
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E:  Ad=86(I) Atr=03(Int.) MxPS=  16 Ivl=2ms
I:* If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
E:  Ad=86(I) Atr=03(Int.) MxPS=  16 Ivl=2ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us

The Stick is showing a blue light, but the speed are only 20 Mbit/s (upload 4Mbit/s) could it be that the stick is in an wrong mode?


The not working Stick (hilink) shows:

[   98.269263] usb 3-1: new high-speed USB device number 3 using xhci-hcd
[   98.666859] cdc_ether 3-1:1.0 eth2: register 'cdc_ether' at usb-xhci-hcd.1.auto-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64

also no results for usbmode

no ttyUSB devices

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=14dc Rev= 1.02
S:  Manufacturer=HUAWEI_MOBILE
S:  Product=HUAWEI_MOBILE
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us

This stick show on Linux Mint an qmi_wwan device and comes up with an dhcp device , browser comes up with gui -> so it is definitly HiLink.
Can i use this device without his own NAT or it is necessary to flash a NonHilink?

I try to understand the different modes of the sticks, how to recognize which mode is active and if necessary change it.

Thanks for your help.

non-HiLinks are called 3372s - read here: Rock-solid 24/7 LTE stick

the 3372h can be flashed into an s.

Wrong. s and h are different devices (models)
HiLink support is available for both models by using the corresponding firmware (ver. 22.x)

1 Like

i thought only the SW was different, I stand corrected.

Hi.
Look here:
https://forum.openwrt.org/t/e3372-change-mode/126590/9
My own experience with E3372(S/H)-153 devices

Sorry, I do not know.

Hello,

I was able now do switch manually from 3g to 4g by this command:
AT Commands
AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,

Speed is now 25 up and 10 Mbit/s down.
Openwrt offers for NCM configuration the LTE option whicht seems not to work in this case. Next step is to look how to persist this "to LTE" swich for next restart...

correction: seems to be persisted automatically from modem.

Thanks for all hints till now and later

Information for all which have same Problem with Hilink Modem:

My Hilink Modem works with cdc-ether, but:
installing cdc-ether never creates a network device.

Solution is installing kmod-usb-net-rndis which also depends on cdc-ether. Althought the rndis module is not used, the cdc-ether driver creates now a new ethernet device and all works as expacted.
Is this a bug?

Hostname Oben
Model AVM FRITZ!Box 4040
Firmware Version OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.083.69138-0a0ce2a
Kernel Version 5.4.188