Using the guide found at http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap, I have a successfully working AP that is also connected to my home wifi, and passes thru internet -- I'm connected to the Pi right now, not my home wifi.
However, I can't utilize it's hostname to connect (ssh, nginx/web, etc), I must use the IP address.
I've tried restarting avahi daemon.
Pi has hostname
If I do
host altoid from my local (connected) machine, I get
Can I preserve this setup, and instead have it resolve to the IP I am using for ssh, etc?
EDIT: Adding file contents
127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 altoid
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo auto eth0 auto wlan0 auto uap0 iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface uap0 inet static address 192.168.50.1 netmask 255.255.255.0 network 192.168.50.0 broadcast 192.168.50.255 gateway 192.168.50.1
interface=lo,uap0 no-dhcp-interface=lo,wlan0 bind-interfaces server=188.8.131.52 domain-needed bogus-priv dhcp-range=192.168.50.50,192.168.50.150,12h
interface=uap0 ssid=Inconspicuous Rock hw_mode=g channel=11 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0