negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

Dsl-Tweaking setting driver defaults #25

Closed BoostOver closed 6 years ago

BoostOver commented 6 years ago

In according with https://github.com/negan07/ancistrus/wiki/Dsl-Tweaking:

admin@D7000:$ anc nvram get bitswap sra trellis sesdrop cominmgn sos dynamicd dy namicf i24k monitortone phyrexmt ginp bitswap=on sra=off trellis=on sesdrop=on <<<<<<<<<<< cominmgn=off sos=on dynamicd=off <<<<<<<<<<< dynamicf=off i24k=on monitortone=on phyrexmt=3 <<<<<<<<<<< ginp=0 <<<<<<<<<<<

But: admin@D7000:$ xdslctl profile --show

    bitswap         On
    sra             Off
    trellis         On
    sesdrop         Off        <<<<<<<<<<<
    CoMinMgn        Off
    24k             On
    phyReXmt(Us/Ds) Off/On      <<<<<<<<<<
    Ginp(Us/Ds)     On/On       <<<<<<<<<<<<
    TpsTc           AvPvAa
    monitorTone:    On
    dynamicD:       On             <<<<<<<<<<<<
    dynamicF:       Off
    SOS:            On
    Training Margin(Q4 in dB):      -1(DEFAULT)
negan07 commented 6 years ago

you didn't enable tweaking flag and/or you didn't apply setting properly with dslreconfig.sh

the hidden webpage set main settings only but it doesn't retrain

BoostOver commented 6 years ago

The hidden page is empty .... is it right? Repeated the procedure but there are no changes.

negan07 commented 6 years ago

fixed hidden webpage

for some reason config was written with uppercase in the wiki page...

now update & upgrade all the packages bumping to 0.9.3 and do your tests again

keep in mind this part of the wiki

BoostOver commented 6 years ago

The hidden page now work. But i can not or will not work. Example: Show me how to set up PhyReXmt. Thank you.

negan07 commented 6 years ago

Found the problem: settings are always applied in driver default mode What mislead is the srasetting: while testing I was sra=off and the driver configure too...

The problem resides probably in the parameters passed to the driver, that will be fixed in the next version of ancistrus-core: connection reup is useless too so maybe reconfig script will be removed as configure is enough.

So now it's known that:


* XDSLCTL PROFILE --SHOW <DRIVER'S DEFAULT> ( 'xdslctl --configure' )

Modulations: G.Dmt Enabled G.lite Enabled T1.413 Enabled ADSL2 Enabled AnnexL Enabled ADSL2+ Enabled AnnexM Disabled VDSL2 Enabled VDSL2 profiles: 8a Enabled 8b Enabled 8c Enabled 8d Enabled 12a Enabled 12b Enabled 17a Enabled 30a Enabled US0 Enabled Phone line pair: Inner pair Capability: bitswap On sra Off trellis On sesdrop Off CoMinMgn Off 24k On phyReXmt(Us/Ds) Off/On Ginp(Us/Ds) On/On TpsTc AvPvAa monitorTone: On dynamicD: On dynamicF: Off SOS: On Training Margin(Q4 in dB): -1(DEFAULT)


Apart AnnexM, the difference is just `sra` ...

For this reason now It' preferable to change the tweak behaviour and also `snr` option hide setting.
negan07 commented 6 years ago

Core is bumped to 0.9.4 and now exec() should be run properly and settings applied.

Settings revised on dsl tweak so better to unset previous and store the new settings following the updated wiki page

BoostOver commented 6 years ago

Many thanks.