Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: SaltyWagyu on May 15, 2017, 12:07:42 PM

Title: Draytek Vigor 130 - Some questions
Post by: SaltyWagyu on May 15, 2017, 12:07:42 PM
Just bought my Vigor 130 after finding out I'm on an ECI cabinet, unfortunately got less than expected sync increase over the Zyxel VMG-1312 (broadcom), 71,229 to 72,728. But anyway I'm planning to keep it and wait for G.IMP to reach my cabinet.

I have a few questions about the user interface. It's currently bridged to my ASUS RT-AC87U and can access the Vigor 130 UI via this guide (https://github.com/RMerl/asuswrt-merlin/wiki/Access-modem-Web-UI-on-WAN-port-(no-script)). The time and date is wrong, my Zyxel was similar when it was changed to bridge mode, except it was 2 months behind. Is wrong date+time a common thing on bridged modems?

It's showing VDSL as disconnected (see attachment) although everything is running fine, normal? Where can I find connection uptime? vdsl status in the console does not show it either.

Code: [Select]
> vdsl status

  ---------------------- ATU-R Info (hw: annex A, f/w: annex A/B/C) -----------
   Running Mode            :      17A       State                : SHOWTIME
   DS Actual Rate          : 72728000 bps   US Actual Rate       : 20000000 bps
   DS Attainable Rate      : 73164840 bps   US Attainable Rate   : 24729066 bps
   DS Path Mode            :        Fast    US Path Mode         :        Fast
   DS Interleave Depth     :        1       US Interleave Depth  :        1
   NE Current Attenuation  :       10 dB    Cur SNR Margin       :        6  dB
   DS actual PSD           :    -1.-8 dB    US actual PSD        :    -1.-7  dB
   NE CRC Count            :       21       FE CRC Count         :     1949
   NE ES Count             :        2       FE  ES Count         :     1775
   Xdsl Reset Times        :        0       Xdsl Link  Times     :        1
   ITU Version[0]          : b5004946       ITU Version[1]       : 544e0000
   VDSL Firmware Version   : 05-07-06-0D-01-07   [with Vectoring support]
   Power Management Mode   : DSL_G997_PMS_L0
   Test Mode               : DISABLE
  -------------------------------- ATU-C Info ---------------------------------
   Far Current Attenuation :        9 dB    Far SNR Margin       :        9  dB
   CO ITU Version[0]       : b5004946       CO ITU Version[1]    : 544eb206
   DSLAM CHIPSET VENDOR    : < IFTN >
Title: Re: Draytek Vigor 130 - Some questions
Post by: underzone on May 15, 2017, 12:43:22 PM
The system uptime is on the second image. Your vigor says: System Up Time 21:48:56. If the xdsl link times (from vdsl status) is 1 then the uptime is also 21:48:56

I note you are not on the latest Vigor 130 firmware version, 3.8.1BT is out

Also I would recommend this firmware for your Asus: https://asuswrt.lostrealm.ca
Title: Re: Draytek Vigor 130 - Some questions
Post by: SaltyWagyu on May 15, 2017, 01:30:55 PM
Thanks for your reply, but I'm looking for VDSL uptime, which is different from how long the modem has been powered on for.

I have seen the new firmware update but the only change is 1. Resolved an issue with the “show adsl” telnet command so did not consider it important to update.

I am using latest Asuswrt Merlin firmware :)
Title: Re: Draytek Vigor 130 - Some questions
Post by: underzone on May 15, 2017, 01:35:18 PM
After some nosing around the terminal:

vdsl status counts  - will tell you the uptime in seconds  ;D

And it includes some handy 15min/daily stats:

