how to get your raspberry pi to obtain automatic ip address code example
Example 1: find ip address rpi with nmap
nmap -sV -p 22 192.168.1.0/24
Example 2: raspberrypi.local
Run this
sudo apt-get install avahi-daemon
nmap -sV -p 22 192.168.1.0/24
Run this
sudo apt-get install avahi-daemon