Skip to content

Set up eCAL multicast

edwardstevenw edited this page Jul 28, 2023 · 6 revisions

A GUI guide is available on https://eclipse-ecal.github.io/ecal/getting_started/cloud.html#getting-started-cloud else CLI guide can follow the following

sudo apt install net-tools 

To enable ecal cloud:

For Windows is in C:\ProgramData\eCAL\ecal.ini
For Ubuntu: Sudo nano /etc/ecal/ecal.ini 
[network] 
	network_enabled           = true 
	multicast_ttl             = 2 

Edit the network which eCAL will use, can be a router or ethernet

nmcli device show 
sudo nmcli connection edit <GENERAL.CONNECTION> 

Inside nmcli:

print ipv4 
set ipv4.routes 239.0.0.0/24 0.0.0.0 ${A} 
save persistent 
quit

(A, is the metric, lower means higher priority)

Optional:

print connection 
set connection-autoconnect-priority ${B} 
set connection-autoconnect-retries ${C} 
save persistent 

(B is metric, higher means higher priority)

(C : 0 tries to reconnect all the time, -1 only tries 4 times before stop trying reconnecting)

reconnect the connection
or
sudo nmcli connection down <network_name> 
sudo nmcli connection up <network_name> 

route -n (make sure that the added route for ecal multicast is there, marked by highlighted) 

Screenshot from 2023-07-25 15-35-58(1)

Clone this wiki locally