Code: [Select]
Type ? for command help
> vdsl status counts

 [ Counters: Showtime ]
                  Near End        Far End    Note
 ElapsedTime  :   975209            975209 (seconds)
 CRC          :    498            2949
 FEC          :   32749            34547
 HEC          :      0               0
 CRC_P        :    157               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :    408            1639
 SES          :      0              11
 LOSS         :      0             493
 UAS          :      0               0
 LOFS         :      0               0
 [ Counters: 15Min ]
                  Near End        Far End    Note
 ElapsedTime  :    847             847 (seconds)
 CRC          :      0               2
 FEC          :      0               3
 HEC          :      0               0
 CRC_P        :      0               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :      0               1
 SES          :      0               0
 LOSS         :      0               0
 UAS          :      0               0
 LOFS         :      0               0
 [ Counters: 1DAY ]
                  Near End        Far End    Note
 ElapsedTime  :   80947            80947 (seconds)
 CRC          :     27               6
 FEC          :    999              34
 HEC          :      0               0
 CRC_P        :      6               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :     25               5
 SES          :      0               0
 LOSS         :      0               0
 UAS          :      0               0
 LOFS         :      0               0
Title: Re: Draytek Vigor 130 - Some questions
Post by: smf22 on August 17, 2017, 08:58:08 AM
Hi,

I realise the last post was a few months ago now, but I'm trying to figure out which of the values from the vdsl status counts indicates the xDSL sync time. If I look at my modem / system uptime from show status I see 622:0:28 (hh:mm:ss).

Code: [Select]
> show status
System Uptime:622:0:28
LAN Status
Primary DNS:8.8.8.8           Secondary DNS:8.8.4.4
IP Address:192.168.255.10     Tx Rate:298836061    Rx Rate:471630364

WAN 1 Status: Disconnected
Enable:Yes       Line:xDSL        Name:
Mode:PPPoE       Up Time:0:00:00     IP:---            GW IP:---
TX Packets:0          TX Rate:0   RX Packets:0          RX Rate:0


WAN 2 Status: Disconnected
Enable:Yes       Line:Ethernet    Name:
Mode:---         Up Time:0:00:00     IP:---            GW IP:---
TX Packets:0          TX Rate:0   RX Packets:0          RX Rate:0

VDSL Information:      VDSL Firmware Version:05-07-06-0D-01-07
Mode:17A               State:SHOWTIME   TX Block:0     RX Block:0
Corrected Blocks:12057 Uncorrected Blocks:470
UP Speed:14292000   Down Speed:50222000   SNR Margin:2   Loop Att.:21

I found the sys diag_log log command useful to see what's happening on the xDSL and from this I can see the last time the line state changed was roughly 596:51:30 since the modem was booted. The exact uptime when the line last changed from "Train(6) to Showtime(7)" was 596:52:08.

