octonet/README.md

53 lines
1.2 KiB
Markdown
Raw Normal View History

2015-09-06 15:06:15 +02:00
# OctopusNet
###Prepare for Building
On Debian/Ubuntu:
```
>apt-get install build-essential bison flex gettext libncurses5-dev texinfo autoconf automake libtool
>apt-get install libpng12-dev libglib2.0-dev libgtk2.0-dev gperf libxt-dev libxp-dev
>apt-get install rsync git subversion mercurial
```
* Ensure bash ist default shell (Debian/Ubuntu standard is dash)
```
2016-08-18 14:45:58 +02:00
>git clone -b master https://github.com/DigitalDevices/octonet.git octonet
>git clone -b master https://github.com/DigitalDevices/dddvb.git dddvb
>cd octonet
>./mk.patch
```
If needed replace branch (master) and repository path with your own.
2015-09-06 15:06:15 +02:00
###Building
2016-08-18 14:45:58 +02:00
Complete build (needed once)
```
>./mk.all
```
Rebuild main firmware
```
>./mk
```
###Installing
* Create a subdirectory octonet on a local webserver, enable directory listing.
```
>./cp buildroot/output-octonet/images/octonet.* <your webserver root>/octonet
```
* Configure your OctopusNet(s) to use your webserver as update server:
2015-09-06 15:06:15 +02:00
```
2016-08-18 14:45:58 +02:00
http://<OctopusNet IP>/updateserver.html
2015-09-06 15:06:15 +02:00
```
2016-08-18 14:45:58 +02:00
Initiate update from the OctopusNet
Note: for security reasons only private ip addresses (10.0.0.0/8, 172.16.0.0/12, 192.168,0.0/16) are accepted