RaspberryPi
ESF for RaspberryPi 2 and 3 is an evaluation-only version of ESF, not tailored for production.
Ethernet Configuration
The default configuration of the Ethernet interfaces for the RaspberryPi is the following:
Interface Name | Gateway Label | Status |
---|---|---|
eth0 | N/A | Enabled for WAN - DHCP Client |
Wireless Configuration
The wireless interface of the RaspberryPi is the wlan0.
By default, the interface is disabled.
Firewall Configuration
The default ESF firewall configuration for the the RaspberryPi is as follows:
Port | Protocol | Permitted Network | Permitted Interface Name |
---|---|---|---|
67 | udp | 0.0.0.0/0 | eth0 |
67 | udp | 0.0.0.0/0 | wlan0 |
53 | udp | 0.0.0.0/0 | eth0 |
53 | udp | 0.0.0.0/0 | wlan0 |
443 | tcp | 10.234.0.0/16 | tun0 |
443 | tcp | 0.0.0.0/0 | eth0 |
4443 | tcp | 10.234.0.0/16 | tun0 |
4443 | tcp | 0.0.0.0/0 | eth0 |
22 | tcp | 10.234.0.0/16 | tun0 |
22 | tcp | 0.0.0.0/0 | eth0 |
5353 | udp | 0.0.0.0/0 | eth0 |
Clock Service
NTS is supported via chrony-advance option only with chrony version greater then 4.x installed.
GPIO
The GPIO configuration provided by ESF is relative to Raspberry PI version 3 or more. If you have an older device use the below
jdk.dio.properties
file to update your configuration, then reboot ESF.
#
# Copyright (c) 2011, 2014 Eurotech and/or its affiliates
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Eurotech
#
5 = deviceType: gpio.GPIOPin, pinNumber:5, name:GPIO05
6 = deviceType: gpio.GPIOPin, pinNumber:6, name:GPIO06
12 = deviceType: gpio.GPIOPin, pinNumber:12, name:GPIO12
13 = deviceType: gpio.GPIOPin, pinNumber:13, name:GPIO13
16 = deviceType: gpio.GPIOPin, pinNumber:16, name:GPIO16
17 = deviceType: gpio.GPIOPin, pinNumber:17, name:GPIO_GEN0
18 = deviceType: gpio.GPIOPin, pinNumber:18, name:GPIO_GEN1
19 = deviceType: gpio.GPIOPin, pinNumber:19, name:GPIO19
20 = deviceType: gpio.GPIOPin, pinNumber:20, name:GPIO20
21 = deviceType: gpio.GPIOPin, pinNumber:21, name:GPIO21
22 = deviceType: gpio.GPIOPin, pinNumber:22, name:GPIO_GEN3
23 = deviceType: gpio.GPIOPin, pinNumber:23, name:GPIO_GEN4
24 = deviceType: gpio.GPIOPin, pinNumber:24, name:GPIO_GEN5
25 = deviceType: gpio.GPIOPin, pinNumber:25, name:GPIO_GEN6
26 = deviceType: gpio.GPIOPin, pinNumber:26, name:GPIO26
27 = deviceType: gpio.GPIOPin, pinNumber:27, name:GPIO_GEN2
gpio.GPIOPin = initValue:0, deviceNumber:0, direction:3, mode:-1, trigger:3
uart.UART = baudRate:19200, parity:0, dataBits:8, stopBits:1, flowControl:0
Updated over 2 years ago