TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: ANDREAS NEUMANN
date: 2018-05-05 20:32:00
subject: Re: Wrong IP address on P

Martin Gregorie wrote:

> 1)Add a line something like:
>
> 192.168.0.n pi0name pi0name.localdomain
>
>   to /etc/hosts on the Pi zero - where 'n' is an unused IP in the
>   168.192.0 subnet and 'pi0name' is whatever unused host name
>   you want to give it.
>
> 2)Now make sure that /etc/hosts contains a single line containing the
>   host name you've given

The hosts file has nothing to do with setting up networking.

It only matches host names to IP adresses in a static environment.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.