pi ip console code example Example 1: ping raspberry pi ping raspberrypi.local Example 2: raspberrypi.local Run this sudo apt-get install avahi-daemon