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

Grafici xDSL #83

Closed nclmrc closed 5 years ago

nclmrc commented 6 years ago

Il log dell'errore: https://pastebin.com/WKKyA5Ew

Ansuel commented 6 years ago

Tipo Di connessione?

nclmrc commented 6 years ago

Adsl

Il Mer 18 Lug 2018, 11:13 Ansuel Smith notifications@github.com ha scritto:

Tipo Di connessione?

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

Ansuel commented 6 years ago

Can you test the latest dev version ?

nclmrc commented 6 years ago

2018/07/18 19:35:41 [error] 13084#0: *10 lua entry thread aborted: runtime error: [string "/modals/diagnostics-xdsl-graphics-modal.lp"]:39: attempt to index a nil valueJul 18 19:35:41daemon.errtransformer[13093][truncated] getter(rpc.xdslctl., Us2ScannedBand) threw an error: /usr/share/transformer/mappings/rpc/xdslctl.map:333: Interrupted system call

Ansuel commented 6 years ago

gui version ?

nclmrc commented 6 years ago

8.6.37

Il Mer 18 Lug 2018, 19:53 Ansuel Smith notifications@github.com ha scritto:

gui version ?

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

nclmrc commented 6 years ago

Complete log: https://pastebin.com/nccETS0B

Ansuel commented 6 years ago

try the latest version pls

nclmrc commented 6 years ago

Per un attimo è andato anche se non ho visto nulla. Log: https://pastebin.com/DnSGKGUj

Ansuel commented 6 years ago

prova ora

nclmrc commented 6 years ago

Ancora no: https://pastebin.com/CBRJY2MV

nclmrc commented 6 years ago

Inoltre il tab diagnostica da gui mobile sto riscontrando problema ad aprirlo. Mi viene lo screen con lo scherno grigiastro.

Edit: quando clicco sull icona xdsl grafic

meyergru commented 6 years ago

I can confirm that bug: When I have no DSL connection, the graphics is not shown, the modal loops forever and this error is logged:

2018/07/24 19:28:57 [error] 10019#0: *15 lua entry thread aborted: runtime error: [string "/modals/diagnostics-xdsl-graphics-modal.lp"]:36: attempt to index a nil value
stack traceback:
coroutine 0:
        [string "/modals/diagnostics-xdsl-graphics-modal.lp"]:36: in function 'content'
        /usr/lib/lua/web/web.lua:249: in function 'process'
        content_by_lua(nginx.conf:163):4: in function <content_by_lua(nginx.conf:163):1>, client: 192.168.10.97, server: localhost, request: "GET /modals/diagnostics-xdsl-graphics-modal.lp HTTP/1.1", host: "modemtim", referrer: "https://modemtim/"

Tested version was 8.6.55.

Ansuel commented 6 years ago

test latest version pls

nclmrc commented 6 years ago

il grafico adesso si vede, però è vuoto. é normale?

meyergru commented 6 years ago

8.6.57 works again when not connected. Graphics are shown when connected, but the 'DSL Bits' graph seems wrong (others are O.K.):

grafik

Ansuel commented 6 years ago

Yes I notice some problem with bits now I need to fix the graph for ADSL

nclmrc commented 6 years ago

screenshot_20180725-175553_chrome

Ansuel commented 6 years ago

devo ancora fixare per adsl
manca poco comunque...

meyergru commented 6 years ago

8.6.59 looks exactly the same to me, 'DSL Bits' graph is still way off.

nclmrc commented 6 years ago

Hai fixato per l'adsl?

Ansuel commented 6 years ago

ancora no

nclmrc commented 5 years ago

@Ansuel A che punto sei? Posso darti una mano?

meyergru commented 5 years ago

I have 8.7.98 running and it seems to work now (although I have been switched to SVDSL 250 in the meantime):

grafik

Ansuel commented 5 years ago

there are still problem with adsl as with vdsl we can take band and space with pbparams but with adsl we can't...

Ansuel commented 5 years ago

@nclmrc ci sto lavorando... devo fixare questa roba entro domani se no non sono felice...

Ansuel commented 5 years ago

@nclmrc appena puoi dimmi se con questa versione visualizzi i dati

nclmrc commented 5 years ago

Con la 8.8.28 ancora non vedo niente

Ansuel commented 5 years ago

transformer-cli get rpc.xdslctl.

