- Debian or Ubuntu based distribution
- armhf or arm64 architecture (no x64 at the moment!)
- At least kernel 4.14 (Mainline is prefered)
- HM-MOD-RPI-PCB is supported only on Armbian and on supported hardware platforms
-
Create full backup of your SD card
-
Add the public key of the repository
wget -q -O - https://www.pivccu.de/piVCCU/public.key | sudo apt-key add -
-
Add the package repository
sudo bash -c 'echo "deb https://www.pivccu.de/piVCCU stable main" > /etc/apt/sources.list.d/pivccu.list' sudo apt update
Instead of
stable
you can also use thetesting
tree, but be aware testing sometimes means not that stable. -
Install the neccessary packages for building kernel modules
sudo apt install build-essential bison flex libssl-dev
-
Install the matching kernel headers, this highly depends on your distribution
-
Install the neccessary kernel modules
sudo apt install pivccu-modules-dkms
-
If you are using a HB-RF-ETH, install the neccessary support package
sudo apt install hb-rf-eth
-
Add network bridge (if you are using wifi please refer to the debian documentation how to configure the network and the bridge)
-
Verify, that eth0 is the name of your primary network interface:
sudo ip link show | cut -d' ' -f2 | cut -d: -f1 | grep -e '^e.*'
-
Update your config. (Replace eth0 if necessary)
sudo apt install bridge-utils sudo bash -c 'cat << EOT > /etc/network/interfaces source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual auto br0 iface br0 inet dhcp bridge_ports eth0 EOT'
-
You can use an static IP address, too. In that case use instead:
sudo apt install bridge-utils sudo bash -c 'cat << EOT > /etc/network/interfaces source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual auto br0 iface br0 inet static bridge_ports eth0 address <address> netmask <netmask> gateway <gateway> dns-nameservers <dns1> <dns2> EOT'
-
To use Wireless LAN, please take a look here
-
-
Reboot the system
sudo reboot
-
Install CCU container
sudo apt install pivccu3
-
Start using your new virtualized CCU, you can get the IP of the container using
sudo pivccu-info