This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Huawei E3372 LTE GSM Modem in Stick Mode

Has anyone had success with the Huawei E3372 LTE modems. We could get it to work in HiLink DHCP mode, but we need the modem to present the WAN IP address directly to the XG interface. HiLink mode uses NAT, so we have managed to Re-Flash the modem with firmware to convert it to Stick (Serial) Mode.

Our XG is detecting the modem's COM ports and attempts to connect, but just sits on connecting forever. We have the correct APN for telstra.extranet which provides us with a static IP address and the correct phone number of *99#


I am wondering if there are any "Initialisation Strings" / AT commands to get this to work correctly.

Thanks in advance.



This thread was automatically locked due to age.
Parents
  • Hi There,

     

    I have done this successfully following this guide: http://www.0xf8.org/2017/01/flashing-a-huawei-e3372h-4g-lte-stick-from-hilink-to-stick-mode/

    The steps are quite easy.

    1. Open device and short the pins & attach to computer

    2. Run balong utility (no need to compile as mentioned in the article) available here https://github.com/forth32/balong-usbdload

    Command is: balong-usbload -p (COM port number-just the number e.g if COM4 you just need to put the number 4 not COM4) usblsafe-3372h.bin

    This will put the stick in a special mode where you can then flash firmware as below

    3. Flash firmware with balong flash utility here https://github.com/forth32/balongflash

    Firmware available here: https://www.lteforum.at/mobilfunk/firmware-versionen-hi-non-hilink-e3372h-inkl-mod.2691/

    Command is: balong-usbflash 3372h-153_UPDATE_21.180.01.00.00.BIN if your device is not a 153, do not worry after flashing this firmware you can then upgrade to the specific firmware you need from lteforum site above.

    You just need the BIN file not the *.exe

    Upon completion you will have a stick only device with original huawei firmware.

  • Hello,

     

    I successfully flashed my E3372h (rev. 21.200.07.00.805) using this method and it works perfectly under linux Ubuntu.

     

    But, I can't make it work on Sophos XG85 (SFOS 17.0.2 MR-2).

    As soon I click on "Connect", it tries to connect and lost connection with modem. Next tries always fails since modem is not seen anymore by XG.

     

    Here is my network.log

    Manufacturer: huawei
    Model: E3372
    Revision: 21.200.07.00.805
    IMEI: 861821035707675
    +GCAP: +CGSM,+DS,+ES

    OK
    at+cgdcont=1,"IP","websfr"
    OK
    WARNING ; Dec 11 16:28:35  ; ADMIN  ; JSON_PARSOR    ; Unable to find handler for key: if_config;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ; ;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ; interface = WWAN1;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               zonetype = 2;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               zoneid = 2;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               gatewayid = 2;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               gatewayid6 = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               enabled = Yes;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               linktype = USB;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               mtu = 1500;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               mss = 1460;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               interface_speed = auto;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               mac-address = (null);
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               parent_ifname = ;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               system interface = ;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; LINK           ;               master = ;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ; Total Interface = 1;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ; interface = WWAN1;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;    Total IP addresses = 1;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        address[0] = (null);
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        peeraddr[0] = (null);
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        netmask[0] = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        family[0] = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        ip_assignment[0] = 4;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        scope[0] = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        sequence[0] = -1;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ;        mtu[0] = 1500;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; NEIGH          ; Total Interface = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; DHCPRELAY      ; Total Interface = 0;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; ioctl: interface 'WWAN1';
    ERROR   ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; ioctl SIOCGIFINDEX failed: No such device
    ;
    WARNING ; Dec 11 16:28:35  ; ADMIN  ; LINK_USBMODEM  ; interface 'WWAN1' does not exist.;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; ioctl: interface 'WWAN1';
    ERROR   ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; ioctl SIOCGIFINDEX failed: No such device
    ;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IPV4           ; wvdial Command; wvdial IPPARAM usbmodem WWAN1 2 1500 0
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; IP             ; Reply = '0';
    WARNING ; Dec 11 16:28:35  ; ADMIN  ; NEIGH          ; Not Found any data for neighbour.;
    WARNING ; Dec 11 16:28:35  ; ADMIN  ; DHCPRELAY      ; Not Found any data for relay.;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; time taken for do_nd_action is 0.000000.;
    INFO    ; Dec 11 16:28:35  ; ADMIN  ; ND_MAIN        ; sending reply: 0;
    --> WvDial: Internet dialer version 1.41
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Thu Jan  1 02:36:13 1970
    --> PPP daemon has died! (exit code = 16)
    --> Disconnecting at Mon Dec 11 16:29:07 2017
    --> Auto Reconnect will be attempted in 5 seconds
    --> pppd error!  Look at files in /var/log for an explanation.
    --> Initializing modem.
    --> Sending: ATZ
    --> Modem not responding.

     

    I search for a pppd log file but not found.

     

    Anyone can help ?

  • Thanks for your answer but it does not help.

     

    I still have a pppd error.

    --> WvDial: Internet dialer version 1.41
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: AT+CGDCONT=1,"IP","websfr"
    AT+CGDCONT=1,"IP","websfr"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Thu Jan  1 10:57:19 1970
    --> PPP daemon has died! (exit code = 16)
    --> Disconnecting at Tue Dec 12 17:07:49 2017
    --> Auto Reconnect will be attempted in 5 seconds
    --> pppd error!  Look at files in /var/log for an explanation.
    --> Initializing modem.
    --> Sending: ATZ
    --> Modem not responding.
    --> Initializing modem.
    --> Sending: ATZ

     

    But I can't find any log file for pppd

  • What firmware version is the modern running?

  • Here is an extract of mdev.log

    Wed Dec 13 16:23:41 CET 2017 tty event :found secondary port ttyUSB0
    Wed Dec 13 16:23:41 CET 2017 scaning /dev/ttyUSB1 ati .....

    Manufacturer: huawei
    Model: E3372
    Revision: 21.200.07.00.805
    IMEI: 861821035707675
    +GCAP: +CGSM,+DS,+ES

     

    It is version 21.200.07.00.805

     

    I try to downgrade to 21.180 but without success.

     

    Do you think it can be the cause ?

  • Maybe I did not set up my connection properly.

    Do you use PPP or DHCP ?

  • I change Modem Port to Serial 1 instead of Serial 0 and it's a little bit better since Sophos does not lost anymore connection to the modem.

    However, PPP daemon still die with error 16 and so, no connection is established.

     

    During firmware upgrade, I do some modifications with command AT^SETPORT.

     

    Can you give me the result of command AT^SETPORT? on your modem to see if I have the good configuration.

    For now, I have : ^SETPORT:A1,A2;12,1,16,A1,A2

  • I would connect the stick to a windows computer

    Download this http://download-c1.huawei.com/download/downloadCenter?downloadId=94325&version=378649&siteCode=in

    Configure the connection and if it works then you know you are looking at an issue with SFOS otherwise you might have the wrong firmware for your device (remember firmware is region specific, although some/most will work globally)

  • When I connect the stick to a Windows 7 computer, it's only seen as Storage USB Device but no COM port is added.

    I don't understand why since it works perfectly on a Ubuntu computer.

     

    I will try to flash another firmware.

     

    Can you give me a link to the exact BIN file you use ?

  • I try different things on Windows but my Stick is not seen (no COM port) except when I plug it with short pin method.

    This is really strange since I have no problem on Linux : ttyUSB devices are created and I can connect on 3G/4G.

    Any idea of what could generate the PPP error 16 on SFOS ?

  • Don't know why but now it works, I'm connected.

     

    However, IP parameters are strange and no traffic goes through the connection.

    On WAN Link Manager, status is Down since it can't ping the gateway (10.64.64.64)

Reply Children