Il Dom 30 Set 2018, 07:30 Niccolò Marchi notifications@github.com ha scritto:

Con la 8.8.28 ancora non vedo niente

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

nclmrc commented 5 years ago

BusyBox v1.23.2 (2018-04-01 00:00:51 UTC) built-in shell (ash)


| |.-----.----.| |--.-----.||.----.-----.| |.-----.----. | | | -| || | || || | || || | _| |_| |___|__||||||||||___||||_|__| N E X T G E N E R A T I O N G A T E W A Y

NG GATEWAY SIGNATURE DRINK

Product: vbnt-s Release: Cyan (17.3) Version: 17.3.0268-1681019-20180418202208-2b000d1f81ba522961071ab98383057683762dc6

Hash config: 2b000d1f81ba522961071ab98383057683762dc6 Hash openwrt: 9994478e65e83f08b6a62e6edefa48bff72d3cf6

Bootloader: 17.19.1062-0000000-20170512080206-5bebd9fb97718f93b20bca231a620df630da9918

root@DGA4132:~# transformer-cli get rpc.xdslctl. rpc.xdslctl.Us2ScannedBand [int] = 0 rpc.xdslctl.HlogUs3 [string] = rpc.xdslctl.Us4BandInitial [string] = -1 rpc.xdslctl.Ds1BandFinal [string] = -1 rpc.xdslctl.Ds2BandInitial [string] = -1 rpc.xdslctl.Ds2ScannedBand [int] = 0 rpc.xdslctl.Us2BandInitial [string] = -1 rpc.xdslctl.HlogUs1 [string] = rpc.xdslctl.Us1BandFinal [string] = -1 rpc.xdslctl.HlogDs3Split1 [string] = rpc.xdslctl.QLNDs4 [string] = rpc.xdslctl.SNRUs1 [string] = rpc.xdslctl.QLNDs3Split1 [string] = rpc.xdslctl.SNRDs1 [string] = rpc.xdslctl.HlogScanBand [string] = 512 rpc.xdslctl.SNRScanBand [string] = 512 rpc.xdslctl.HlogDs4 [string] = rpc.xdslctl.Us1ScannedBand [int] = 0 rpc.xdslctl.QLNScanBand [string] = 512 rpc.xdslctl.BitsUs2 [string] = rpc.xdslctl.SNRUs4 [string] = rpc.xdslctl.QLNUs1 [string] = rpc.xdslctl.Ds1ScannedBand [int] = 0 rpc.xdslctl.Ds4BandFinal [string] = -1 rpc.xdslctl.Us1BandInitial [string] = -1 rpc.xdslctl.SNRUs3 [string] = rpc.xdslctl.Us3BandInitial [string] = -1 rpc.xdslctl.BitsScanBand [string] = 512 rpc.xdslctl.SNRUs2 [string] = rpc.xdslctl.Us3BandFinal [string] = -1 rpc.xdslctl.HlogDs2 [string] = rpc.xdslctl.Ds2BandFinal [string] = -1 rpc.xdslctl.BitsDs3Split2 [string] = rpc.xdslctl.HlogUs4 [string] = rpc.xdslctl.BitsUs3 [string] = rpc.xdslctl.SNRDs2 [string] = rpc.xdslctl.QLNDs2 [string] = rpc.xdslctl.BitsDs3Split1 [string] = rpc.xdslctl.Ds3ScannedBand [int] = 0 rpc.xdslctl.BitsDs1 [string] = rpc.xdslctl.DslamVersionRaw [string] = 0xd087 rpc.xdslctl.SNRDs3Split1 [string] = rpc.xdslctl.QLNDs1 [string] = rpc.xdslctl.SNRDs3Split2 [string] = rpc.xdslctl.BitsUs1 [string] = rpc.xdslctl.Us3ScannedBand [int] = 0 rpc.xdslctl.UsBandNumber [string] = 0 rpc.xdslctl.DslamVersion [string] = 13.8.7 rpc.xdslctl.QLNDs3Split2 [string] = rpc.xdslctl.DslamChipset [string] = IFTN rpc.xdslctl.DsBandNumber [string] = 0 rpc.xdslctl.Ds4ScannedBand [int] = 0 rpc.xdslctl.HlogDs1 [string] = rpc.xdslctl.Us4ScannedBand [int] = 0 rpc.xdslctl.Ds3BandFinal [string] = -1 rpc.xdslctl.Us4BandFinal [string] = -1 rpc.xdslctl.Us2BandFinal [string] = -1 rpc.xdslctl.SNRDs4 [string] = rpc.xdslctl.Ds1BandInitial [string] = -1 rpc.xdslctl.Ds3BandInitial [string] = -1 rpc.xdslctl.HlogUs2 [string] = rpc.xdslctl.HlogDs3Split2 [string] = rpc.xdslctl.Ds4BandInitial [string] = -1 rpc.xdslctl.QLNUs4 [string] = rpc.xdslctl.QLNUs3 [string] = rpc.xdslctl.QLNUs2 [string] = rpc.xdslctl.BitsDs4 [string] = rpc.xdslctl.BitsUs4 [string] = rpc.xdslctl.BitsDs2 [string] = root@DGA4132:~#

