<p dir="ltr">Also not important but consider start page on clients browser. Do something like redirect to default page on the server. Would be annoying if my browser opens my home page with error and then I have to type some long name on address bar.</p>
<div class="gmail_quote">On Feb 19, 2016 7:26 AM, "DJ-Pfulio" <<a href="mailto:DJPfulio@jdpfu.com">DJPfulio@jdpfu.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/19/16 06:10, Jim Lynch wrote:<br>
> For a special purpose I'm going to have a Netgear router not connected<br>
> to the internet for local communications using DHCP. I'll have a server<br>
> connected via Ethernet and clients using mostly WIFI. I've seen times<br>
> where in similar setups something assigns a host name to the server. In<br>
> those cases, I can connect to the server via a host name rather than an<br>
> IP address. I'd like to do that for this situation. I can't seem to<br>
> find the right words to get a search engine to tell me how. I'm not<br>
> running a DNS server.<br>
><br>
> I'm thinking the server might be advertising the name but I don't really<br>
> know how it all happens.<br>
><br>
<br>
There are 3 ways to handle this.<br>
<br>
* edit the /etc/hosts files on every system (ansible makes this trivial)<br>
<br>
* let the router handle DHCP reservations AND DNS -<br>
DD-WRT/Tomato/pfSense can all do this -<br>
<a href="http://blog.jdpfu.com/2011/07/18/use-your-router-to-centralize-your-network-device-management" rel="noreferrer" target="_blank">http://blog.jdpfu.com/2011/07/18/use-your-router-to-centralize-your-network-device-management</a><br>
<br>
* avahi ... all the systems advertise their hostname.local and you can<br>
access them using that name. hadar is one of my machines. If all of<br>
them run the avahi daemon, then hadar.local will work. avahi has/had<br>
issues for a long time and tended to use 150% of the CPU, so I always<br>
removed it, but if the systems are Ubuntu, I think it comes preinstalled<br>
and working these days.<br>
<a href="https://askubuntu.com/questions/2631/access-server-by-host-name" rel="noreferrer" target="_blank">https://askubuntu.com/questions/2631/access-server-by-host-name</a><br>
<br>
Choose your poison. I use the first 2.<br>
<br>
--<br>
Got Linux? Used on smartphones, tablets, desktop computers, media<br>
centers, and servers by kids, Moms, Dads, grandparents and IT<br>
professionals.<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>