cosote / r216-z Goto Github PK
View Code? Open in Web Editor NEWReconnect for Vodafone R216-Z (ZTE MF910)
License: MIT License
Reconnect for Vodafone R216-Z (ZTE MF910)
License: MIT License
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...
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
then I see the router connect.
But this time the router connect automatically after Power-Up.
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:
Connect the router with a USB cable to the PC. Make sure a network adapter appears.
Set up Wifi connection to the router and connect to it.
Connect to the web interface of the router and login (default password is admin):
http://192.168.0.1/
Switch router to ADB mode by accessing
http://192.168.0.1/goform/goform_set_cmd_process?goformId=USB_MODE_SWITCH&usb_mode=6
Install the Android Debug Bridge (command for Debian Linux):
apt install adb
List the Android devices and the router should be shown as a device:
adb devices
Download auto_apn.db from the R216-Z
adb pull /usr/zte_web/web/auto_apn/auto_apn.db
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/
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
Upload modified auto_apn.db to the R216-Z
adb push auto_apn.db /usr/zte_web/web/auto_apn/
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.