Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ikegam/iLonSSIPGW

Lonworks(R)/IP; iLon SOAP to IEEE1888 Gateway
https://github.com/ikegam/iLonSSIPGW

Last synced: 24 days ago
JSON representation

Lonworks(R)/IP; iLon SOAP to IEEE1888 Gateway

Awesome Lists containing this project

README

        

# i.Lon(R) Smart Server SOAP to IEEE1888 Gateway

# Installation for OpenBlocks

## Configure environment
* # aptitude install libcunit1-dev
* # aptitude install build-essentials git
* # git clone https://github.com/ikegam/liblight1888.git
* # cd liblight1888; make install

## Move and clone
* # cd /root
* # git clone https://github.com/ikegam/iLonSSIPGW
* # cd iLonSSGW

## Make and setup
* # mkdir /var/log/ieee1888_ilonss_gw
* # mkdir /var/cache/ieee1888_ilonss_gw
* # make
* # cp ieee1888_ilonss_gw.conf /etc/
* # cp init-script /etc/init.d/ieee1888_ilonss_gw

## Launch
* # /etc/init.d/ieee1888_ilonss_gw start

=オプション設定
- 1. 死活チェック
rpptで作業
1. crontab -e
2. エディタ起動
3. 下記を追記
* * * * * pgrep "ieee1888_ilonss" || (/etc/init.d/ieee1888_ilonss_gw stop; /etc/init.d/ieee1888_ilonss_gw start)

- 2. 自動起動
上記の死活チェックで起動するため、とくべつの設定を行う必要はない
しかし、きちんと起動したい場合には下記のような設定を行う。
1. sudo vi /etc/rc.local
2. 下記を追加
(/etc/init.d/ieee1888_ilonss_gw stop; /etc/init.d/ieee1888_ilonss_gw start)