1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00
octonet/README.md

69 lines
1.5 KiB
Markdown
Raw Normal View History

2015-09-06 15:06:15 +02:00
# OctopusNet
###Prepare for Building
On Debian/Ubuntu (as root or using sudo):
2015-09-06 15:06:15 +02:00
```
>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
2015-09-06 15:06:15 +02:00
>apt-get install rsync git subversion mercurial
```
* Ensure bash ist default shell (Debian/Ubuntu standard is dash):
```
>dpkg-reconfigure dash
```
and select no.
* Clone the octonet and ddvb repositories:
2015-09-06 15:06:15 +02:00
```
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.
```
2016-08-19 17:30:37 +02:00
>cp buildroot/output-octonet/images/octonet.* <your webserver root>/octonet
2016-08-18 14:45:58 +02:00
```
On some servers a .htaccess file with:
```
2016-08-19 11:04:54 +02:00
Options +Indexes
```
in the octonet directory might be necessary.
2016-08-18 14:45:58 +02:00
* 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
You can find details about the OctopusNet hardware, the flash memory map and the boot process
in dddvb/docs/octopusnet in the dddvb repo!