Connect your devices to a pi that has been configured like below.
Download raspbian etc, go through normal setup.
This will let you find your pi locally using it's name, e.g. ping davepi.local
sudo apt-get update
sudo apt-get install avahi-daemon