Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4 5

Author Topic: Re: ADSL2+ Tones & Bitloading Problem  (Read 25275 times)

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: ADSL2+ Tones & Bitloading Problem
« Reply #15 on: August 04, 2012, 09:57:27 PM »

The raw QLN data from the modem is needed. Presumably this is a Broadcom-chipset modem?  Then calculate the frequencies of those noise spikes, by multiplying each subcarrier index where noise is measured by 4.3125kHz, the channel spacing for xDSL in Europe.

So the precision is at best to the nearest 4.3125kHz. Then try and correlate those frequences to likely sources.  Also, you might want to study the periodicity of the spikes (the frequency gap between each noise spike) since that can identify a noisy switched-mode PSU as the cause - a common cause.

cheers, a
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #16 on: August 04, 2012, 10:33:36 PM »

The raw QLN data from the modem is needed. Presumably this is a Broadcom-chipset modem?  Then calculate the frequencies of those noise spikes, by multiplying each subcarrier index where noise is measured by 4.3125kHz, the channel spacing for xDSL in Europe.

So the precision is at best to the nearest 4.3125kHz. Then try and correlate those frequences to likely sources.  Also, you might want to study the periodicity of the spikes (the frequency gap between each noise spike) since that can identify a noisy switched-mode PSU as the cause - a common cause.

cheers, a

good lord i read that was was a little  ??? haha :D
if a switched mode psu could be the cause is there anyway to test this ? by unplugging devices and seeing if the quiet line noise graph gets better or worse after a retrain ?
as to calculate the frequency i would have little to no way or know how to do it :S
sounds very complicated lol

also would wrapping a ferrit core around the power cable of the router and any devices around the house make a difference ?

sorry i know its really hard giving help to someone as noobish as me on the whole frequency side of things :S
i know little about it
« Last Edit: August 04, 2012, 11:12:41 PM by beanieboy182 »
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: ADSL2+ Tones & Bitloading Problem
« Reply #17 on: August 05, 2012, 12:34:06 AM »

if a switched mode psu could be the cause is there anyway to test this ? by unplugging devices and seeing if the quiet line noise graph gets better or worse after a retrain ?
as to calculate the frequency i would have little to no way or know how to do it :S
sounds very complicated lol

It's really easy. Bald_Eagle's scripts for Windows are the way to go.   They will download the raw data from the modem (which modem is it?). That allows the QLN dataset to be studied in detail, to find the noise peaks in the ADSL tone map.

Quote
also would wrapping a ferrit core around the power cable of the router and any devices around the house make a difference ?

sorry i know its really hard giving help to someone as noobish as me on the whole frequency side of things :S
i know little about it

First I would use Paul's scripts to identify the tone indices where the noise is occurring. Calculate the frequencies of that noise from those indices, and then study what might be causing the noise.

cheers, a
« Last Edit: August 05, 2012, 11:14:33 AM by asbokid »
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #18 on: August 05, 2012, 10:21:44 AM »

great im gonna get that bald eagle script running now :)
will post back soon
kevin
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #19 on: August 05, 2012, 11:08:01 AM »

also its a netgear dg834gt :)
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #20 on: August 05, 2012, 11:43:09 AM »


It's really easy. Bald_Eagle's scripts for Windows are the way to go.   They will download the raw data from the modem (which modem is it?). That allows the QLN dataset to be studied in detail, to find the noise peaks in the ADSL tone map.

ok this may sound dumb but how and where do i find it ?
or how do i use it ?
so confused lol
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: ADSL2+ Tones & Bitloading Problem
« Reply #21 on: August 05, 2012, 01:00:39 PM »

Sorry beanie, I can't see the ADSL scripts at the moment.  Paul converted them from his VDSL2 scripts, but not sure where he's put them.  I thought they were in that Zoom modem thread, but can't see them now.  Anyone know where they are?  Where is Paul, any way?

cheers, a

Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #22 on: August 05, 2012, 01:19:35 PM »

Sorry beanie, I can't see the ADSL scripts at the moment.  Paul converted them from his VDSL2 scripts, but not sure where he's put them.  I thought they were in that Zoom modem thread, but can't see them now.  Anyone know where they are?  Where is Paul, any way?

cheers, a

