Another method to collect your OpenWRT statistics

opkg update
opkg install luci-app-vnstat vnstat vnstati


Advance configuration
1) Vnstat Luci configuration script located at /etc/config/vnstat

[email protected]:/# cat /etc/config/vnstat
config 'vnstat'

list 'interface' 'br-lan'
list 'interface' 'eth0'
list 'interface' 'eth0.1'
list 'interface' 'eth0.500'
list 'interface' 'eth0.600'
list 'interface' 'wlan0'

2) Core vnstat configuration file located at /etc/vnstat.conf. Default graph is stored in /var/lib/vnstat folder, I changed my graph location to usb

# location of the database directory
DatabaseDir "/mnt/usb/var/vnstat"


Incoming search terms:

  • openwrt vnstat
  • cat /etc/config
  • luci app pbx
  • OpenWrt theme mod

A minimalist Luci theme


opkg install luci-theme-bootstrap_1-1_all.ipk

This should give you an option ‘Bootstrap’ in the System/System -> Language and Style page.


Update: 17 February 2014
This theme is now included in the openwrt 12.09 and trunk repos and should be downloaded from there, and search for luci-theme-bootstrap. Or the easy way, install from standard software installation.

Incoming search terms:

  • openwrt luci
  • luci openwrt
  • luci openwrt bootstrap
  • luci openwrt theme
  • luci-theme-openwrt
  • open wrt style
  • theme luci

Change default http port

The listening port is defined in /etc/config/uhttpd file.

[email protected]:/etc/config# cat uhttpd 
# HTTP listen addresses, multiple allowed
list listen_http

Securing LuCI

[email protected]:/etc/config# cat uhttpd 
# HTTP listen addresses, multiple allowed
list listen_http

Enable SSL

1. For a full LuCI installation with HTTPS support
opkg install luci-ssl

2. For upgrading from HTTP to HTTPS
opkg install uhttpd-mod-tls luci-ssl
Private key and certificate will be generated on next hardware reboot.

Out of the box, OpenWRT can show you real-time statistics, however it will not store the data for historical view. I’m looking for similar graphing function as seen on DD-Wrt.

To have a nice historical data graphs for router (interfaces bandwidth utilization, cpu load, uptime)

Options we have:
-Use SNMP and graph it using cacti

This tutorial will be using luci-app-statistics and collectd.

1. Update package
opkg update
2. Install luci-app-statistics
opkg install luci-app-statistics
3. List out supported plugins for collectd
opkg list | grep collectd-mod
4. Install desired plugins
opkg install collectd-mod-cpu collectd-mod-interface collectd-mod-memory collectd-mod-ping collectd-mod-rrdtool collectd-mod-wireless
5. Enable init script
/etc/init.d/luci_statistics enable
/etc/init.d/collectd enable

6. Change RRDTool output folder (optional)
/mnt/sda5 is my external USB drive attached to the router.


monitor3 monitor4 monitor5 monitor6

Incoming search terms:

  • openwrt collectd
  • openwrt cacti
  • cacti collectd
  • collectd
  • collectd-mod-ping
  • openwrt bandwitdh monitoring
  • collectd cacti
  • collectd openwrt USB stick
  • collectd-mod-wireless
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1832 TvpZ-0y6pVVYInCHk59YQdHhsewush3PROSFD_CGpbwW6wjjo1AzgJRJCX-Iprrn ed88215bd5355f446864dd930486d3f9b71dcfb7&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • LuCI Statistics Application
  • luci traffic meter
  • openwrt collectd mod-snmp query
  • openwrt cpu temp
  • openwrt luci statistics application

I stumbled upon a website where the author is generous enough to program a GUI for the acp commander. I haven’t tried yet since my NAS already rooted. I, without his permission “mirror’ his page for my future reference.

Original link:

ACP Commander GUI is a Graphical User Interface using acp_commander developed by Georg from NAS-Central. ACP Commander GUI is based on the code of acp_commander with some modifications for better integration into the GUI.

Thanks to Georg for his nice work!

ACP Commander GUI can be used to remotely control your arm9-based LS Pro/LS Live/Tera Pro v2/Tera Live devices. I only tested it with an LS Live, but the others should work to.

This is a Java application. Please download Java for your System here.
Mac OS X Mountain Lion users: Download Java directly from Apple if not already installed.


  • Automatically detects LinkStations™ available in your network, just select the desired one from the pulldown box.
  • Execute Linux commands directly on the LinkStation™ and get the output in the log window.
  • Set the door password of the LinkStation™.
  • Enable SSH (sshd). It will also add a startup entry so that SSH is also available after each reboot.
  • Tested on Firmware versions 1.560 and 1.570.

Simply enter the admin password in the “Admin password” field and you are done. That is the one you do also use to login to the Web Interface of the LinkStation™. After that, simply click on one of the buttons to execute the desired action.

For more LinkStation™ information visit Buffalo Technology.

Note: The data that can be returned from the LinkStation™ is limited by the protocol. That means if you manually execute a command (like “ls”) on the device it could be possible that you don’t get the full result back. Just keep that in mind.

Warning: This is experimental software that might damage your LinkStation™.

Version History:

  • 1.5.6 (08.04.2012)
    Initial release.

Download 1.5.6 (DMG file for Mac OS X 10.6+)
Download 1.5.6 (JAR file for all platforms)
Download 1.5.6 (ZIP for Microsoft Windows)
Download 1.5.6 (EXE for Microsoft Windows)

Incoming search terms:

  • acp commander gui
  • acp_commander
  • acp commander
  • acp_commander_gui
  • acp commander exe
  • acp commander linkstation
  • acp commander 1 5 6
  • enable telnet linkstation
  • apc commander
  • acp commander download
  • ACP Commander GUI for Windows
  • acp commander time out
  • ACP Commander v1 5 6 0 download
  • buffalo remote acp commander
  • acp commander software
Posted in NAS.