Yearly Archives: 2013

Raspberry Pi: Creating BerryBoot optimized image (the dirty way)

Goal: To add custom operating system to BerryBoot menu Problems met: Invalid sector block size, invalid partition info, incompatible filesystem, error when perform kpartx and mounting Workaround: 1. Write .img file (example: XBian1.0Alpha5.img) into USB drive using win32diskimager. Wait until it complete. 2. Connect and mount USB drive into your linux OS. I’m using Xubuntu installed in… Read More »

Loading

Cisco Insight Reporter: Sybase DB issue

Problem: Upgraded Insight Reporter from v3.2.0 to 3.4.0, existing traffic database show disconnected Workaround/Solution: 1) To get Sybase JDBC Connector Download JConnect from this link http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect Extract and Install it in Insight Server ./setup.bin -i console Go to /opt/sybase/jConnect-7_0/classes and copy conn4.jar and  jTDS3.jar into Cisco Insight directory (/home/user/Insight/apache-tomcat-6.0.20/webapps/insight/WEB-INF/lib/) Restart tomcat /etc/init.d/tomcat-user stop /etc/init.d/tomcat-user start 2) To determine… Read More »

Loading

OpenWRT: Monitoring using vnstat

Another method to collect your OpenWRT statistics Installation: opkg update opkg install luci-app-vnstat vnstat vnstati Configuration: 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… Read More »

Loading

OpenWRT: Bootstrap Luci Theme

A minimalist Luci theme Installation: 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… Read More »

Loading

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 0.0.0.0:80 Securing LuCI root@OpenWrt:/etc/config# cat uhttpd # HTTP listen addresses, multiple allowed list listen_http 192.168.1.1:80 Enable SSL 1. For a full LuCI installation with HTTPS support opkg install luci-ssl 2. For upgrading… Read More »

Loading