On 11/30/23 08:11, Greg Wooledge wrote:
On 30/11/2023 17:15, gene heskett wrote:
I want to put it at 192.168.71.100/24. How do I do that in
/etc/dhcpcd.conf? This is already in /etc/hosts like this:

You're confusing the DHCP server and the DHCP client.

People have told you that you must either configure the static IP on
the host itself, *or* set up a DHCP server.

If you're going to set up a DHCP server, then after choosing a computer
to act as the server, and after installing the DHCP server package on
it, you would configure dhcpd.conf (in some directory) to define your
dynamic address pool, and any reserved addresses for specific hosts.

Note the file name: dhcpd.conf which is composed of these pieces:

   dhcpd      -- DHCP server daemon
   .conf      -- configuration file

In the text cited above, you referred to dhcpcd.conf which is completely
different file.  That one is for one of the several different DHCP *client*
packages.  In your case, it's for the "dhcpcd" package, which is not used
by default in Debian, but *is* used by default in some Debian derivatives.

   dhcpcd     -- DHCP client daemon (from the "dhcpcd" package)
   .conf      -- configuration file

Now, the real goal here is that you want to configure a static IP
address on this host.  If this were Debian, the answer would simply be
"edit /etc/network/interfaces, kill dhcpcd if it's running, ifdown eth0,
ifup eth0" (not necessarily in that order, and with various safeguards
in place).  However, you seem to be running a "twice derivative" OS of
some kind -- it's Armbian with some special Klipper management script
installed which takes over glob-knows-what.

It is armbian, klipper is just a program that runs on anything linux, maybe even winderz too but I wouldn't know, I don't allow winderz on the premises. I might use the hd for target practice.

The number of people who know how to configure networking on a
"Debian no wait it's Armbian no wait it's Klipper" host is probably quite
small, and I'm not one of them.  If you don't have instructions, then
you may need to find a community of fellow Klipper users and ask them.
Though I suspect the overwhelming majority of them use a DHCP server
instead of static addressing on the host, you may get lucky and find one
who does it your preferred way.

I found another place to put it, but haven't tried it yet. Busy with another project, making a solar power supply for a mailbox ygm alarm.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis

Reply via email to