On 29/12/17 18:03, Sberla wrote:
> Hello! : a stupid question:
>
> I would like connect my RasPis in domestic lan, using only the
> "hostname" of RasPI, not his IP address (static).
>
> I have a desktop with an static IP and another with DHCP; on the first
> one, i must enter only the IP address (es. 192.168.0.151), on second i
> can connect also with hostname (es. pi151).
>
> How can i repair?
>
> Thanks in advance!
>
> Claudio.
You need sonme sort of name resolution. DNS or perhaps netbios. Put the
pi on a static IP address.
I do not know how you are resolving pi151 into an IP address.
The problem is there are more than one strategy you can use, and its
lttle to do with a raspberry pi and a whole lot about designing and
configuring a private IP network.
This isnt hard, but its not trivial for a beginner.
http://www.aboutdebian.com/network.htm
is not a bad place to start
--
"In our post-modern world, climate science is not powerful because it is
true: it is true because it is powerful."
Lucas Bergkamp
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|