Ansuel / tch-nginx-gui

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

Network restart on upgrade and ipv6 problem #78

Closed nclmrc closed 5 years ago

nclmrc commented 6 years ago

After the update to the last versions, i always must restart Internet access from tab to come newly online.

onix20 commented 6 years ago

Me too (Router modus). I get this in Log-Viewer:

2018/07/15 09:33:00 [error] 8708#0: *177 lua entry thread aborted: runtime error: [string "internet-pppoe-routed.lp"]:317: attempt to index global 'c' (a nil value)

nclmrc commented 6 years ago

The log:

Upgrade Script: Stopping nginx... Upgrade Script: Cleaning www dir Upgrade Script: Extracting file... Upgrade Script: Copying file to permanent dir... Upgrade Script: Running rootdevice script Root Script: Apply specific DGA file... Root Script: Extracting custom-ripdrv-specificDGA.tar.bz2 ... Root Script: telnet_support-specificDGA.tar.bz2 ... Root Script: Extracting upgrade-pack-specificDGA.tar.bz2 ...

Root Script: Extracting upnpfix-specificDGA.tar.bz2 ... Root Script: Extracting dlnad_supprto-specificDGA.tar.bz2 ... Root Script: Removing specific file and resuming root process... Root Script: Disable watchdog Root Script: Start rooting Root Script: Stopping nginx and transformer Root Script: Checking if we are on TIM configuration Root Script: Unlocking web interface if needed Root Script: Check and cleanup Root Script: Remove default dns Root Script: Purify wan Root Script: Fix dns bug Root Script: Enable dlnad ILibStartChain: Exit main loop Root Script: Fix Sysupgrade Root Script: Check orig config Root Script: Trafficmon inizialization Intel MicroStack 1.0 - Digital Media Server (DLNA 1.5)(pid = 26800),

Root Script: Restore original mapper Root Script: Transformer lib check Root Script: Remove https check Root Script: Check css presence Root Script: Check if dnsmasq is names as we need it for the webui Root Script: Check driver setting Root Script: Check Dropbear config file Root Script: Check ddns directory Root Script: Check eco param Root Script: Enable new upnp Root Script: Sync dhcp configuration for new webui Root Script: Create gui type in config Root Script: Add new web option Root Script: New DHCPRelay Option Root Script: Disable trace from igmpproxy Root Script: Moving aria2 dir Root Script: Creating new option for led definition Root Script: Old build detected, moving wansensing file Root Script: Checking downgrade limitation bit Root Script: Checking opkg conf Root Script: Creating and checking real version Root Script: Creating new wol implementation Root Script: Sync new xdsl option Root Script: Creating utility simbolic link Root Script: Clean old script Root Script: Adding fast cache options Flow Cache Setting: Starting service... Flow Cache Setting: Setting l2tp options to 1 Flow Cache Setting: Setting gre options to 1 Flow Cache Setting: Setting ipv6 options to 1 Flow Cache Setting: Setting mcast options to 1 Flow Cache Setting: Setting mcast-learn options to 1 Root Script: Reworking sfp interface in network... Root Script: Moving sfp to sfptag...

uci: Entry not found

Success JUMBO_PORT_MASK:0x00000000 GPHY_0 port rejects jumbo frames. GPHY_1 port rejects jumbo frames. GMII_1 port rejects jumbo frames. GMII_2 port rejects jumbo frames. GPON_SERDES port rejects jumbo frames. MOCA port rejects jumbo frames. USB port rejects jumbo frames. GPON port rejects jumbo frames. MIPS port rejects jumbo frames. Success Root Script: Setting root flag Root Script: Disable reboot after crash, this gives race condition... Root Script: Save root password if modified Root Script: Setting dropbear settings Root Script: Doing various check and generating hash... Root Script: Sync version Root Script: Apply modification Root Script: Restart power init Root Script: Restarting dropbear interface lan has no physdev or physdev has no suitable ip interface wan has no physdev or physdev has no suitable ip Root Script: Restarting dnsmasq Root Script: Process done. Root Script: Checking if ISP is detected... Root Script: Restarting transformer Root Script: Waiting transformer to start for 20 seconds Root Script: Restarting nginx Root Script: Restarting transformer a second time cause it's just shit... Root Script: Resetting cwmp and watchdog Upgrade Script: Upgrade Done

There's an uci error

Ansuel commented 6 years ago

modem ? agthp ?

nclmrc commented 6 years ago

Yes dga4132

Ansuel commented 6 years ago

give me /etc/config/network

nclmrc commented 6 years ago

Delete

Ansuel commented 6 years ago

/etc/init.d/rootdevice force still restart internet?

nclmrc commented 6 years ago

No perché upgradegui esegue quel comando. Ma Internet non riparte da solo. Ti torna?

Ansuel commented 6 years ago

no... non mi torna...

facendo solo questo comando /etc/init.d/rootdevice force internet viene resettato ? ho fatto un cambiamento che necessita il restart di internet solo per la prima applicazione... le prossime non dovrebbe fare nulla del genere...

nclmrc commented 6 years ago

In effetti con solo quel comando non si resetta

Ansuel commented 6 years ago

fai il comando upgradegui e dimmi se si resetta

nclmrc commented 6 years ago

Si è resettato nuovamente

Ansuel commented 6 years ago

dovrei aver fixato

nclmrc commented 6 years ago

Grande. Una domanda ulteriore come mai se nella nella configurazione del VoIP imposto un interfaccia dedicata, sono costretto a mettere le rotte statiche e non una default Route per quell'interfaccia con metrica 1? Edit: se metto la default non riesco a raggiungere il server VoIP.

Ansuel commented 6 years ago

probabilmente è causato da script vecchi di openwrt

nclmrc commented 6 years ago

Come potrei fare a capirlo?

onix20 commented 6 years ago

My problem with the dga4132 is still there (Gui 8.6.2).

2018/07/15 17:49:46 [error] 7535#0: *29 lua entry thread aborted: runtime error: [string "internet-pppoe-routed.lp"]:317: attempt to index global 'c' (a nil value)

Ansuel commented 6 years ago

@onix20 you have ipv6 enabled right?

anyway with this new version should be fixed

onix20 commented 6 years ago

Yes

Ansuel commented 6 years ago

@onix20 can you confirmi that the problem is solved ?

onix20 commented 6 years ago

If I enabled ipv6, I cannot connect to Internet.