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 6

Author Topic: Bitswapping  (Read 36471 times)

snadge

  • Kitizen
  • ****
  • Posts: 1450
Re: Bitswapping
« Reply #45 on: June 07, 2012, 04:05:51 PM »

your folder should be like:

C:\ADSL_Stats\Scripts

you havent named the root folder yourself have you? it must be structured like so

C:\ADSL_Stats\

in which is

C:\ADSL_Stats\Scripts
C:\ADSL_Stats\Apps
C:\ADSL_Stats\Current_Stats
C:\ADSL_Stats\Ongoing_Stats

if its not structured like that (e.g. C:\ADSL_Stats\ADSL_Stats\Scripts etc) then it will not work because the scripts look for files specifically targetted with fixed urls.

is your router login
name: admin
password: password
it should be for the scripts too work

did you download & install v1.2 of the scripts? (latest version)


sounds like a log in problem too me
Logged
Aquiss - 900/110/16ms - TP-Link AR73

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #46 on: June 07, 2012, 04:54:00 PM »

When i run the "get current stats" i did notice it say in the cmd bit something like, couldnt find folder C:\ADSL_stats, creating new 1 and then later on it would say somthing about adslctl info --stats not working so then it choses default with 256 tones.... something like this anyway...
Ill have another go.

UPDATE:
"C:\ADSL_stats" DOES exist
... but subfolder does not exsist, i guess thats normal?  so then it makes the subfolder but then again when it comes to the adslclt info --stats bit it doesnt seem to work, is this maybe the problem?

the username and pass match the 1s in "apps"
« Last Edit: June 07, 2012, 05:01:45 PM by kezzaman »
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #47 on: June 07, 2012, 05:23:55 PM »

When i run the "get current stats" i did notice it say in the cmd bit something like, couldnt find folder C:\ADSL_stats, creating new 1 and then later on it would say somthing about adslctl info --stats not working so then it choses default with 256 tones.... something like this anyway...
Ill have another go.

UPDATE:
"C:\ADSL_stats" DOES exist
... but subfolder does not exsist, i guess thats normal?  so then it makes the subfolder but then again when it comes to the adslclt info --stats bit it doesnt seem to work, is this maybe the problem?

the username and pass match the 1s in "apps"

I take it you are getting to this point then:-


  ************************************************************************
  * The ADSL Mode could not be determined from "adslctl info --stats"                                    *
  * The data is either not present, or is unreadable                                                              *
  ************************************************************************
 
  Defaulting to produce graphs scaled for G.DMT Mode (256 Tones)





In this folder - C:\ADSL_Stats\Current_Stats

You should see at least one subfolder named something like - Current_Stats_20120607-1705

In that subfolder you should see, at the very least, a text file named something like - Plink_20120607-1705.log

If that is there, double-click it to see what it contains.
It should start off something like:-

=~=~=~=~=~=~=~=~=~=~=~= Plink log 2012.06.07 17:05:31 =~=~=~=~=~=~=~=~=~=~=~=
 


