OpenWRT for Weaved Plug
##Startup Guide Startup Guide Walkthrough: https://developer.weaved.com/portal/members/plug_alpha_landing.php
##Getting Started with Default Development Firmware
With the current development firmware on the Weaved plug, when un initialized, comes up in soft AP mode. It should show up as a wireless access point with a SSID in the format "Weaved-xxxxx" (where 'xxxxx' are the last 6 characters of the MAC address of the plug).
Once connected to the plugs access point you may access the web interface http://plug/ or http://192.168.252.1 (the actual default startup ip address is 192.168.252.1, but any DNS address should resolve to this address).
##Basic Configuration of Plug Via Web UI The development firmware has a very basic Web UI that allows the user to operate the plug on and off and to get the plug connected to the users WIFI network. This operation is as follows:
1. Open web browser to http://<Plug IP> 2. Select 'Network' and enter network configuration information: Enter SSID Enter network password Select encryption type If using a static IP address, check 'Use Static IP' and Enter IP address Enter Gateway address Press 'Connect'
This should let the plug connect to the users network.
#Registration for Remote Access Once connected to the users network, the plugs can be registered with the Weaved remote access service. On the same network as the plug, visit developer.weaved.com. Once logged in the plug should be detected and the user allowed to give a name to register the device under.
Once registered, the device should be accessable vi the developer.weaved.com and with the weaved IOS and Android apps.
##Telnet and/or SSH shell access By default on the development firmware Telnet and SSH daemons are active on the Plug.
##Building the tree Make sure you have the proper tools on your linux box (see http://wiki.openwrt.org/doc/howto/buildroot.exigence):
sudo apt-get update sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip
yum install subversion binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel make patch unzip perl-ExtUtils-MakeMaker glibc glibc-devel glibc-static quilt ncurses-lib sed sdcc intltool sharutils bison wget git-core openssl-devel xz
Clone this repository:
git clone https://github.com/weaved/plug_openwrt
build the tree
cd plug_openwrt make