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

This does not work on a TG800vac anymore #292

Closed scotty03 closed 5 years ago

scotty03 commented 5 years ago

NB: Before submitting an issue, check if there is one already open that suits the problem you are having!

Device Model: TG800vac Gui Version:17.2 mint

Description of problem:Clean TG800vac with 16.3 or 17.2 and GUI no longer installs correctly just errors out. If i use an earlier version of the GUI like 8.50 it goes on no problem but once you do an update you get only a few stats and when you try to goto cards you get an empty screen and no cards load.

How to reproduce (if possible):clean install on a tg800vac

Media/Photos (if possible):

FrancYescO commented 5 years ago

post error, logs or something to debug.

scotty03 commented 5 years ago

post error, logs or something to debug.

There are no error logs unless I can get something from SSH because the GUI does not show any cards and nothing to access.

FrancYescO commented 5 years ago

logread from ssh after you get the error of no cards

/etc/init.d/rootdevice debug when installing

scotty03 commented 5 years ago

Ok logread.txt attached and root_error.txt The GUI install ok it is just the /etc/init.d/rootdevice force command that gives an error logread.txt root_error.txt

FrancYescO commented 5 years ago

can you go to MODEMIP/cards.lp and check if is working?

scotty03 commented 5 years ago

No just a technicolor logo screen with no cards https://imgur.com/a/Dqf2Nej

scotty03 commented 5 years ago

Also here is the root debug output root_debug.txt

scotty03 commented 5 years ago

Quick update on this......... I deleted both banks in overlay and reinstalled stock firmware 16.3 on both banks. I installed version 8.50 of the gui and all went well. I then updated the firmware to 17.2 through the gui and installed v8.72 of the gui and all was fine. I then installed v8.8.76 of the gui and the stats screen went crazy and pressing the cards button resulted in a blank screen. I then unpacked 8.72 onto my hard drive and only copied the www folder onto the modem and restarted modem and gui was fine then I installed latest version of gui and it works. I now have a stats page and the cards load now but who knows what another update will do. However you cannot load latest version of gui straight on a clean install as it does not work and have verified this three times.

flywire commented 5 years ago

https://github.com/Ansuel/tch-nginx-gui/issues/292#issuecomment-431648742

root_error.txt

root@mygateway:~# /etc/init.d/rootdevice force
Root Script: Rooting in progress...
/etc/rc.common: line 1: transformer-cli: not found
ash: 1: unknown operand
root@mygateway:~#

This is normal output for this script. Truly.

flywire commented 5 years ago

tg799 GUI Version [ 8.8.92 ]

Same problem at http://10.0.1.138/cards.lp -> https://github.com/Ansuel/tch-nginx-gui/issues/292#issuecomment-431652007

FrancYescO commented 5 years ago

please give result of uci show network.config.wan_mode

scotty03 commented 5 years ago

ucishow.txt root@mygateway:~# uci show network.config.wan_mode uci: Entry not found root@mygateway:~#

Ansuel commented 5 years ago

@scotty03 you are on dev or stable?

scotty03 commented 5 years ago

I am on stable but can go to dev if required

Ansuel commented 5 years ago

try dev if you can

scotty03 commented 5 years ago

No exactly the same with the dev version. You get a stats screen that show a couple of windows but only a header for ports and pressing the cards button only gets a blank screen with the technicolor logo.

Ansuel commented 5 years ago

Post here your network config file

Il Gio 25 Ott 2018, 11:31 scotty03 notifications@github.com ha scritto:

No exactly the same with the dev version. You get a stats screen that show a couple of windows but only a header for ports and pressing the cards button only gets a blank screen with the technicolor logo.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Ansuel/tch-nginx-gui/issues/292#issuecomment-432981656, or mute the thread https://github.com/notifications/unsubscribe-auth/ATWWQppFch4ex9rXwYCCqFJSkDYdy9j2ks5uoYTngaJpZM4XyU5y .

flywire commented 5 years ago

tg799 GUI Version [ 8.8.92 ] network

scotty03 commented 5 years ago