BusyBox v1.00 (2008.10.21-10:23+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# adslctl info --Bits
adslctl: ADSL driver and PHY status
Status: ShowtimeRetrain Reason: 0
Channel: FAST, Upstream rate = 1153 Kbps, Downstream rate = 13054 Kbps
Tone number      Bit Allocation
     0               0
     1               0
     2               0
     3               0
     4               0
     5               0


Are you getting at least that far?

Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #48 on: June 08, 2012, 08:39:26 AM »

It was a login issue, even though i use admin as the username to login onto my router there seemed to be another username, which was my ISP login something like ....@talktalk.net. But anyway i got "get current stats" to work in the end and i got all graphs except, bit-loading..
This is what i got from plink regarding adslctl info --bits:



Also would anybody be able to tell me what LATN(dB) and SATN(dB) means?
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #49 on: June 08, 2012, 08:41:12 AM »

Just another thought..............

In this folder "C:\ADSL_Stats\Ongoing_Stats" there should be a plain text file named "Error.Log"

There may be a clue or two in there as to what is not working.

Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #50 on: June 08, 2012, 08:44:55 AM »

It was a login issue, even though i use admin as the username to login onto my router there seemed to be another username, which was my ISP login something like ....@talktalk.net. But anyway i got "get current stats" to work in the end and i got all graphs except, bit-loading..
This is what i got from plink regarding adslctl info --bits:



Also would anybody be able to tell me what LATN(dB) and SATN(dB) means?

Ah. It looks like you need a newer firmware version for the router, either official Netgear or DGTeam should do it.
snadge may be able to assist with that.

From what I can gather, older firmware versions do not report the Bits data, even via Telnet access.

Although that logging in still looks a little dodgy.

LATN(dB) = Line Attenuation
SATN(dB) = Signal Attenuation.

Can we see the graphs you have managed to create so far?

« Last Edit: June 08, 2012, 08:50:31 AM by Bald_Eagle1 »
Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #51 on: June 08, 2012, 10:11:23 AM »

Im pretty sure i have the latest official netgear firmware and i just tried the command adslctl info --Bits in telnet and it worked fine. Looking at the plink log isnt it strange to have the password joined up with the command like that? Ive had both the dgteam firmware and the official firmware at some point and did u know with the official firmware telnet doesnt require a login? Maybe thats whats causing issues?

Here are the graphs i got:



Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #52 on: June 08, 2012, 11:43:39 AM »


Im pretty sure i have the latest official netgear firmware and i just tried the command adslctl info --Bits in telnet and it worked fine.


That's good then.

Quote

Looking at the plink log isnt it strange to have the password joined up with the command like that?


That's the part that is bothering/confusing me.
I don't have an ADSL connection to test any of this on, but I THINK that could just be due to the scripts initially being written with half a mind on making it easy to convert for Linux use, an attempt was made to strip Windows line endings from the collected data.

Could you copy & paste the first few rows from a Plink log for me to examine more closely (as actual raw text rather than a graphic)?


Quote

Ive had both the dgteam firmware and the official firmware at some point and did u know with the official firmware telnet doesnt require a login? Maybe thats whats causing issues?


Yes, I'm aware of that, but I thought the attempted login would be quietly ignored when using "official" firmware.

I could soon tweak the script for official firmware, but I would somehow like to be able to have just the one script that works with official AND DGTeam firmware.

I thought that snadge had tested with both firmwares as O.K.

The montages should be small enough to post as downloadable attachments when we have ironed out these last little snags.
Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #53 on: June 08, 2012, 12:01:20 PM »


Could you copy & paste the first few rows from a Plink log for me to examine more closely (as actual raw text rather than a graphic)?


I think this is what you meant?







Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #54 on: June 08, 2012, 12:17:32 PM »

I actually meant like this:-


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.05.14 20:28:57 =~=~=~=~=~=~=~=~=~=~=~=
Login: admin
Password:


BusyBox v1.01 (2008.11.28-10:31+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# adslctl info --Bits
adslctl: ADSL driver and PHY status
Status: ShowtimeRetrain Reason: 0
Channel: INTR, Upstream rate = 448 Kbps, Downstream rate = 6944 Kbps
Tone number      Bit Allocation
   0            0
   1            0



Or like this (i.e. text that I can actually copy & paste into Notepad etc.):-

Code: [Select]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.05.14 20:28:57 =~=~=~=~=~=~=~=~=~=~=~=
Login: admin
Password:


BusyBox v1.01 (2008.11.28-10:31+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# adslctl info --Bits
adslctl: ADSL driver and PHY status
Status: ShowtimeRetrain Reason: 0
Channel: INTR, Upstream rate = 448 Kbps, Downstream rate = 6944 Kbps
Tone number      Bit Allocation
   0            0
   1            0


Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #55 on: June 08, 2012, 12:37:17 PM »

=~=~=~=~=~=~=~=~=~=~=~= Plink log 2012.06.08 08:31:48 =~=~=~=~=~=~=~=~=~=~=~=
 


BusyBox v1.00 (2008.10.21-10:23+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# admin
/bin/sh: admin: not found
# passwordadslctl info --Bits
/bin/sh: passwordadslctl: not found
#
# adslctl info --linediag
adslctl: ADSL driver and PHY status
Status: ShowtimeRetrain Reason: 8000
Channel: FAST, Upstream rate = 1019 Kbps, Downstream rate = 19864 Kbps
                Down            Up
SNRM(dB):       8.9             11.5
LATN(dB):       14.5            6.6
SATN(dB):       14.5            7.5
TxPwr(dBm):     0.0             11.7
ATTNDR(Kbps):   23008           1108
Tone number      SNR
   0            0.0000
   1            0.0000
   2            0.0000


Like this?
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #56 on: June 08, 2012, 01:13:29 PM »

Hmmmm.

It wasn't that then.

It looks like "admin" is correctly ignored (not found), but "password" & "adslctl info --Bits" have been joined together.
Have you edited LOGIN2.TXT at all?

As you don't need to login using your official Netgear firmware, you could try the attached version of the script to see if that works for you.

Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #57 on: June 08, 2012, 01:28:46 PM »

I just ran that official get stats, it created a current stats folder but that was it, nothing inside.

I did change the login originaly because i was using a different password, but i changed it back to "password" on both my router and "login2.txt" when i was trying to get it to work.

Perhaps i should go back to login2 and leave a space after password...  :-\
Logged

kezzaman

  • Reg Member
  • ***
  • Posts: 139
Re: Bitswapping
« Reply #58 on: June 08, 2012, 01:34:30 PM »

Nope leaving a space after the password didnt work but i managed to get u this if it helps.

 The ADSL MODE was determined to be ADSL2+


 Creating Bits-20120608-1329.png

gnuplot> plot 'Bits.txt' w boxes fs solid
                                    ^
         line 0: warning: Skipping data file with no valid points
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: Bitswapping
« Reply #59 on: June 08, 2012, 02:39:47 PM »

The attached logins seem to work with Netgear Firmware & the script as downloaded via snadge's link (not the one I posted earlier today).

Spaces are no use. It is more to do with Linux/Windows line endings in the Login.TXT files.

This is how the Plink log should look (everything on its own line & showing admin & password as ignored):-

=~=~=~=~=~=~=~=~=~=~=~= Plink log 2012.05.20 12:01:25 =~=~=~=~=~=~=~=~=~=~=~=
 


BusyBox v1.00 (2005.07.29-07:22+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# admin
/bin/sh: admin: not found
# password
/bin/sh: password: not found
# adslctl info --Bits
Logged
Pages: 1 2 3 [4] 5 6