Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
344 stars 52 forks source link

Setup Wizard and Cards buttons not working in GUI #1121

Open atm1991 opened 2 years ago

atm1991 commented 2 years ago

Device Model/Firmware: Telstra TG799VAC (17.2 Mint) GUI Version: 9.6.65-89342d7b

Please go to Cards >> GUI Settings >> Debug Report and press the Generate button. Attach the debug file here: Cards button not working in GUI.

Description of problem, HOW TO REPRODUCE, Media/Photos:

  1. Copy GUI.tar.bz2 to /tmp via SCP
  2. Run command: bzcat /tmp/GUI.tar.bz2 | tar -C / -xvf - && /etc/init.d/rootdevice force
  3. The above command runs and the last lines of the output are:

No internet connection detected, download manually! Root Script: Detected low flash space device... uci: Invalid argument uci: Invalid argument uci: Invalid argument root@mygateway:/tmp#

  1. I was able to then login to GUI and SSH (root) using reset/default tech-nginx-GUI credentials and then change them. Under GUI, I can see “Gateway”, “Connected Devices” and “Telephony Info”. Nothing else loads and the “Setup Wizard” and “Cards” buttons do nothing when clicked. I can change the GUI language using the button and the “Advanced” button also works.

8D866200-23A9-45B8-AEC2-5093F6FA65B6

At this stage, I don’t mind if this cannot be fixed and would be happy to simply revert to default GUI if this is possible? I have read https://github.com/Ansuel/tch-nginx-gui/issues/202 and the comment “never... to reset the gui just remove anything in overlay and reboot but you will remove also rootscript and next boot = locked” but do not understand this part “… but you will remove also rootscript and next boot = locked“. Could you please explain this to me? Apologies, I am new to this device and only received it yesterday. It is currently being used in bridge mode only.

Please let me know what other information I can provide and thank you in advance for your time.

FrancYescO commented 2 years ago

Try to go directly to yourmodemip/cards.lp

To reset you just need to press the reset button (2 in a row if you want also to lose root access)

to get more info for a fix we need the debug zip and the execution of the 2nd command with "debug" instead of "force" in the end (after a reset)

atm1991 commented 2 years ago

Thank you very much @FrancYescO! Navigating directly to yourmodemip/cards.lp allows me to access the cards page. Most of the functionality appears to be there but a couple of cards are broken. Attached is the Debug Report which I have now been able to generate. DebugHelper2022-01-09-0825.tar.gz

36945753-D041-4D5F-B244-9ED1B6C2F698

FrancYescO commented 2 years ago

If it's not a big issue, reset and reinstall the gui using the debug command, it can help

Try also to use the last dev version to see if anything get fixed

atm1991 commented 2 years ago

Thanks again for the quick reply. Just installed the latest dev build via the debug command and the issue remains with the broken cards. I also have the Telstra GUI installed and on this, the Broadband tab is broken/blank, so am guessing this corresponds to the broken cards in the default Green Gui.

D6405B29-3F83-4518-9DE2-51179AD33CE7

If I reset by holding in the power button, will I have to go through the setup of the device again or will all settings be preserved except those contained in /overlay/bank_2? I’ve currently got the modem setup as I wanted it in bridge mode so am trying to avoid resetting it unless necessary.

FrancYescO commented 2 years ago

On the first reset the only thing that persist will be the ssh root access (so u need to reinstall only the gui)

Redo a debug zip after you navigate a bit around as it will collect all error

N1c0o commented 2 years ago

To work properly the smart modem (white model) must have the larsen64 fixes present in my repository @ilpuntotenicoeadsl Name is ^NiCo^ the thread is pinned you can't miss it or just go in my repo, do a factory reset whit the rear button re-install the latest gui then follow the fixes present in larsen64' zip

We should merge those fixes to have fully support for tg799 vac v2 running mint 17.2, or at least the wifi fix.

N1c0o commented 2 years ago

BTW an hard reset is always advised when you crossflash. So, do ONE hard reset, reinstall gui, put on the fixes from larsern64 All fixed. ATM i use two vac v2 modded whit gui+larsen64 fixes as AP/switchs, cheap stuff, 20e on ebay and work great, also you can do a lot more things then a simple wifi repeater.

N1c0o commented 2 years ago

I think the issue thread can be closed.

N1c0o commented 2 years ago

Last TIP before is closed, i reccomend to use mobaxterm(freeware) you can copy/paste command strings like scp, ( save profiles etc ) but you can actualy see what's happening and if the root script spit out some error so you can copy/pate that here.

SCP execute the command but it never notice you when is done, so is even possible you closed WinSCP before the script was ended

Please follow my instruction and you will be ok at the first try.

alvindarkness commented 2 years ago

I am witnessing the same issues as the original poster (atm1991). Two cards display the "Error 500undefined" error. The log suggests they are the broadband and internet cards.

log missing cards

I have tried both current stable and dev releases. I am currently using the following release (and modem model) -

version and modem

Incase it helps, my modem was in bridged mode before installing tch-nginx, I'm not sure if thats related to broadband/internet cards not being found. It is still in bridged mode now.

I'd also like to add that the stats/cards button in the top right doesnt work often, and I have to manually load up the pages directly by going to yourmodem/cards.lp and yourmodem/stats.lp

One last issue, perhaps the most annoying for me personally, is the stats page does not show xdsl stats. I only have "Gateway", "Connected Devices", and "Telephony Info". As such I cant find anywhere what my "attainable line speeds" are. Is there any way to force xdsl stats to be shown on the yourmodem/states.lp page?

FrancYescO commented 2 years ago

@alvindarkness probably it will not solve the wizard issue, but if you have no particular reasons to stay on 16.3 upgrade your gateway to 17.2

the xdsl stats maybe are hidded due to the bridge mode, so some other check should be done to have this stats block showen when the gateway is used to bridge vdsl

alvindarkness commented 2 years ago

@FrancYescO Thanks for the suggestion. This is a modem supplied by iiNet, Ive stuck with their firmware releases (I'm unsure if its safe to branch to other ISP's firmware or not). I just upgraded the firmware from 16.3.7637-ver2.2.1, to 16.3.8046-ver2.5.3. Now the stats page works perfectly and displays xdsl info. And the broadband card displays correctly on the cards page. Much better!