The Raspberry Pi OS is the Raspberry Pi Foundation's officially supported operating system for Raspberry Pi hardware. Raspberry Pi OS is based on Debian Linux and is optimized for the Raspberry Pi hardware.
Note: Raspberry PI OS was previously called Raspbian.
These instructions show you how to:
On a clean installation of Raspberry Pi OS, the root account is disabled. Users administer Raspberry Pi OS using the sudo command, which grants temporary privileged access.
These instructions use to sudo command to perform root administration tasks. If you have enabled the root account, you can avoid using sudo by following Setup Fernhill SCADA for Debian Linux.
To Install Fernhill SCADA on the 32-bit version of Raspberry Pi OS:
Do one of the following:
wget https://www.fernhillsoftware.com/Download/fernhill-scada_3.99_armhf.deb
Use the following Advanced Package Tool command to install Fernhill SCADA:
sudo apt install ./fernhill-scada_3.99_armhf.deb
To Install Fernhill SCADA on the 64-bit version of Raspberry Pi OS:
Do one of the following:
wget https://www.fernhillsoftware.com/Download/fernhill-scada_3.99_arm64.deb
Use the following Advanced Package Tool command to install Fernhill SCADA:
sudo apt install ./fernhill-scada_3.99_arm64.deb
If you want to run the Fernhill SCADA Server on the Raspberry Pi device, follow these steps:
Use this systemd system and service manager command to start the Fernhill SCADA service:
sudo systemctl start fernhill-scada
Use this systemd system and service manager command to show the status of the Fernhill SCADA service:
systemctl status fernhill-scada
The output of the above command should look similar to:
โ fernhill-scada.service - Fernhill SCADA Server for Unix Loaded: loaded (/lib/systemd/system/fernhill-scada.service; enabled; vendor preset: ... Active: active (running) since Tue 2018-08-28 14:48:15 BST; 2min 43s ago Process: 363 ExecStart=/usr/bin/fernhill-scada --pidfile /var/run/fernhill-scada.pid ... Main PID: 404 (fernhill-scada) Tasks: 10 (limit: 4915) CGroup: /system.slice/fernhill-scada.service โโ404 /usr/bin/fernhill-scada --pidfile /var/run/fernhill-scada.pid --daemon
Use this systemd system and service manager command to enable the Fernhill SCADA service to start on system start:
sudo systemctl enable fernhill-scada
This is an optional step to register the ODBC Driver with UnixODBC. If you do not plan to use ODBC, you can skip this section.
If you want to access Fernhill SCADA data from a Linux computer using the UnixODBC Driver Manager follow these steps:
Use this Package Manager command to check if UnixODBC and odbcinst are installed:
dpkg -s unixodbc odbcinst
If both are installed, go to step 3. If either are missing, continue with step 2.
Use this Advanced Package Tool command to install UnixODBC:
sudo apt install unixodbc odbcinst
Use this command to register the Fernhill SCADA ODBC driver with UnixODBC:
sudo odbcinst -i -d -f /usr/share/fernhill-scada/unixodbc-fhscada
Use this command to view the contents of /etc/odbcinst.ini:
cat /etc/odbcinst.ini
After successful registration you should see an entry in the file similar to the following
[Fernhill SCADA] Description=Fernhill SCADA ODBC Driver Driver=/usr/lib/fernhill-scada/libFHOdbc.so Setup=/usr/lib/fernhill-scada/libFHOdbc.so ...
See Setting up an ODBC User DSN for UnixODBC on Linux for help on setting up a DSN.
The Configuration Tool provides a suite of tools to configure Fernhill SCADA. To connect the configuration tool to Fernhill SCADA running on a Raspberry Pi:
Note: The Configuration Tool is currently only supported on Windows.
For information on how to assign Fernhill SCADA User Rights to Raspberry Pi users see Fernhill SCADA User Rights on Linux.
Use the GPIO Driver to configure Fernhill SCADA to work with the GPIO on the Raspberry PI board.
To learn about the tool to configure Fernhill SCADA.
To learn how to configure Fernhill SCADA to work with GPIO.
Setting up an ODBC User DSN for UnixODBC on Linux
To learn about setting up an ODBC Data Source Name (DSN) for UnixODBC on Linux.
To learn how to assign users rights for Fernhill SCADA running on Linux.
To learn about the different setup packages.
For the meaning of terms used in Fernhill SCADA.