🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #458

Re: two questions about the install process?

#458
From: Greg Wooledge
Date: Tue, 10 Nov 2026 16:30
42 lines
4174 bytes
On Tue, Nov 10, 2026 at 15:59:04 -0000, CGS wrote:
> On 2026-11-10, John Hasler <john@sugarbit.com> wrote:
> > nwe writes:
> >> The downside with dhcp, is, the automatic ip address assigned can
> >> change from time to time, which would prevent you from connecting via
> >> ssh to the linux box. The fix for that is to set a static ip address
> >> on the debian linux box, that is compatible with your internal
> >> network.
> >
> > Or to give the linux box a name.
> 
> But a name is tied to an address, isn't it, in /etc/hosts?

Yes.

Here's what I would recommend for Karen:

1) She most likely has a router that hands out IP addresses by DHCP.
   Let that continue to do its job, for smart phones, etc.  Any device
   that needs a local IP address, and isn't the Debian or MS-DOS
   system, can continue using that DHCP service.

2) Find out whether the router can be configured to assign a consistent
   address to a given device.  If it can (and this is VERY likely), then:

   2a) Set up the Debian and MS-DOS systems to get their local IP addresses
       through DHCP, and once they have those addresses, tell the router
       to make those assignments permanent.

   2b) If the router cannot do this, then find out whether there is some
       part of the network address space that the DHCP server leaves
       untouched.  Either at the top or the bottom, there's usually some
       gap where the numbers are reserved for admin use, and won't be
       assigned to DHCP clients.  In this case, assign static IP addresses
       from this portion of the network address space to the Debian and
       MS-DOS systems.

3) On the Debian system, edit the /etc/hosts file to contain the name
   and the local IP address of the MS-DOS system, and any other systems
   that you want to talk to by name.

4) On the MS-DOS system, do the equivalent.
Technical Details
Message-ID: <NXWTn-b36s-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NXFzb-aTaR-1@gated-at.bofh.it> <NXG2d-aTve-7@gated-at.bofh.it> <NXKpb-aVX1-1@gated-at.bofh.it> <NXKIx-aWac-1@gated-at.bofh.it> <NXL1T-aWic-3@gated-at.bofh.it> <NXLOh-aWIp-5@gated-at.bofh.it> <NXLOh-aWIp-3@gated-at.bofh.it> <NXMhj-aX2v-5@gated-at.bofh.it> <NXWql-b2LZ-3@gated-at.bofh.it> <NXWql-b2LZ-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Greg Wooledge <greg@wooledge.org>
Newsgroups: linux.debian.user
Subject: Re: two questions about the install process?
Date: Tue, 10 Nov 2026 17:30:01 +0100
Message-ID: <NXWTn-b36s-7@gated-at.bofh.it>
References: <NXFzb-aTaR-1@gated-at.bofh.it> <NXG2d-aTve-7@gated-at.bofh.it> <NXKpb-aVX1-1@gated-at.bofh.it> <NXKIx-aWac-1@gated-at.bofh.it> <NXL1T-aWic-3@gated-at.bofh.it> <NXLOh-aWIp-5@gated-at.bofh.it> <NXLOh-aWIp-3@gated-at.bofh.it> <NXMhj-aX2v-5@gated-at.bofh.it> <NXWql-b2LZ-3@gated-at.bofh.it> <NXWql-b2LZ-1@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Tue Nov 10 16:22:18 2026
Old-Return-Path: <greg@wooledge.org>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832822
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/avNErGmrxfxVIiEG@wooledge.org
Approved: robomod@news.nic.it
Lines: 42
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 10 Nov 2026 11:22:04 -0500
X-Original-Message-ID: <avNErGmrxfxVIiEG@wooledge.org>
X-Original-References: <f2fb1b94-27b8-4609-be29-d2d0420f110c@gitcoding.net>
 <Pine.LNX.4.64.2611091721350.471621@users.shellworld.net>
 <a50f4bba-22d0-4350-9262-947a5722db6b@gitcoding.net>
 <cfb1ead2-1af0-4748-9b15-f5e0da3a2a70@gitcoding.net>
 <Pine.LNX.4.64.2611092234050.473945@users.shellworld.net>
 <87cxsdba24.fsf@sugarbit.com>
 <Pine.LNX.4.64.2611092330120.473945@users.shellworld.net>
 <752893ec-6b2d-4a08-b61f-018b7332dd22@gitcoding.net>
 <878q30bv0o.fsf@sugarbit.com>
 <slrn11f6fq8.1jk.etphonehomefrance@einstein.home.arpa>