I am attempting to send an SMS message from a Huawei E8372, which unlike older versions of this product now requires a login (username/password) before it will allow API calls to be made. From I have been able to update the code written by arasaahov as below which gets me past the login step (I can get a SESSION_ID cookie and token)
I have view this file base.js which is in the injected URL :8080/www/default/base.js and found a code related to Huawei Technologies but not sure what this code is used for ? as it looks very annoying to me.
Hi, I have a Huawei E8372 and which is working, but I have the issue of double natting. Telstra has put the codes on the SIM to stop the DNAT but the dongle is still natting the connection. Does anyone have any suggestions on how to remove the nat on the dongle or if there is another dongle I can use instead please?
Got it working by loading the recommended configuration for the device (DHCP), adding the SIM PIN, setting telstra.extranet as the APN and adding AT+CGDCONT=1,"IP","telstra.extranet" as an Initialisation String. Without this last step the WWAN interface would connect using the telstra.internet APN for some reason (possible bug in the connection code maybe?).
Also worth confirming with Telstra that the GPTEXB3 code has indeed been applied to the service and testing the connection on a PC first. I find that troubleshooting APN-related connection issues is less time consuming on a PC before attempting a connection on a router that has poor or obfuscated logging capability.
Yes, basically. USB drivers match device functions based on the class/subclass/protocol triplet. You can see these in the verbose lsusb output or in /sys/kernel/debug/usb/devices. NCM is a subclass of the USB CDC (communication devices). Its control function uses the codes 02/0D/00, and this is what the driver matches on.
Vendor specific functions (all those with class code FF) complicates this a bit, since you have to take the vendor and device ids into account too. Huawei have defined their own scheme where they use the subclass and protocol to match different functions independent of the specific device-id. This is how we know the huawei_cdc_ncm driver is the right one. It's mactching vendor-id Huawei (12D1) and FF/02/16 and a few more other variants.
If your device is Huawei E8372s, then change the default SIM with another carrier SIM card and plug it into the PC. It will automatically redirect you to the unlocking page and will ask you for SIMLock / unlock code. Just enter the correct NCK / unlock code in the box and click on OK; the device will be unlocked permanently.
Unlock Code of Huawei E8372sUnlock Code of Huawei E8372HSome of the posts where NV Hash code generating process is explained:
And the latest download I could now still find in a forum is bringing only a version from 18. April 2016.
That was advertised in the forum as "mobile partner für 10.12" to be found at -c.huawei.com/download/downloadCenter?downloadId=90143&version=352019&siteCode=worldwide
the downloads a file called MAC-V200R003B015D16SP00C983.zip
2. Get the Flash Code for your USB Modem by entering its device IMEI here: _code.html
Write down or screenshot the "Flash Code" as it will be used later in step 6.
Can I suggest you run DC Unlocker earlier in order to be able to copy and paste the IMEI into the _code.html website? This will prevent any possible typos from misreading the IMEI (by people like me, 43 years old and eyesight is failing).
This repository is based on hilink project by Kenneth Shaw (kenshaw) with applied Pull Requests #14 and #15,cause almost everyone needs user authorization and new features support on modern devices (i.e. Huawei E8372) nowadays.Without any code engineering, merging PRs, etc. Just by 2 one-liners commands.
This API is currently incomplete, as I only have one type of Hilink device totest with and because I have not attempted to do an exhaustive list of all APIcalls. That said, it should be fairly easy to write a new API call by followingthe existing code. Pull requests are greatly appreciated, and encouraged!
Unfortunately the XML parser (or whatever underyling code) included with theWebUI on Hilink devices expects parameters in a specific order. This makespackages like mxj or other map based solutions not feasible for use, as Gohas random key ordering for maps.
Sim unlock code of Huawei E8372 modem is available. It can be easily unlocked by SIMLOCK code if the device prompts for SIMLOCK after changing the simcard. Once the modem is unlocked, you can use the default as well as other carrier sim cards too.
Unlocking of Huawei E8372 is one-time work, means every time you will change the SIM, there is no need to enter the code again and again. Once the device is network-free, you can use all supported bands simcards around the world.
7. Login to the device with admin privilege.8. It should redirect you to the unlocking page and will ask for NCK / SIMlock / Unlock code.9. Enter the sim unlock code which is provided by sim-unlock.blog.
aa06259810