Everything is OK, but could not log into telnet. The standard password changemerightnow did not fit. Tips from the forum - to drive in random characters, then erase them, then the password - did not help.
Indeed, there is an error in the firmware. Do:
cp / system / usr / default_files / passwd_def / data / userdata / passwd
Now I can not start openvpn. Telnet issues:
This happened because you used passwd, which, in the absence of / etc / passwd, did not just change the password, but created a file with the standard settings for the shell and home directory, which are incompatible with the modem. For telnet, the full shell / bin / ash from busybox is used, and after your actions, / bin / sh from the android toolbox will be used.
Various environment variables are specified for ash in / etc / profile, which are necessary for the correct operation of OpenVPN and other programs.
I do not use adb shell, it is not intended for full work. Adb is present for conveniently copying files and other advanced features, but not for accessing the shell.
Bobyorchik @ 05/17/19, 18:16
I beg the author of the modified firmware to comment on how the connection to the VPN occurs, if not difficult. Is this done with pens and can it be done automatically and in what way.
The regular OpenVPN is included in the firmware, without any changes to the source code. If you worked with OpenVPN on Linux, then here is the same.
I did not do scripts to run OpenVPN, there is no automation. It is supposed to be used by an advanced user with knowledge of Linux: OpenVPN users will be able to independently write scripts to run, add them to startup.
There are scripts for sending an OpenVPN reconnection signal when changing the network, switching from a mobile network to Wi-Fi Extender and vice versa, etc.: /app/bin/oled_hijack/net.{down,up}, there are also scripts for applying DNS -server from the parameters of the OpenVPN connection, if it is configured: /system/bin/openvpn_scripts/client.{down,up} (there is a small bug there, but it does not affect functionality).
There may be a problem starting OpenVPN from the startup file. You should run it like this:
LD_LIBRARY_PATH = / app / lib: / system / lib: / system / lib / glibc / system / bin / openvpn
Posted on 05/17/2019, 20:48: Bobyorchik @ 05/17/19, 18:16
I also could not find the characteristics of the chipset in the modem. Its frequency and supported instructions. Maybe someone will clarify this point?
Huawei Balong is a series of custom System-on-Chip used in all Huawei LTE routers and USB sticks, except for some selected models with Qualcomm Snapdragon targeted for USA market. This is a custom silicon with 3 ARMv7 cores for Linux, VxWorks and M3 Monitor, and ConnX BBE16 DSP for baseband. Several models include additional HiFi audio DSP core for audio communications.
пїЅ
Previous generation is Balong Hi6921 V7R11 (all models are LTE cat. 4).
V7R11 models have 128 MB RAM (41 MB is available for Linux, 14 MB free) and 128 MB NAND flash. Routers use either Realtek RTL8192ES (2.4 GHz) or Broadcom BCM43241 (2.4 / 5 GHz) Wi-Fi chipset.
V7R11 devices run Linux 3.4.5 kernel with Android modifications. ARMv7 cores support vfpv3d16 floating point operations.
https: //zn.amorgan.xyz...aHmjZwPGZ9LY34vXD6H1V/Post has been editedValdikSS - 17.05.19, 20:49