Hi,
I was trying to set up multi-machine ROS by ROS_HOSTNAME, but found that aero cannot resolve itself by intel-aero.local or the laptop by . My laptop was able to resolve aero by intel-aero.local fine. In other words:
[Before]
ping intel-aero.local => fails
ping .local => fails
ping 127.0.0.1 => works
ping => works
ping intel-aero.local => works
ping .local => works
After debugging, I found out that libnss-mdns is not installed (journactl -u avahi-daemon shows the warning), and /etc/nsswitch.conf does not include mdns. I compiled libnss-mdns from source here (https://github.com/lathiat/nss-mdns). There were few warnings but now everything works.
[After]
ping intel-aero.local => works
ping .local => works
ping 127.0.0.1 => works
ping => works
ping intel-aero.local => works
ping .local => works
So, I suggest you include libnss-mdns build in the repo or the next build.
Hi, I was trying to set up multi-machine ROS by ROS_HOSTNAME, but found that aero cannot resolve itself by intel-aero.local or the laptop by. My laptop was able to resolve aero by intel-aero.local fine. In other words:
[Before]