adsl stats on Status Overview

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
shani
Posts: 14
Joined: Tue May 05, 2015 8:40 am

adsl stats on Status Overview

Post by shani »

Dsl stats (snr, line attenuation etc) on Status page will be helpful for routers with adsl support like Openwrt Luci Interface.
Adsl status is built-in but not shown on Gargoyle interface.
I have to ssh to check adsl status everytime.

Code: Select all

root@Gargoyle:/# /etc/init.d/dsl_control
Syntax: /etc/init.d/dsl_control [command]

Available commands:
	start	Start the service
	stop	Stop the service
	restart	Restart the service
	reload	Reload configuration files (or restart if that fails)
	enable	Enable service autostart
	disable	Disable service autostart
	status  Get DSL status information
	lucistat  Get status information if lua friendly format

root@Gargoyle:/# /etc/init.d/dsl_control status
Chipset:		Ifx-Danube 1.5
Line State:		UP [0x801: showtime_tc_sync]
Data Rate:		4.094 Mb/s / 1.020 Mb/s
Line Attenuation:	9.4dB / 5.0dB
Noise Margin:		32.2dB / 10.4dB
Line Uptime:		1h 47m 30s

root@Gargoyle:/# /etc/init.d/dsl_control status
Chipset:		Ifx-Danube 1.5
Line State:		UP [0x801: showtime_tc_sync]
Data Rate:		4.094 Mb/s / 1.020 Mb/s
Line Attenuation:	9.4dB / 5.0dB
Noise Margin:		32.3dB / 10.4dB
Line Uptime:		2h 19m 36s
root@Gargoyle:/# /etc/init.d/dsl_control lucistat
local dsl={}
dsl.chipset="Ifx-Danube 1.5"
dsl.line_state_num=0x801
dsl.line_state_detail="showtime_tc_sync"
dsl.line_state="UP"
dsl.data_rate_down=4094348
dsl.data_rate_up=1020958
dsl.data_rate_down_s="4.094 Mb"
dsl.data_rate_up_s="1.020 Mb"
dsl.line_attenuation_down=9.4
dsl.line_attenuation_up=5.0
dsl.noise_margin_down=32.2
dsl.noise_margin_up=10.4
dsl.line_uptime=8398
return dsl

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: adsl stats on Status Overview

Post by ispyisail »

what type of router are you using?

lpm11
Posts: 15
Joined: Sat Jan 05, 2013 8:07 am

Re: adsl stats on Status Overview

Post by lpm11 »

It is a lantiq device; there is no official Gargoyle support for this platform

Post Reply