Re: E3372h-320 (update 2020 version of E3372) automatically switches itself into ethernet mode
Hi Josh,
Appreciate the effort. Yes, also no issues here with newer kernels, e.g. on a RPi with raspbian.
But my embedded device runs on 3.4.11, and for several reasons, I can't change the kernel
Hi ykl,
No, I did not find a fix despite having spent many hours on it. Will update in here if I find something. Please do the same.
Thanks.
Appreciate the effort. Yes, also no issues here with newer kernels, e.g. on a RPi with raspbian.
But my embedded device runs on 3.4.11, and for several reasons, I can't change the kernel
Hi ykl,
No, I did not find a fix despite having spent many hours on it. Will update in here if I find something. Please do the same.
Thanks.
-
- Posts: 2
- Joined: 03 Jul 2014, 23:13
- Location: Recife, PE, Brazil
Re: E3372h-320 (update 2020 version of E3372) automatically switches itself into ethernet mode
Hi, thanks for insights.
I can to put E3372h-320 in serial mode (/dev/ttyUSB0,1,2) on OpenWRT 21.02rc3
I put this on /etc/rc.local
And create a new /etc/usb-mode.json
I reconnect E3372h-320 on usb port, and configure interface as proto-3g, fill apn, username and password and everything works as expected.
Double NAT never more!
I can to put E3372h-320 in serial mode (/dev/ttyUSB0,1,2) on OpenWRT 21.02rc3
I put this on /etc/rc.local
Code: Select all
echo "12d1:1f01:s" > /sys/module/usb_storage/parameters/quirks
usbreset 12d1:1f01
usbreset 12d1:14db
Code: Select all
{
"messages" : [
"55534243123456780000000000000011063000000100010000000000000000",
],
"devices" : {
"12d1:1f01": {
"*": {
"t_vendor": 4817,
"t_product": [ 5471 ],
"msg": [ 0 ]
}
}
}
}
Double NAT never more!
Re: E3372h-320 (update 2020 version of E3372) automatically switches itself into ethernet mode
snipmurilopontes wrote: ↑25 Jun 2021, 01:16 Hi, thanks for insights.
I can to put E3372h-320 in serial mode (/dev/ttyUSB0,1,2) on OpenWRT 21.02rc3
It is rare to get a public IP address from a mobile internet provider and that is equally true for a dialup connection.
Check what IP address you get, I think you are still NAT'ed.
You will never be able to get the full LTE CAT4 speed through the modem if you use it in ppp serial dialup mode.
Re: E3372h-320 (update 2020 version of E3372) automatically switches itself into ethernet mode
I saw this thread only after I posted what sounds like a very similar problem: viewtopic.php?f=3&t=3009
My E3372h-320 is always in ProdId=14db mode. It's frustrating! I removed (apt remove usb-modeswitch) to make sure that no unwanted switching can occur. I also have "options usb-storage quirks=12d1s" in my /etc/modprobe.d/huawei-noprobe.conf. Yet all I see in dmesg is:
I am not in front of the computer so I simulate unplug/plug via:
However, things are not different with a complete server reboot either.
Why is this modem always automatically going into 14db?
My E3372h-320 is always in ProdId=14db mode. It's frustrating! I removed (apt remove usb-modeswitch) to make sure that no unwanted switching can occur. I also have "options usb-storage quirks=12d1s" in my /etc/modprobe.d/huawei-noprobe.conf. Yet all I see in dmesg is:
Code: Select all
[77109.136048] usb 2-9.1: USB disconnect, device number 8
[77109.136162] cdc_ether 2-9.1:1.0 enx001e101f0000: unregister 'cdc_ether' usb-0000:00:14.0-9.1, CDC Ethernet Device
[77109.375785] usb 2-9.1: new high-speed USB device number 9 using xhci_hcd
[77109.476935] usb 2-9.1: New USB device found, idVendor=12d1, idProduct=14db, bcdDevice= 1.02
[77109.476941] usb 2-9.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[77109.476945] usb 2-9.1: Product: HUAWEI_MOBILE
[77109.476948] usb 2-9.1: Manufacturer: HUAWEI_MOBILE
[77109.557596] cdc_ether 2-9.1:1.0 eth2: register 'cdc_ether' at usb-0000:00:14.0-9.1, CDC Ethernet Device, 00:1e:10:1f:00:00
[77109.579889] cdc_ether 2-9.1:1.0 enx001e101f0000: renamed from eth2
Code: Select all
uhubctl -a off -p 1 -l 2-9 && uhubctl -a on -p 1 -l 2-9
Why is this modem always automatically going into 14db?
Re: E3372h-320 (update 2020 version of E3372) automatically switches itself into ethernet mode
Most likely because its firmware is made to do that.. It might be intended to be used for Apple or Android.
I would let it install as an eth device, pull an IP from it and open a browser to the built-in web server (at the dongles gateway IP) and check if there is any setting for changing its behavior.
I also recommend reading this thread, viewtopic.php?t=1295 .
Read the whole thread first, then decide if you want to experiment!!
Using E3372h-320 with PPP: works!
For an older appliance using a rather old kernel, I got the E3372h-320 as replacement for an earlier modem. I got it to work using PPP by first disabling the automatic data connection for the built-in HiLink software, as follows:
- Use a "newish" Linux system (tried Debian 10, kernel 4.19.0-18-amd64), and disable usb_modeswitch entirely, e.g. DisableSwitching=1 in /etc/usb_modeswitch.conf
- Insert E3372h-320, it will switch from 12d1:1f01 to 12d1:14db automatically and present CDC-Ethernet interface.
- Run DHCP on the new Ethernet interface, will get 192.168.8.100 address.
- Open webbrowser to http://192.168.8.1/, go through small startup wizard. (Dis-)allow automatic firmware downloads as desired.
- Then in menu under Mobile Connection, DISABLE mobile data, and possibly disable other automatic things.
- Give it some seconds to store the settings, then unplug it. Don't forget to re-enable usb_modeswitch.
Above needs to be done only once, setting is remembered by modem.
When plugging E3372h-320 into the target system, it can be switched to AT command and PPP mode using this string:
55534243123456780000000000000011063000000100010000000000000000
which makes it switch to 12d1:155e
In earlier attempts, I also tried
55534243123456780000000000000011063000000100000000000000000000
which makes it switch to 12d1:1001 and will probably work as well.
AT and PPP is on /dev/ttyUSB0, additional AT commands and unsollicited status reports on /dev/ttyUSB2.
As long as data connection has been disabled for the on-board HiLink software, PPP will work as expected. But when HiLink data connection is enabled, you will see the modem LED go active spontaneously without any PPP running, and PPP will get HANGUP immediately after authentication has succeeded.
Note that E3372h-320 does not support some "ancient" AT commands that were still supported/faked by earlier models. For example, ATQ0 and ATV1 will give ERROR now. You may want to remove these from your dial script.
For 4G operation, the AT^SYSCFGEX command is required, since AT^SYSCFG can only select 2G/3G. Details can be found elsewhere on the web.
All of this is for Model: E3372h-320, Revision: 10.0.3.1(H192SP1C983) as reported by ATI command.
- Use a "newish" Linux system (tried Debian 10, kernel 4.19.0-18-amd64), and disable usb_modeswitch entirely, e.g. DisableSwitching=1 in /etc/usb_modeswitch.conf
- Insert E3372h-320, it will switch from 12d1:1f01 to 12d1:14db automatically and present CDC-Ethernet interface.
- Run DHCP on the new Ethernet interface, will get 192.168.8.100 address.
- Open webbrowser to http://192.168.8.1/, go through small startup wizard. (Dis-)allow automatic firmware downloads as desired.
- Then in menu under Mobile Connection, DISABLE mobile data, and possibly disable other automatic things.
- Give it some seconds to store the settings, then unplug it. Don't forget to re-enable usb_modeswitch.
Above needs to be done only once, setting is remembered by modem.
When plugging E3372h-320 into the target system, it can be switched to AT command and PPP mode using this string:
55534243123456780000000000000011063000000100010000000000000000
which makes it switch to 12d1:155e
In earlier attempts, I also tried
55534243123456780000000000000011063000000100000000000000000000
which makes it switch to 12d1:1001 and will probably work as well.
AT and PPP is on /dev/ttyUSB0, additional AT commands and unsollicited status reports on /dev/ttyUSB2.
As long as data connection has been disabled for the on-board HiLink software, PPP will work as expected. But when HiLink data connection is enabled, you will see the modem LED go active spontaneously without any PPP running, and PPP will get HANGUP immediately after authentication has succeeded.
Note that E3372h-320 does not support some "ancient" AT commands that were still supported/faked by earlier models. For example, ATQ0 and ATV1 will give ERROR now. You may want to remove these from your dial script.
For 4G operation, the AT^SYSCFGEX command is required, since AT^SYSCFG can only select 2G/3G. Details can be found elsewhere on the web.
All of this is for Model: E3372h-320, Revision: 10.0.3.1(H192SP1C983) as reported by ATI command.
Re: Using E3372h-320 with PPP: works!
i tried to follow your instructions but looks like the interface changed or i just looking for some settings at the wrong place. also some steps are not clear for me. my modem has a blue/white interface which is very simple. so it's not clear how to go on.Jabe wrote: ↑09 Feb 2022, 21:44 For an older appliance using a rather old kernel, I got the E3372h-320 as replacement for an earlier modem. I got it to work using PPP by first disabling the automatic data connection for the built-in HiLink software, as follows:
- Use a "newish" Linux system (tried Debian 10, kernel 4.19.0-18-amd64), and disable usb_modeswitch entirely, e.g. DisableSwitching=1 in /etc/usb_modeswitch.conf
- Insert E3372h-320, it will switch from 12d1:1f01 to 12d1:14db automatically and present CDC-Ethernet interface.
- Run DHCP on the new Ethernet interface, will get 192.168.8.100 address.
- Open webbrowser to http://192.168.8.1/, go through small startup wizard. (Dis-)allow automatic firmware downloads as desired.
- Then in menu under Mobile Connection, DISABLE mobile data, and possibly disable other automatic things.
- Give it some seconds to store the settings, then unplug it. Don't forget to re-enable usb_modeswitch.
Above needs to be done only once, setting is remembered by modem.
When plugging E3372h-320 into the target system, it can be switched to AT command and PPP mode using this string:
55534243123456780000000000000011063000000100010000000000000000
which makes it switch to 12d1:155e
In earlier attempts, I also tried
55534243123456780000000000000011063000000100000000000000000000
which makes it switch to 12d1:1001 and will probably work as well.
AT and PPP is on /dev/ttyUSB0, additional AT commands and unsollicited status reports on /dev/ttyUSB2.
As long as data connection has been disabled for the on-board HiLink software, PPP will work as expected. But when HiLink data connection is enabled, you will see the modem LED go active spontaneously without any PPP running, and PPP will get HANGUP immediately after authentication has succeeded.
Note that E3372h-320 does not support some "ancient" AT commands that were still supported/faked by earlier models. For example, ATQ0 and ATV1 will give ERROR now. You may want to remove these from your dial script.
For 4G operation, the AT^SYSCFGEX command is required, since AT^SYSCFG can only select 2G/3G. Details can be found elsewhere on the web.
All of this is for Model: E3372h-320, Revision: 10.0.3.1(H192SP1C983) as reported by ATI command.
firmware: 11.0.1.1(H697SP1C983)
webui: 11.0.1.1(W13SP2C7201)