Comments (7)
for security reason (some settings change between version, every upgrade reset the modem)
(if this is a problem just save /etc/config and restore it after a reset)
the upgrade process check for GUI.tar.bz2 in /root.
if it's present, the script apply it
the upgare process of the GUI copy the new gui in root folder... manually installing it doesn't. Should i include the check to the rootdevice script? what do you think?
from tch-nginx-gui.
I had some problems with configs - matter-of-fact, they are dependent on firmware version and probaby cannot be transferred across devices even on the same firmware. I'll answer your question tomorrow, O.K.? I'll go to bed now... thx, BTW, I appreciate your efforts!
from tch-nginx-gui.
Is the rootdevice script called every time on reboot? I.e. do you mean to re-apply the last GUI update in case a firmware update did override it? I think that would be a good idea, although not documenting it could be problematic - matter of fact I usually store the GUI.tar.bz2 to /root as well when I apply the mods initially.
from tch-nginx-gui.
the rootdevice script check only for root and other settings, doesn't check for the presence of the gui (you can have the script and the stock gui)
the gui gets reinstalled in the update process of a new firmware and only there
from tch-nginx-gui.
I just had this again: I had 1.0.3 on with the GUI and rooted, upgraded to 1.1.0 and afterwards the IP was back to 192.168.1.1, most settings and the GUI were gone (root was preserved, though). Oh, and /root was empty as well. So keeping GUI.tar.bz2 over a flash would not help.
What I also saw was this for the first call of "/etc/init.d/rootdevice force" (with GUI 7.7.6 on 1.0.3):
# /etc/init.d/rootdevice force
uci: Invalid argument
cat: can't open '/etc/crontabs/root': No such file or directory
uci: Parse error
Usage: uci [<options>] <command> [<arguments>]
Commands:
batch
export [<config>]
import [<config>]
changes [<config>]
commit [<config>]
add <config> <section-type>
add_list <config>.<section>.<option>=<string>
del_list <config>.<section>.<option>=<string>
show [<config>[.<section>[.<option>]]]
get <config>.<section>[.<option>]
set <config>.<section>[.<option>]=<value>
delete <config>[.<section>[[.<option>][=<id>]]]
rename <config>.<section>[.<option>]=<name>
revert <config>[.<section>[.<option>]]
reorder <config>.<section>=<position>
Options:
-c <path> set the search path for config files (default: /etc/config)
-d <str> set the delimiter for list values in uci show
-f <file> use <file> as input instead of stdin
-m when importing, merge data into an existing package
-n name unnamed sections on export (default)
-N don't name unnamed sections
-p <path> add a search path for config change files
-P <path> add a search path for config change files and use as default
-q quiet mode (don't print error messages)
-s force strict mode (stop on parser errors, default)
-S disable strict mode
-X do not use extended syntax on 'show'
interface wan has no physdev or physdev has no suitable ip
mkdir: can't create directory '/overlay/bank_2': File exists
Unlocking /dev/mtd4 ...
Writing from /dev/mtd3 to /dev/mtd4 ...
#
This was followed by a reboot.
After having upgraded to 1.1.0 with lost settings and GUI (and correcting them), the next 'rootdevice force' gave:
# /etc/init.d/rootdevice force
cat: can't open '/etc/crontabs/root': No such file or directory
uci: Parse error
interface wan has no physdev or physdev has no suitable ip
Which is quite the same I usually see, but nevertheless scary because of the errors...
from tch-nginx-gui.
the error is just a problem with a uci settings that doesn't find where to apply (trying to find this as i'm too lazy to reset my modem.. )
can you try with the last dev? i changed a line in the upgrade script, now it should restore the gui file
(also use sysupgrade command so we can see the log of the upgrade)
from tch-nginx-gui.
This is minor, so closed...
from tch-nginx-gui.
Related Issues (20)
- Unable to save modem configuration HOT 1
- NAT helper Fix HOT 1
- App TIM Modem HOT 1
- Impossibile installare alcuna GUI HOT 2
- WPA3 on DGA4132 HOT 1
- OpenWrt LuCi Wireless Bug HOT 1
- System Extras Card
- Can't open GUI after reboot HOT 2
- Can't register VoIP HOT 2
- Unable to install LuCI from GUI and terminal HOT 10
- Problema connessione: Not Found HOT 3
- Feature request: Allow access from WAN
- The domain name remains "homenet.telecomitalia.it" while in "Local Network" card, "Domain Name" field was given another name HOT 3
- Unable to change Modem IP and DHCP DNS server HOT 4
- Installing tch-nginx-gui on Technicolor TG-1 Bricked the Gateway HOT 29
- HTTPS REDIRECT GUI BUG HOT 2
- TG789vac v2 with Tiscali original firmware: red blinking info button after installing GUI HOT 2
- VOIP With Italian ISP WindTre HOT 1
- FTTH Voip WindTre not registering HOT 3
- Feature: Multiple ddns configs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tch-nginx-gui.