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 ?

  • 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)

  • I've had a couple of instances where I need to unplug and plug the dongle back in. I have raised a support ticket with Sophos and it has been escalated to the devs apparently.

     

    I find that if you reboot the appliance the WWAN1 connection does not work correctly until the USB modem is unpluged and plugged back in. Seems it needs a cold boot to work.

     

    I'd say its the driver that is implemented in SFOS and that it does not boot and detect switch the device into the right mode.

  • I agree with you about this problem of modem detection at boot.

    Most time (not to say all the time), I need to unplug and plug back the modem for Sophos detects it.

     

    But for now, my problem is different : the modem is detected and the PPP connexion is ok but I have no traffic on my connection (can't ping the gateway).

     

    I think I will open another thread about this.

  • When your connection is up, do you have, like me, a netmask which is 255.255.255.255 ?

    And does your WWAN Link Manager show the green point ?

    Mine stay red since it can't ping the gateway 10.64.64.64.

  • Hi Vincent,


    Sorry for the extremely late response the answer to your question is YES I do have a netmask of 255.255.255.255

    Also I have had another issue where after a hard reboot or power outage the WWAN1 connection will not re-establish and it says that the USB modem is not identified, I have fixed the problem by running the following command in the console.

    console > system cellular_wan set modem-setup-delay 15

    I had to run this command twice for some reason, second time it worked

  • Thanks for your answer Damian.

     

    In fact my modem is now correctly detected and the connection is established.

    The problem is that no traffic passes over this WWAN connection.

    I can't even ping the gateway 10.64.64.64.

     

    Do you have an idea why ?

Reply Children