Differences

This shows you the differences between two versions of the page.

doc:uci:aiccu [2012/12/28 16:54]
morganfw
doc:uci:aiccu [2013/03/31 19:47] (current)
climate
Line 32: Line 32:
:!: [[https://dev.openwrt.org/changeset/32666|Changeset 32666]] removed any OpenWrt changes to AICCU, so the information above does no longer apply. Still check if required packages are installed. :!: [[https://dev.openwrt.org/changeset/32666|Changeset 32666]] removed any OpenWrt changes to AICCU, so the information above does no longer apply. Still check if required packages are installed.
-This change affects the OpenWrt Attitude Adjustment (12.09) release. In order to maintain a working AICCU setup, it is necessary to start and configure AICCU manually:+This change affects the OpenWrt Attitude Adjustment (12.09) release. In order to maintain a working AICCU setup, it is necessary to start and configure AICCU manually. You can choose one of following two configuration methods, depending on how you are going to use AICCU.
-Create an AICCU config file in ''/etc/aiccu.conf''+A. If you need on-demand AICCU connection, you can create an AICCU config file in ''/etc/aiccu.conf''
| ''username USER-SIXXS | ''username USER-SIXXS
password password123 password password123
Line 48: Line 48:
pidfile /var/run/aiccu.pid'' | pidfile /var/run/aiccu.pid'' |
-create the following script in ''/etc/init.d/aiccu''+Note: with method A, you have to start aiccu manually by excuting command ''aiccu start''.  
 + 
 +B. It allows more convenient way to manipulate AICCU service. With this method, you can start/stop enable/disable the service via luci web interface. It needs two steps. 
 + 
 +First, create aiccu configuration file at ''/etc/config/aiccu'': 
 +| ''config aiccu 
 + option username  'XXXX-SIXXS' 
 + option password  'yourpassword' 
 + option protocol  'tic' 
 + option server 'tic.sixxs.net' 
 + option interface 'sixxs0' 
 + option tunnel_id 'T123XX6' 
 + option requiretls '0' 
 + option defaultroute    '1' 
 + option nat '1' 
 + option heartbeat '1' '' | 
 + 
 +Second, create the following script in ''/etc/init.d/aiccu'':
| ''#!/bin/sh /etc/rc.common | ''#!/bin/sh /etc/rc.common

Back to top

doc/uci/aiccu.1356710086.txt.bz2 · Last modified: 2012/12/28 16:54 (external edit)