make install work also for rpi boxes
- in addition to to_system, we have now to_<box> with every type of box - install is not needed to run under sudo anymore
This commit is contained in:
30
README.md
30
README.md
@ -1,13 +1,19 @@
|
||||
# Installation tools for APUs and Raspberry Pi boxes
|
||||
|
||||
The APU is a Linux box to be used as a control box at LIN sample environment
|
||||
Supports teh following boxes used at LIN sample environment:
|
||||
|
||||
- bare-apu: Linux box
|
||||
- controlbox: from FRM2
|
||||
- ionopimax: PLC from Sfera Labs with compute module 3
|
||||
- ionopi: PLC from Sfrea labs with Raspberry Pi 3
|
||||
- dual-eth-rpi: dual ethernet Raspberry Pi with compute module 4
|
||||
|
||||
`cfg/` contains the configuration files for all boxes
|
||||
|
||||
`to_system/` contains the files to be installed in the system
|
||||
|
||||
We have also the Raspberry based PLC Iono Pi Max
|
||||
and other Raspberry Pi based boxes.
|
||||
`to_<box>/` system files specific for a box (box names as in above list)
|
||||
|
||||
|
||||
## config files
|
||||
|
||||
@ -16,9 +22,12 @@ filename: cfg/(hostname)_(hexdigits).cfg
|
||||
* (hostname) the hostname to be given on startup
|
||||
* (hexdigits) the last six digits of the ethernet adress of the first interface on the APU (leftmost plug)
|
||||
|
||||
content of the config files:
|
||||
### example content of a config files for a control box:
|
||||
|
||||
```
|
||||
[BOX]
|
||||
type=controlbox
|
||||
|
||||
[NETWORK]
|
||||
eth0=192.168.127.254 # leftmost socket: connect here a moxa with factory settings
|
||||
eth1=192.168.2.2 # connected device will get this ip via DHCP
|
||||
@ -38,6 +47,19 @@ port=5000 # the port for the frappy server
|
||||
startup_text=startup...|HOST|ADDR # startup text, 3 lines separated with |
|
||||
```
|
||||
|
||||
the [BOX] section is optional for controlbox and bare-apu
|
||||
|
||||
|
||||
### example content of a config files for a control box:
|
||||
|
||||
```
|
||||
[BOX]
|
||||
type=ionopi
|
||||
|
||||
[NETWORK]
|
||||
eth0=wan
|
||||
```
|
||||
|
||||
## network configuration
|
||||
|
||||
The example above fits the most cases.
|
||||
|
Reference in New Issue
Block a user