My modem is vdsl2 and it has Broadcom's chip BCM63381 in it. This modem is from my ISP and has ISP name printed on it.
It is from FiberHome and model number is HG150-UB
first gain/confirm basic access the modem... then find the relavent script samples on the forum that poll the modem stats into luci-app-statistics...
it requires getting your hands a little dirty... mostly just to test the fundamental connectivity / command operation... if your modem command set is different... then you/we need to re-assess... get more input...
i'm not aware of simpler methods for 'aggregated graphical output'... unless you perhaps can poll the modem via SNMP...
> xdsl info --show
telnetd:error:740.593:processInput:386:unrecognized command xdsl info --show
> xdsl info --stats
telnetd:error:757.519:processInput:386:unrecognized command xdsl info --stats
> xdsl info --state
telnetd:error:765.924:processInput:386:unrecognized command xdsl info --state
>
all good... you got the commands above... it's adsl...
adsl info --show
adsl info --stats
the sample collectd exec script in the linked thread is for xdsl but i'm pretty sure there is an adsl one or two on the forum so you can search around for it...
while you wait to see if other people can to help advise on the format of the output... etc. etc.
Do i need to follow similar procedure to make it work?
How:
- Install collectd-mod-exec
- Place the files below in their respective location:
/usr/sbin/collectd-get-lantiqdsl-values
/usr/bin/stat-lantiqdsl
/usr/lib/lua/luci/statistics/rrdtool/definitions/exec.lua
- make the data collection script executable:
# chmod +x /usr/sbin/collectd-get-lantiqdsl-values
- have the data collection script run via cronjob every minute:
* * * * * /usr/sbin/collectd-get-lantiqdsl-values
- configure collectd-mod-exec to run the data entry script:
in LuCI: Statistics > Setup > General plugins > Exec
- Enable this plugin [x]
- Add a command:
Script: /usr/bin/stat-lantiqdsl
User: nobody
Group: nogroup
- (maybe) update LuCI's module cache:
# rm /tmp/luci-modulecache/* /tmp/luci-indexcache
the process is probably a tad difficult for regular users
what you can do...
is edit the script as described above...
test it manually
setup a cron job '/path/to/script.sh >> /www/modemstats.txt' to run every say 15-45mins
( direct to www above as I know your running on sdcard and not router flash... no real need to worry about ware/space )