do you have any idea what the telnet username and password is ? is it the same as the login to the web interface ?
ive tried to telnet before but it always says wrong username and password
hmmmz
im using a netgear dg834gt with the netgear firmware of 1.04.13 (the newest)
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: ADSL2+ Tones & Bitloading Problem
« Reply #23 on: August 05, 2012, 01:35:01 PM »

Not sure about that particular device.  Though the DgStats tool must have both the telnet username and password stored in its configuration, to be able to access that line data.

cheers, a
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #24 on: August 05, 2012, 02:13:11 PM »

ive tried the ADSL_Stats and changed login2 to my password and edited all the scripts so that its 192.168.2.1 not 0.1 but still errors :(
Logged

rhohne

  • Member
  • **
  • Posts: 76
Re: ADSL2+ Tones & Bitloading Problem
« Reply #25 on: August 05, 2012, 03:11:25 PM »

Hi beanie
What errors are you getting?

The edits to GET CURRENT STATS.BAT are minimal

If not installed to default location then edit LOGIN_FOLDER,PATH and MAIN_FOLDER variables.
Edit 4x wget commands for correct user,password and IP address
Edit plink command for correct IP address

Edit LOGIN1.TXT and LOGIN2.TXT maintaining the line endings, otherwise login may fail

Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: ADSL2+ Tones & Bitloading Problem
« Reply #26 on: August 05, 2012, 04:02:06 PM »

Sorry beanie, I can't see the ADSL scripts at the moment.  Paul converted them from his VDSL2 scripts, but not sure where he's put them.  I thought they were in that Zoom modem thread, but can't see them now.  Anyone know where they are?  Where is Paul, any way?

As far as I can deduce, it is that time of the year when No-Feathers McGraw takes Mrs Eagle on their annual holiday . . .
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #27 on: August 05, 2012, 04:19:38 PM »

errors now are around 53 for a up time of 3 hours ?
also i was just wondering as someone said the errors in the Bit Loading & SNR by Tone from 450 - 480 there are 2 holes which can not be AM (MW) broadcasts so working out what they are could be benificial
Logged

rhohne

  • Member
  • **
  • Posts: 76
Re: ADSL2+ Tones & Bitloading Problem
« Reply #28 on: August 05, 2012, 04:39:55 PM »

For those who haven't found the ADSL scripts they are here

Latest released version is v1.4 incorporating v3.2 of the graphing scripts. This version is biased towards the ZOOM and needs a few minor tweaks for netgear stats collection

I'm using a modified version on a DG834GT with DGTEAM firmware. Hopefully when beanie gets it working we'll be seeing graphs similar to the attached, less the laptop PSU interference.
Logged

beanieboy182

  • Member
  • **
  • Posts: 38
Re: ADSL2+ Tones & Bitloading Problem
« Reply #29 on: August 05, 2012, 05:08:38 PM »

ok here this is how i edited it

my routers ip address is
192.168.2.1

user admin
password password

here is the script
which still doesnt create any pictures well it does but they hold no data in them

rem ##########################################################################
rem #                                                                        #
rem #  This batch file automatically logs in to the Plink Terminal's shell,  #
rem #  then issues the commands:-                                            #
rem #                                                                        #
rem #  adslctl info --Bits                                                   #
rem #  adslctl info --linediag                                               #
rem #  adslctl info --stats                                                  #
rem #                                                                        #
rem #  Then it exits the Plink terminal & stores the data file               #
rem #  "Plink_FILEDATE.log" in the default subfolder:-                       #
rem #                                                                        #
rem #  C:\ADSL_Stats\Current_Stats_%FILEDATE%                                #
rem #  where FILEDATE is in the format YYYYMMDD-HHMM                         #
rem #                                                                        #
rem #  It then goes on to generate the graphs by calling ADSLGRAPH.BAT       #
rem #                                                                        #
rem ##########################################################################



@echo off

cls

SET VERSION=3.2

rem ********** Set the LOGIN folder **********
SET LOGIN_FOLDER=C:\ADSL_Stats\Apps


SET OLD_PATH=%PATH%


PATH=C:\ADSL_Stats\Scripts;C:\ADSL_Stats\Apps;%PATH%


rem ********************************************************************


echo.
echo.

echo Gathering statistics from the modem
echo.
echo.
echo Please wait a few seconds.........................
echo.


rem ************ Set the date to the same format as in PuTTy.log ***************

set LOGDATE=%date:~6,4%.%date:~3,2%.%date:~0,2%

set t=%time%

if "%t:~0,1%"==" " (
   set t=0%t:~1,7%

) else (
   set t=%t:~0,8%

)


set LOGTIME=%t%
echo.

echo LOGDATE =%LOGDATE%
echo LOGTIME =%LOGTIME%
echo.


rem ********** Set the date format for data storage purposes **********

set FILEDATE=%date:~6,4%%date:~3,2%%date:~0,2%

rem set t=%time%


IF "%time:~0,1%" LSS "1" (
   set t=0%time:~1,1%%time:~3,2%

) else (
   set t=%time:~0,2%%time:~3,2%

)


set FILEDATE=%FILEDATE%-%t%
echo FILEDATE =%FILEDATE%
echo.



rem ********** Set the main folder for storage of the log & graphs **********
rem ********** If it doesn't already exist, create it              **********

set MAIN_FOLDER=C:\ADSL_Stats

echo MAIN_FOLDER =%MAIN_FOLDER%


rem ********** Check for the MAIN_FOLDER's existence **********

if not exist %MAIN_FOLDER% (

   echo.
   echo %MAIN_FOLDER does not exist, so creating it
   md %MAIN_FOLDER%
   echo.

) else (
   
   echo.
   echo %MAIN_FOLDER% DOES exist
   echo.
  )   




rem ********** Create a subfolder of the the main folder in which to store the log & graphs **********

rem ********** Set the name

set SUBFOLDER=%MAIN_FOLDER%\Current_Stats\Current_Stats_%FILEDATE%

echo SUBFOLDER = %SUBFOLDER%

if not exist %SUBFOLDER% (

   echo.
   echo SUBFOLDER does not exist, so creating it
   md %SUBFOLDER%
   echo.

) else (
   
   echo.
   echo %SUBFOLDER% DOES exist
   echo.
  )   



echo =~=~=~=~=~=~=~=~=~=~=~= Plink log %LOGDATE% %LOGTIME% =~=~=~=~=~=~=~=~=~=~=~=





rem ********** Set the log file name **********
set LOGFILENAME=\Plink_%FILEDATE%.log

echo =~=~=~=~=~=~=~=~=~=~=~= Plink log %LOGDATE% %LOGTIME% =~=~=~=~=~=~=~=~=~=~=~= > %SUBFOLDER%%LOGFILENAME%
echo. >> %SUBFOLDER%%LOGFILENAME%



rem ***** Quietly enable Telnet access                *****
rem ***** Seems to need running twice to ensure login *****

wget -q http://httP://admin:password@192.168.2.1/setup.cgi?todo=debug
wget -q http://httP://admin:password@192.168.2.1/setup.cgi?todo=debug



rem ***** This one does USE LOGIN FILES *****
(echo *1>CON & sleep 1^
 & type %LOGIN_FOLDER%\LOGIN1.TXT & echo **2>CON & sleep 1^
 & type %LOGIN_FOLDER%\LOGIN2.TXT & echo ***3>CON & sleep 1^
 & echo adsl info --Bits & echo ****4>CON^
 & sleep 1 & echo adsl info --linediag & echo *****5>CON & sleep 2^
 & echo adsl info --stats & echo ******6>CON & sleep 1 & echo exit & echo *******7>CON & sleep 1^
 & echo ********8>CON  & sleep 2 & echo *********9>CON ) ^| Plink -telnet -P 23 192.168.2.1 >> %SUBFOLDER%%LOGFILENAME%



rem ***** Quietly Logout of Telnet access                *****
rem ***** THis is also run twice to ensure logout        *****

wget -q http://httP://admin:password@192.168.2.1/setup.cgi?todo=logout
wget -q http://httP://admin:password@192.168.2.1/setup.cgi?todo=logout



rem ***** remove any of the enabling and disabling output files

del setup.cgi*.*


echo.
echo All done!
echo.
echo.

echo  ****************************************************************************



rem ***** Remove "rem" from the next 2 lines if only wanting to generate the log (i.e. do not generate the graphs) *****
rem pause
rem exit



rem ********** change directory to the Subfolder **********
pushd %SUBFOLDER%





rem ****** Actually graph the obtained stats ************
call ADSLGRAPH %SUBFOLDER%%LOGFILENAME%

rem pause
rem exit


Logged
Pages: 1 [2] 3 4 5
 

anything