Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268051

Re: a couple rpi problems

From Jeffrey Walton <noloader@gmail.com>
Newsgroups linux.debian.user
Subject Re: a couple rpi problems
Date 2024-03-05 05:30 +0100
Message-ID <IeuBb-evmb-1@gated-at.bofh.it> (permalink)
References <IeqnT-esEA-3@gated-at.bofh.it> <Ieqxz-esXd-3@gated-at.bofh.it> <IeqHf-et0e-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 4, 2024 at 11:07 PM ghe2001 <ghe2001@protonmail.com> wrote:
>
> On Monday, March 4th, 2024 at 5:01 PM, Greg Wooledge <greg@wooledge.org> wrote:
> [...]
> > So, "pi5" appears to be your hostname.
>
> Yup.
>
> > It can't resolve its own hostname. You're probably missing a line in
> > your /etc/hosts file.
>
> Oh!  It wants the IP!  You're right -- pi5 isn't in there.  Thanks.

Here's what one looks like for a host named 'raptor' after the Intel ISA:

$ cat /etc/hosts
# Loopback entries; do not change.
# For historical reasons, localhost precedes localhost.localdomain:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

# 127.0.1.1 is often used for the FQDN of the machine
127.0.1.1   raptor.home.arpa raptor

# The following lines are desirable for IPv6 capable hosts
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

a couple rpi problems ghe2001 <ghe2001@pm.me> - 2024-03-05 01:00 +0100
  Re: a couple rpi problems Greg Wooledge <greg@wooledge.org> - 2024-03-05 01:10 +0100
    Re: a couple rpi problems ghe2001 <ghe2001@protonmail.com> - 2024-03-05 01:20 +0100
      Re: a couple rpi problems Jeffrey Walton <noloader@gmail.com> - 2024-03-05 05:30 +0100
        Re: a couple rpi problems ghe2001 <ghe2001@protonmail.com> - 2024-03-05 05:50 +0100
  Re: a couple rpi problems Mike McClain <mike.junk.46@att.net> - 2024-03-05 20:40 +0100

csiph-web