Tuesday, 25 September 2012 20:53
Wireless Router Home Automation
This project eliminate the use of an expensive Wifi/Network Shield but still able to control home appliances from any where. You may already own a wireless router which support OpenWRT or else you can get a very cheap wireless router such as WR703N for this project.
In order to eliminate install many packages on the router, I am using HTML and Javascript for the web interface, while hardware interface is using Lua which is come with OpenWRT. The whole process is just install a serial driver (see step below) to make the instruction simple & keep the router free of resources.
Tagged under
Saturday, 15 September 2012 15:00
Sending Message to Serial Port of Router using Lua
A few ways to send message to serial port of router which flash with OpenWRT. PHP;ser2net; socat; Lua and etc.
- PHP require to install lighttpd,lighttpd-mod-cgi,lighttpd-mod-fastcgi,php5-cgi,php5-fastcgi,libsqlite3, installation is complicated & consume resources.
- ser2net/socat is very simple but did not support web service.
- Lua comes as a default in openWrt and support web service. The goodies is OpenWRT using Luci for web GUI and LuCI is an embedded rapid application development framework written in Lua.
Prerequisite
- Arduino duemilanove connected to a TP-LINK TL-WR1043ND router which flashed with OpenWRT.
- Using 16 Channel Relay Arduino Controller for the Arduino sketch
Thursday, 13 September 2012 15:46
Softaculous AMPPS Web Server
I'm testing Softaculous AMPPS for my web server, by far it is working very well.
Web Server software that I had tested
WampServer: http://www.wampserver.com/
EasyPHP: http://ediy.com.my/index.php/blog/item/14-easyphp-web-server-winxp
I use EasyPHP since WampServer is not working on my Toshiba notebook.
I use EasyPHP since WampServer is not working on my Toshiba notebook.
AppServ: http://ediy.com.my/index.php/blog/item/21-appserv-seb-server
I didn't use AppServ for my projects, because the PHP version is either too old or too new that it is not suitable for my website.
I didn't use AppServ for my projects, because the PHP version is either too old or too new that it is not suitable for my website.
Softaculous AMPPS: http://www.ampps.com/
Finally I use AMMPS since EasyPHP did not display pictures for most of the Joomla slide extensions.
Saturday, 08 September 2012 19:20
D-LINK DNS-320 Firmware Upgrade from 2.00 to 2.02
I read a post about the D-LINK DNS-320 firmware version. It shows that there is new version released from D-LINK website. So I decided to give a try.
Download
- dns320_FW-202 dated 2011/11/23: ftp://ftp.dlink.com/Multimedia/dns320/Firmware/
- You can also download the beta version dated 2012/03/30, but I didn't test it.
Make sure backup all data before firmware upgrade. After upgrade the firmware, the DNS-320 performance become very slow. I had to re-format the HDD and install software again in order to solve the problem.
Tagged under
Friday, 07 September 2012 23:01
OpenWRT in Client Mode
Client mode uses its wireless connection as the WAN interface, and shares the internet connection only to the LAN ports. It is not seen as an access point by laptops or other computers scanning for AP's and does not accept wireless connections from client devices.
As shown in figure below, the new SSID (wwan) cannot be seen by other client devices nor accept wireless connection from client devices. Therefore the client devices (Notebook3 and Notebook4) must connect to the Wifi router using network cable.