Ok I think we are on the right track here...............If i do a clean install of the latest GUI I get only half the stats windows and no cards. However if I put on v8.72 of the GUI first and then upgrade it still won't work. However when I put on v8.72 and because there is no advanced tab in the broadband window and I cant select broadband type I have to put in the web file "option alwaysadvanced '1'" then I get the option to select broadband type in the broadband window and if I select VDSL2 and save and setup PPP in the internet access and then do an update to the GUI everything works fine. Something it is reading in the unchanged network file is causing this.

scotty03 commented 5 years ago

Ok confirmed if I do a clean install of firmware and install 8.9.1 dev of GUI it won't work but if I upload the modified network file it works fine. network.8.8.77.GUI.installed.over.8.72.txt network.8.9.1.dev.installed.over.8.8.77.txt network.8.72.GUI.Installed.Inernet.not.txt network.8.72.GUI.installed.internet.txt network.16.3.clean.txt

scotty03 commented 5 years ago

Ok to make the stats/card pages work the only thing that needs doing is to enter following under config interface 'wan' in /etc/config/network

config interface 'wan' option proto 'pppoe' option password 'password' option username 'username' option macaddr 'E1:B6:E7:9B:B3:7A' option auto '1' option ifname 'wanptm0'

mac address is just a made up one but would be good to get the one from the actual unit if you can make the update to the network file part of the install/root process

Ansuel commented 5 years ago

so the real problem is that tg800 doesn't have wan interface o.o but ppp interface

scotty03 commented 5 years ago

Well it odes have a wan plug for a wan connection but maybe it is the way Telstra implemented things.

Ansuel commented 5 years ago

wan interface is the default interface for every openwrt based modem in the world... but OK Telstra let's just ignore why you did this... I also need firewall config file...

scotty03 commented 5 years ago

Telstra suck LOL Here are the firewall files one stock and one with gui installed firewall.stock.firmware.txt firewall-with.gui.installed.txt

Ansuel commented 5 years ago

ok i push a fix in latest dev but can you check that everything works? The solution : if wan interface is empty rename ppp to wan

flywire commented 5 years ago

I have this issue and my wan interface is not empty.

https://github.com/Ansuel/tch-nginx-gui/issues/292#issuecomment-433004225

config interface 'wan' option reqopts '1 3 6 43 51 58 59' option ipv6 '1' option neighgcstaletime '2400' option iface6rd '0' option neighreachabletime '1200000' option vendorid 'technicolor' option metric '1' option release '1' option proto 'dhcp' option ifname 'eth4'

FrancYescO commented 5 years ago

@flywire same error log?

scotty03 commented 5 years ago

@flywire you have been posting stuff about a TG799vac. Are you asking about a TG799 or a TG800? Because they are very different.

scotty03 commented 5 years ago

@Ansuel the dev update works perfectly on a clean install on the TG800vac now. Checked everything and no issues that I could find. It connects, wireless works, port forwarding works. About the only thing I can not test is the telephony but I think it will be fine. Thanks for fixing that and for all your hard work.

Ansuel commented 5 years ago

now we need to undestand why tg800 is broken

scotty03 commented 5 years ago

@flywire I just pulled out my tg799vac and clean install of the latest dev gui on a clean new install of firmware works perfectly and the ECo lights work fine as well. You don't have nutter's luci installed do you? If you have get rid of it.

flywire commented 5 years ago

@scotty03

Used tch-nginx-gui for ages without this issue so I wonder why it appeared. btw, I'm on ethernet.

Ansuel commented 5 years ago

just to recap the issue is that no cards are displayed?

Ansuel commented 5 years ago

@flywire i loaded the network config you pos some time ago and the gui works normally... any news?

scotty03 commented 5 years ago

@scotty03

Can you confirm the only lit led is the status led and when you press it the other leds light up? How > long for?

Lights go out but you are correct the info button does not bring them back up at all. My fault as the modem is not next to me i Just turn the switch off & on in the gui to see them.

flywire commented 5 years ago

tg799 GUI Version [ 8.9.25 ] - gui works fine. Refer https://github.com/Ansuel/tch-nginx-gui/issues/264 for comments on leds.

Suggest close this issue.