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:

Author Topic: Archer VR300 extra line stats possible?  (Read 1959 times)

Digital

  • Member
  • **
  • Posts: 10
Archer VR300 extra line stats possible?
« on: February 22, 2020, 11:02:42 PM »

Hello
i managed to access busybox on vr300 v1.20, it's cpu is EcoNet EN751221 SOC - MIPS 34Kc V5.8 - Linux version 2.6.36 (swd@swd) (gcc version 4.3.6 (Buildroot 2012.05) ) #76 SMP Mon Dec 10 11:25:57 CST 2018
i tried statposter but i get this error
java.io.IOException: Server returned HTTP response code: 500 for URL: http://192.168.1.1/cgi?1&5
does anyone know how to get detailed line stats on vr300?
here's a screenshot of busybox

Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5284
    • Thinkbroadband Quality Monitors
Re: Archer VR300 extra line stats possible?
« Reply #1 on: February 22, 2020, 11:19:34 PM »

I can't see anything DSL related on there, but I'd expect it more likely to be a standalone command than part of busybox.

Does it have find?
Code: [Select]
find / -name '*dsl*'
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

mofa2020

  • Reg Member
  • ***
  • Posts: 317
Re: Archer VR300 extra line stats possible?
« Reply #2 on: February 22, 2020, 11:19:57 PM »

type ls /usr/sbin and show the result also ls /usr/bin and show the result.
Logged

Digital

  • Member
  • **
  • Posts: 10
Re: Archer VR300 extra line stats possible?
« Reply #3 on: February 22, 2020, 11:32:44 PM »

I can't see anything DSL related on there, but I'd expect it more likely to be a standalone command than part of busybox.

Does it have find?
Code: [Select]
find / -name '*dsl*'

no it doesn't, i have added a screenshot below

type ls /usr/sbin and show the result also ls /usr/bin and show the result.

done


Logged

mofa2020

  • Reg Member
  • ***
  • Posts: 317
Re: Archer VR300 extra line stats possible?
« Reply #4 on: February 22, 2020, 11:43:10 PM »

type cli maybe something will show from it, I tried to find more info about vr300 but google did not show much more that the basic specs. which tp-link said.
Logged

Digital

  • Member
  • **
  • Posts: 10
Re: Archer VR300 extra line stats possible?
« Reply #5 on: February 22, 2020, 11:51:46 PM »

type cli maybe something will show from it, I tried to find more info about vr300 but google did not show much more that the basic specs. which tp-link said.

cli sends me to the default tp-link cli, do you have any idea what is xdslswitchnotify?

ok i found out it's to switch between adsl/vdsl
« Last Edit: February 23, 2020, 12:00:43 AM by Digital »
Logged

mofa2020

  • Reg Member
  • ***
  • Posts: 317
Re: Archer VR300 extra line stats possible?
« Reply #6 on: February 23, 2020, 10:14:59 AM »

Guess there will be no more stats available other than that shows in router UI.
Logged

ejs

  • Kitizen
  • ****
  • Posts: 2078
Re: Archer VR300 extra line stats possible?
« Reply #7 on: February 23, 2020, 12:28:51 PM »

cat /proc/tc3162/xdsl_stats
cat /proc/tc3162/adsl_stats

and maybe other files in the /proc/tc3162/ directory.
Logged

Aos6aXie

  • Just arrived
  • *
  • Posts: 5
Re: Archer VR300 extra line stats possible?
« Reply #8 on: February 23, 2020, 12:42:06 PM »

Hi, I downloaded Archer VR300V1 firmware v1.20 from tp-link Australia.

What happens if you execute /lib/modules/tccicmd.ko? You won't be able to execute directly because the execute bit is missing, either run "cp /lib/modules/tccicmd.ko /tmp; chmod +x /tmp/tccicmd.ko; /tmp/tccicmd.ko" or something like "/lib/ld-uClibc.so.0 /lib/modules/tccicmd.ko".

The reason I ask is because there are some interesting strings in there
Quote
Usage: adslphxcmd begin [--up] [--modulation {a|d|l|t|2|p|e|m}] [--bitswap {on|off}] [--sra {on|off}]
       adslphxcmd end
       adslphxcmd connect [--up] [--down]
       adslphxcmd info [--state] [--show] [--stats]
       adslphxcmd delt [--start] [--status] [--show {snr|qln|hlin|bits|actatp}]
       adslphxcmd fwversion
       adslphxcmd driverversion
       adslphxcmd version
       adslphxcmd help
[...]
(F04.ZZ.D)3.3.2.5
| 2016/03/07
[...]
TC3162 CLI Command 0.1 exit!
tc3162/tcci_cmd
tc3162/dbg_msg
tc3162/Prio_Enable
tc3162/Prio_Voip_Rxport
[...]
tccicmd V1.1.0.0 (Dec 14 2018-11:44:00)

edit: doubt this will reveal more information than the /proc files though.

edit: after looking at this more, it looks like it is a real kernel module and not executable. A dump for the ASUS DSL n55u has an "adslphxcmd" program which wasn't distributed by tp-link. This seems to be a dumb interface to
tccicmd.ko through /proc/tc3162/tcci_cmd. All logic and interesting strings are in the kernel module with the 7kB adslphxcmd containing basically nothing. https://github.com/smx-smx/asuswrt-rt/blob/master/filesystem/usr/bin/adslphxcmd
« Last Edit: February 23, 2020, 02:03:23 PM by Aos6aXie »
Logged
Zen 65/14 - HG612 + Ubiquiti ER-X BQM

Digital

  • Member
  • **
  • Posts: 10
Re: Archer VR300 extra line stats possible?
« Reply #9 on: February 23, 2020, 06:36:02 PM »

Hi, I downloaded Archer VR300V1 firmware v1.20 from tp-link Australia.

What happens if you execute /lib/modules/tccicmd.ko? You won't be able to execute directly because the execute bit is missing, either run "cp /lib/modules/tccicmd.ko /tmp; chmod +x /tmp/tccicmd.ko; /tmp/tccicmd.ko" or something like "/lib/ld-uClibc.so.0 /lib/modules/tccicmd.ko".

The reason I ask is because there are some interesting strings in there
edit: doubt this will reveal more information than the /proc files though.

edit: after looking at this more, it looks like it is a real kernel module and not executable. A dump for the ASUS DSL n55u has an "adslphxcmd" program which wasn't distributed by tp-link. This seems to be a dumb interface to
tccicmd.ko through /proc/tc3162/tcci_cmd. All logic and interesting strings are in the kernel module with the 7kB adslphxcmd containing basically nothing. https://github.com/smx-smx/asuswrt-rt/blob/master/filesystem/usr/bin/adslphxcmd

hi, i get permission denied on most of the commands
the firmware on my router is Version:1.0.0 0.8.0 v009c.0 Build 181214 Rel.51117n

« Last Edit: February 23, 2020, 06:42:59 PM by Digital »
Logged

Aos6aXie

  • Just arrived
  • *
  • Posts: 5
Re: Archer VR300 extra line stats possible?
« Reply #10 on: February 25, 2020, 03:13:12 PM »

Yeah, like ejs said try the files under /proc/tc3162.

cat /proc/tc3162/xdsl_stats
cat /proc/tc3162/adsl_stats

and maybe other files in the /proc/tc3162/ directory.

and possibly post the results of "ls /proc/tc3162". "ls" command lists the files in a directory, "cat" command opens the file and prints the contents to terminal. Copying adslphxcmd from the Asus DSL N55U firmware dump is not likely to work, so I wouldn't bother.
Logged
Zen 65/14 - HG612 + Ubiquiti ER-X BQM
 

anything