20 Feb

OpenWRT: Monitoring using vnstat

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

root@OpenWrt:/# 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
  • vnstat openwrt
  • luci-vnstat
  • OpenWrt theme mod
  • vnstat app android
  • VnStat luci
20 Feb

OpenWRT: Bootstrap Luci Theme

A minimalist Luci theme


wget http://nut-bolt.nl/files/luci-theme-bootstrap_1-1_all.ipk
opkg install luci-theme-bootstrap_1-1_all.ipk

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

source: http://nut-bolt.nl/2012/openwrt-bootstrap-theme-for-luci

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

Incoming search terms:

  • openwrt luci
  • luci themes openwrt
  • openwrt theme
  • amount5xg
  • bootstrap theme openwrt
  • cattlez65
  • fearb1q
  • limited43j
  • luci bootstrap theme
  • luci openwrt
  • luci openwrt bootstrap
  • luci openwrt theme
  • theme luci
  • LuCi theme
  • luci-theme-openwrt
15 Feb

OpenWRT: Backfire 10.03.1 LuCI Essentials

Change default http port

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

root@OpenWrt:/etc/config# cat uhttpd 
# HTTP listen addresses, multiple allowed
list listen_http

Securing LuCI

root@OpenWrt:/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.

Incoming search terms:

  • open 03_1 file
  • luci change listening port
15 Feb

OpenWRT: Monitoring using collectd

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
  • collectd thermal open wrt
  • cacti collectd
  • collectd
  • collectd-mod-ping
  • openwrt bandwitdh monitoring
  • anyway2bk
  • burstcpf
  • centurya1l
  • collectd cacti
  • щзутцке сщддусев
  • collectd openwrt USB stick
  • collectd-mod-wireless
  • collectsd-mod openwrt
13 Feb

Buffalo Linkstation ACP Commander GUI

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: http://www.gry.ch/Java/styled/

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
  • apc commander
  • acp_commander
  • acp_commander_gui_156
  • acp commander download
  • acp_commander_gui
  • acp commander exe
  • acp commander linkstation
  • acp commander terastation
  • acp commander 1 5 6
  • enable ssh on buffalo linkstation
  • acpcommander
  • acp_commander-156-win exe
  • acp_commander gui