Livebox Tutoriaux Livebox 2 Connaître le nombre d'erreurs CRC et HEC (Livebox_2 Sagem)
Connaître le nombre d'erreurs CRC et HEC (Livebox_2 Sagem) Imprimer Envoyer
Écrit par Corrèze   
Samedi, 12 Juin 2010 15:01

Avertissement : ceci n'est valable que pour les firmwares OpenRG

Nota : ce n'est plus possible depuis les versions 6814AC et 6814AE (août 2011)

L'interface de configuration de la livebox 2 n'affiche plus le nombre d'erreurs CRC et HEC qui constitue pourtant un bon indicateur de la qualité de la ligne.

Il reste cependant possible d'y accéder en Telnet.

Exemple :

telnet 192.168.1.1

login: root
Password: 1234
[root @ home]$ adsl
[root @ adsl]$ mon
Checksum L1 code: 0x0a1c0a1c
ADSL Monitoring is Successful.
The values are:

adslLineStatus : OPERATIONAL
adslMode : G992_3_A
Upstream = 326 Kb ( Intlv[LP0] )
Downstream = 1216 Kb ( Intlv[LP0] )
=================================================
DIAG Info :
=================================================
Attenuation ( dB ) : 41.5 17.0 (FE)
SNR margin ( dB ) : 31 6 (FE)
HEC counter : 413
CRC counter : 60

RTFirmwareVer : 0x0a1c0a1c

[root @ adsl]$ home
[root @ home]$ exit


Il est possible d'écrire un script vbs ; enregistrer le code ci-dessous dans un document texte (.txt), puis le renommer avec une extension .vbs. Ensuite un clic suffit :

Set shell = WScript.CreateObject("WScript.Shell")
shell.Run "telnet 192.168.1.1"
WScript.Sleep 2000
shell.Sendkeys "root~"
WScript.Sleep 300
shell.Sendkeys "1234~"
WScript.Sleep 300
shell.Sendkeys "adsl~"
WScript.Sleep 100
shell.Sendkeys "mon~"
Set shell = WScript.CreateObject("WScript.Shell")
shell.Run "telnet 192.168.1.1"
WScript.Sleep 2000
shell.Sendkeys "root~"
WScript.Sleep 300
shell.Sendkeys "1234~"
WScript.Sleep 300
shell.Sendkeys "adsl~"
WScript.Sleep 100
shell.Sendkeys "mon~"

 

Mise à jour le Mardi, 27 Septembre 2011 21:46
 
Bannière