Code Monkey home page Code Monkey logo

r216-z's People

Contributors

cosote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

r216-z's Issues

startdui.sh and ppp_reconnect.sh successfully pushed to R216-Z device, but no automatic connection is happening

First of all, thank you for sharing the code!

I was able to push the two files mentioned in the title, but I still have the same issue as without the patch: the modem is not reconnecting to the network, I still need to do it manually from within the admin web GUI.

Am I supposed to do anything else after pushing the two files and restarting the router?

How is startdui.sh initialized when it's pushed? Should I do something manually?

Sorry for the many questions, but I am trying to make it work and I am no shell expert...

Morevoer, I forked your repo and tried to translate it for UNIX users like me.

So far I was able to translate the batch file (R216-Z_patch.bat).

I also added the needed linux adb binaries to the project and that part seems working fine.

But, I still don't get how startdui.sh is supposed to start automagically when the router reboots...

patch sometimes not working

First have only a linux system. Download adb and install local on my host-system. Copy all commands from the DOS-bat.

The process to install the two files is ok.

But my R216-z has after a new startup / power-on sometimes no internet connection !

Have a O2-Sim in the slot. I need to connect to the internet

  • Open Website 192.168.01.
  • Login as admin
  • change to "Mobiles Breitband"
  • change to "Verbindung"
  • change nothing, if you have define/change to a "Benutzerdefinierte" BUT I must push "Speichern" again every time.

then I see the router connect.

But this time the router connect automatically after Power-Up.

Info: Alternative way to solve this issue

This is not a bug report but an alternative way to solve this issue. The R216-Z supports reconnections out of the box for networks listed in the autoconnect database. The issue is that not all networks are listed there. But they can be manually added with this steps:

  1. Connect the router with a USB cable to the PC. Make sure a network adapter appears.

  2. Set up Wifi connection to the router and connect to it.

  3. Connect to the web interface of the router and login (default password is admin):
    http://192.168.0.1/

  4. Switch router to ADB mode by accessing
    http://192.168.0.1/goform/goform_set_cmd_process?goformId=USB_MODE_SWITCH&usb_mode=6

  5. Install the Android Debug Bridge (command for Debian Linux):
    apt install adb

  6. List the Android devices and the router should be shown as a device:
    adb devices

  7. Download auto_apn.db from the R216-Z
    adb pull /usr/zte_web/web/auto_apn/auto_apn.db

  8. Take a backup and upload the backup (optional)

cp auto_apn.db auto_apn.db.orig
adb push auto_apn.db.orig /usr/zte_web/web/auto_apn/
  1. Add e.g. the missing German network providers to the auto_apn.db
sqlite3 auto_apn.db
INSERT INTO apn_list VALUES (26201, "Telekom Deutschland", "", "", "*99#", 0, "internet.telekom", 1, "", "", 1, "", "IPv4v6", "PAP", 0, 0, "Telekom Deutschland", "Contract", "Yes", 60, "Telekom Deutschland", "www.telekom.de", 0, "", "Yes", "Yes");
INSERT INTO apn_list VALUES (26203, "Telefonica", "", "", "*99#", 0, "internet", 1, "", "", 1, "", "IPv4v6", "PAP", 0, 0, "Telefonica Contract", "Contract", "Yes", 60, "Telefonica", "www.telefonica.de", 0, "", "Yes", "Yes");
INSERT INTO apn_list VALUES (26203, "Telefonica", "", "", "*99#", 0, "pinternet.interkom.de", 1, "", "", 1, "", "IPv4v6", "PAP", 0, 0, "Telefonica Prepaid", "Prepaid", "Yes", 60, "Telefonica", "www.telefonica.de", 1, "", "Yes", "Yes");
INSERT INTO apn_list VALUES (26207, "o2", "", "", "*99#", 0, "internet", 1, "", "", 1, "", "IPv4v6", "PAP", 0, 0, "o2 Contract", "Contract", "Yes", 60, "o2", "www.o2online.de", 0, "", "Yes", "Yes");
INSERT INTO apn_list VALUES (26207, "o2", "", "", "*99#", 0, "pinternet.interkom.de", 1, "", "", 1, "", "IPv4v6", "PAP", 0, 0, "o2 Prepaid", "Prepaid", "Yes", 60, "o2", "www.o2online.de", 1, "", "Yes", "Yes");
.quit
  1. Upload modified auto_apn.db to the R216-Z
    adb push auto_apn.db /usr/zte_web/web/auto_apn/

  2. Reboot the router with
    adb shell reboot
    or through the web interface: Settings > Device > Reboot

This works with firmware version 4.1 as available at https://www.vodafone.nl/support/telecombeheer/software-en-downloads

Reference (Russian): https://4pda.ru/forum/index.php?showtopic=686258&st=60

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.