...
bash:
export ROS_LOCALHOST_ONLY=0
export ROS_DOMAIN_ID=42
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
sudo systemctl restart network-manager
sudo pppd call ros2
ROS_IP=10.0.0.2 1 ros2 topic echo /talker
Using rmw_fastrtps_cpp
...
...
bash:
export ROS_LOCALHOST_ONLY=0
export ROS_DOMAIN_ID=42
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
sudo systemctl restart network-manager
sudo pppd call ros2
ROS_IP=10.0.0.2 1 ros2 topic echo /talker
...