My personal blog about Linux, opensource applications and related technologies.
The core part of the design is TP-Link TL-WR1043ND wifi router running OpenWrt with small 16GB USB stick [/dev/sda1] containing ext3 partition with OpenWrt configuration + swap.
Here are the notes how way how I configured it.
Configure the wifi_open - guest wifi access. For some reason http://wiki.openwrt.org/doc/recipes/guest-wlan is not working for me. I found this article (Polish) http://eko.one.pl/forum/viewtopic.php?id=2937 how to do it.
Repeat the steps above to save all the changes/files to the external USB storage.
/usr/bin/digitemp_DS9097 -c/etc/digitemp.conf -a -n0 -d10 -q -s/dev/ttyUSB0 -o"PUTVAL `uci get system.@system.hostname`/temp/temperature-%s interval=10 %N:%.2C"
Watchcat is used to monitor network connection "pingability" to 8.8.8.8 otherwise the router is rebooted.
uci set luci_statistics.collectd_interface.Interfaces="eth0.2 wlan0 wlan0-1 eth0.1"
uci set luci_statistics.collectd_processes.Processes="lighttpd collectd transmission-daemon"
uci set luci_statistics.collectd_tcpconns.LocalPorts="2222 443 80"
# vnstati image generation script.
[ -d "$WWW_D" ] || mkdir -p "$WWW_D" # make the folder if it doesn't exist.
echo "No database found, nothing to do."
echo "A new database can be created with the following command: "
echo "    vnstat -u -i eth0"
I'm sure you need to customize most of the thing mentioned above, but these notes can still help you.