Emonwrt3 Install on OpenWrt: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


=Prerequisites=
=Prerequisites=
* OpenWrt is freashly installed with Chaos Calmer version.
* OpenWrt is freshly installed with Chaos Calmer version.
* User has both access to the web interface and ssh/telnet.
* User has both access to the web interface and ssh/telnet.
* The unit is connected to the internet to access lechacal.com.
* The unit is connected to the internet to access lechacal.com.

Revision as of 21:56, 20 July 2018


This is a guide for installing Emonwrt3 software on a fresh OpenWrt installation.

Prerequisites

  • OpenWrt is freshly installed with Chaos Calmer version.
  • User has both access to the web interface and ssh/telnet.
  • The unit is connected to the internet to access lechacal.com.

Installation via command line

Connect to the unit using telnet or ssh. We recommend to use Putty for this purpose.

Then copy paste these commands below in the terminal.

head -n -1 /etc/inittab > /tmp/x; mv /tmp/x /etc/inittab
printf "#::askconsole:/bin/ash --login\n" >> /etc/inittab
head -n -1 /etc/opkg.conf > /tmp/x; mv /tmp/x /etc/opkg.conf
printf "src/gz chaos_calmer_lechacal http://lechacal.com/repo/emonwrt3\n#option check_signature 1\n" >>/etc/opkg.conf
opkg update
opkg install emonwrt3 emonwrt3-luci

Then if you do not see any error reboot the unit like so

reboot & exit