adsl stats on Status Overview
Posted: Tue Nov 17, 2015 6:30 am
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.
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