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