Install or Update emonWRT: Difference between revisions
Jump to navigation
Jump to search
(→Steps) |
(→Steps) |
||
Line 26: | Line 26: | ||
root@OpenWrt:~# ./install_emonwrt.sh | root@OpenWrt:~# ./install_emonwrt.sh | ||
Installing/Updating EmonWRT with version 1.2 | Installing/Updating EmonWRT with version 1.2 | ||
Connecting to lechacal.com (92.60.120.84:80) | Connecting to lechacal.com (92.60.120.84:80) | ||
emonwrt 100% |*******************************| 292 0:00:00 ETA | emonwrt 100% |*******************************| 292 0:00:00 ETA | ||
Line 47: | Line 47: | ||
Starting /usr/bin/emonwrt_forwarder.sh | Starting /usr/bin/emonwrt_forwarder.sh | ||
Start Sucessful | Start Sucessful | ||
If upgrading from earlier version you need to delete any reference to emonwrt_forwarder in /etc/rc.local | If upgrading from earlier version you need to delete any reference to emonwrt_forwarder in /etc/rc.local | ||
Revision as of 14:22, 8 June 2014
This howto shows how you can install the EmonWRT script and files on the OpenWRT OS. This can also be applied to update from an older version.
Prerequisites
WR703N is flashed with OpenWRT 12.09 Attitude Adjustment.
EmonWRT can access the internet.
Warning
The following files on OpenWRT will be overwritten. Do NOT follow this if you want to preserve them.
- /etc/config/firewall
- /etc/config/ucitrack
- /etc/inittab
Steps
1. Log in the EmonRWT/WR703N via SSH.
2. Download the installer script with the foillowing command:
$ wget http://lechacal.com/EmonWRT/system/v1.2/install_emonwrt.sh
3. Change permissions.
$ chmod 755 install_emonwrt.sh
4. Run the installer:
$ ./install_emonwrt.sh
A successful installation will look as below
root@OpenWrt:~# ./install_emonwrt.sh Installing/Updating EmonWRT with version 1.2 Connecting to lechacal.com (92.60.120.84:80) emonwrt 100% |*******************************| 292 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) emonwrt 100% |*******************************| 1121 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) emonwrt_forwarder.sh 100% |*******************************| 1779 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) inittab 100% |*******************************| 107 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) firewall 100% |*******************************| 2009 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) ucitrack 100% |*******************************| 718 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) emonwrt.lua 100% |*******************************| 831 0:00:00 ETA Connecting to lechacal.com (92.60.120.84:80) cbi_emonwrt.lua 100% |*******************************| 756 0:00:00 ETA Starting /usr/bin/emonwrt_forwarder.sh Start Sucessful If upgrading from earlier version you need to delete any reference to emonwrt_forwarder in /etc/rc.local
Additional Steps
If installing EmonWRT for the first time package for stty must also be installed.
$ opkg update $ opkg install coreutils-stty