Code: [Select]
596:51:33    [DSL] Line state has changed: 00000801 -> 00000860
596:51:33    [DSL] Status was switched: Showtime(7) to ShutDownWait(15)
596:51:33    [DSL] Line state has changed: 00000860 -> 00000001
596:51:33    [DSL] Status was switched: ShutDownWait(15) to ShutDownReached(16)
596:51:33    [DSL] Status was switched: ShutDownReached(16) to Exception(8)
596:51:33    [DSL] Training Exception:DSL autoboot exception!! exception cnt:1
596:51:35    [DSL] Status: DSL line down by exception
596:51:35    [DSL] Status was switched: Exception(8) to Restart(10)
596:51:35    [DSL] Line state has changed: 00000001 -> 00000000
596:51:35    [DSL] Status was switched: Restart(10) to FirmwareRequest(1)
596:51:35    [DSL] Line state has changed: 00000000 -> 000000FF
596:51:35    [DSL] Training Exception Workaround: reload the same modem code
596:51:35    [DSL] Entering VDSL2 mode
596:51:35    [DSL] modem code: [05-07-06-0D-01-07]
596:51:35    [DSL] Status was switched: FirmwareRequest(1) to firmwareReady(3)
596:51:36    [DSL] Line state has changed: 000000FF -> 00000100
596:51:36    [DSL] Status was switched: firmwareReady(3) to Init(5)
596:51:36    [DSL] >> nXtseA=0d, nXtseB=00, nXtseV=07, nFwFeatures=9
596:51:36    [DSL] >> nHsToneGroupMode=0, nHsToneGroup=102, nToneSet=3, nCamState=2
596:51:36    [DSL] Enable BT related fixes.
596:51:36    [DSL] dms 549 0 2 240B 0.
596:51:36    [DSL] Line state has changed: 00000100 -> 00000100
596:51:36    [DSL] Line state has changed: 00000100 -> 00000200
596:51:36    [DSL] Status was switched: Init(5) to Train(6)
596:51:39    [DSL] Line state has changed: 00000200 -> 00000300
596:51:42    [DSL] Line state has changed: 00000300 -> 00000380
596:52:06    [DSL] Line state has changed: 00000380 -> 00000801
596:52:07    [DSL] Record last show time mode: VDSL2
596:52:08    [DSL] Status was switched: Train(6) to Showtime(7)
596:52:09    [DSL] ActualNetDataRateUs=14292000, ActualNetDataRateDs=50222000
596:52:09    [DSL] VDSL2: UP rate=0, DOWN rate=47983 Kbps, Mode=17A
596:52:09    [DSL] G.Vectoring Status: OFF
596:52:21    [DSL] CPE Inventory:
596:52:21    [DSL]  G994VendorID:  B5 00 49 46 54 4E 00 00
596:52:21    [DSL]  SystemVendorID:  B5 00 49 46 54 4E 00 00
596:52:21    [DSL]  VersionNumber:  33 2E 38 2E 31 2E 32 5F 42 54 00 00 00 00 00 00
596:52:21    [DSL]  SerialNumber:  30 30 31 64 61 61 38 64 61 65 36 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
596:52:21    [DSL]  XTSECapabilities:  00 00 00 00 00 00 00 07
596:52:21    [DSL] CO Inventory:
596:52:21    [DSL]  G994VendorID:  B5 00 42 44 43 4D A4 8C
596:52:21    [DSL]  SystemVendorID:  B5 00 42 44 43 4D 00 00
596:52:21    [DSL]  VersionNumber:  76 31 30 2E 30 39 2E 31 32 20 20 20 20 20 20 00
596:52:21    [DSL]  SerialNumber:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
596:52:21    [DSL]  XTSECapabilities:  00 00 00 00 00 00 00 00

So if I convert the 622:00:28 to seconds (2,239,228) and subtract 596:52:08 (2,148,728) from it I get 90,500 seconds. But when I look at the numbers from the vdsl status counts command I don't see anything that matches.

Code: [Select]
> vdsl status counts
 [ Counters: Showtime ]
                  Near End        Far End    Note
 ElapsedTime  :   1920487            1920487 (seconds)
 CRC          :    442            12057
 FEC          :      0            249413
 HEC          :      0               0
 CRC_P        :     29               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :    110            11366
 SES          :     18              56
 LOSS         :      1               7
 UAS          :      0               0
 LOFS         :      0               0

 [ Counters: 15Min ]
                  Near End        Far End    Note
 ElapsedTime  :     26              26 (seconds)
 CRC          :      0               0
 FEC          :      0               9
 HEC          :      0               0
 CRC_P        :      0               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :      0               0
 SES          :      0               0
 LOSS         :      0               0
 UAS          :      0               0
 LOFS         :      0               0

 [ Counters: 1DAY ]
                  Near End        Far End    Note
 ElapsedTime  :   79226            79226 (seconds)
 CRC          :    449              14
 FEC          :      0            11414
 HEC          :      0               0
 CRC_P        :     32               0
 CRCP_P       :      0               0
 CVP_P        :      0               0
 NCD          :      0               0
 LCD          :      0               0
 ES           :    134               1
 SES          :     29               0
 LOSS         :      0               0
 UAS          :      0               0
 LOFS         :      0               0

Am I missing something here?

Regards