Ansuel commented 5 years ago

con la 8.8.28 non avevo ancora fatto nessuna modifica puoi ridarmi il comando con la nuova versione ?

nclmrc commented 5 years ago

La 30 non l'hai mai caricata. Ahah

Ansuel commented 5 years ago

perdonami ma facendo un controllo il modem non ti dice di una versione nuova?

nclmrc commented 5 years ago

No

Ansuel commented 5 years ago

caricato

nclmrc commented 5 years ago

Ora funziona

Ansuel commented 5 years ago

puoi mettere gli screen dei 4 grafici ?

nclmrc commented 5 years ago

immagine immagine immagine immagine

meyergru commented 5 years ago

Probably, ADSL display works now (I cannot tell), but SVDSL display does not (version 8.8.33).

DSLstats gives:

grafik

whereas the GUI shows:

grafik

As you can see, the range I have marked in blue is duplicated in the yellow area. Also, note the rising slope in the pink area that seems to be shifted too far right.

When you compare it to the 8.7.98 version I posted above, you can see the problem as well.

Ansuel commented 5 years ago

the yellow zone should not be present if i compere the 2 image without it they are similar. am i right?

svdsl has the same band right?

meyergru commented 5 years ago

Yes, the yellow zone looks like an exact duplicate (apart from the upload/download coloring, as the yellow area is downstream only). It looks like the band colors are correct, but a section from the spectrum range is duplicated.

Here in Germany, it is profile 35b for 250/40 Mbps and profile 17a for 100/40 and less.

Do you need xdslctl output for that graph? I don't remember the command...

Ansuel commented 5 years ago

can you post output of the transformer command? could be just a problem with the generation of data...

meyergru commented 5 years ago

x.txt

Ansuel commented 5 years ago

you have this problem in every graph?

Ansuel commented 5 years ago

also xdslctl info --pbParams

meyergru commented 5 years ago

Yes, at least also in Hlog, QLN and Bits. Output is:

xdslctl: ADSL driver and PHY status Status: Showtime Last Retrain Reason: 1 Last initialization procedure status: 0 Max: Upstream rate = 41903 Kbps, Downstream rate = 255717 Kbps Bearer: 0, Upstream rate = 41507 Kbps, Downstream rate = 226843 Kbps Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps Discovery Phase (Initial) Band Plan US: (7,60) (871,1205) (1972,2771) DS: (65,859) (1216,1961) (2793,7751) Medley Phase (Final) Band Plan US: (7,60) (871,1205) (1972,2771) DS: (65,859) (1216,1961) (2793,7751) VDSL Port Details Upstream Downstream Attainable Net Data Rate: 41903 kbps 255717 kbps Actual Aggregate Tx Power: - 0.7 dBm 12.8 dBm

VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3 Line Attenuation(dB): 2.9 13.0 19.2 N/A N/A 7.9 17.3 32.7 Signal Attenuation(dB): 2.9 12.2 18.4 N/A N/A 8.2 16.9 31.6 SNR Margin(dB): 10.3 10.4 10.4 N/A N/A 8.8 6.9 6.8 TX Power(dBm): -8.5 -2.3 -7.9 N/A N/A -1.2 -0.2 12.4 kl0(dBx100): 180 180 N/A N/A N/A 620 649 716

Ansuel commented 5 years ago

what about this? Do you have this problem in every graph?

meyergru commented 5 years ago

Yes.

Ansuel commented 5 years ago

VERY GOOD NEWS... i manage to reproduce the problem with the pbparams... will fix this now

Ansuel commented 5 years ago

should be fixed, someone needs to test it without connection...