Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #263943 > unrolled thread
| Started by | gene heskett <gheskett@shentel.net> |
|---|---|
| First post | 2023-11-29 19:00 +0100 |
| Last post | 2023-11-29 22:20 +0100 |
| Articles | 20 on this page of 100 — 17 participants |
Back to article view | Back to linux.debian.user
time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-29 19:00 +0100
Re: time question, as in ntp? Dan Ritter <dsr@randomstring.org> - 2023-11-29 19:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-29 19:40 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-29 19:20 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-29 20:10 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-29 20:20 +0100
Re: time question, as in ntp? Jeffrey Walton <noloader@gmail.com> - 2023-11-30 01:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-29 22:00 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-30 00:00 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 01:40 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-30 11:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 11:50 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-11-30 03:50 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-30 11:50 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-11-29 19:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-29 20:00 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-29 20:30 +0100
Re: time question, as in ntp? "Andrew M.A. Cater" <amacater@einval.com> - 2023-11-29 21:00 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 01:10 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 01:00 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-11-30 02:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 03:00 +0100
Re: time question, as in ntp? Charles Curley <charlescurley@charlescurley.com> - 2023-11-30 03:50 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 05:20 +0100
Re: time question, as in ntp? Charles Curley <charlescurley@charlescurley.com> - 2023-11-30 05:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 10:20 +0100
Re: time question, as in ntp? Karen Lewellen <klewellen@shellworld.net> - 2023-11-30 05:50 +0100
Re: time question, as in ntp? Karen Lewellen <klewellen@shellworld.net> - 2023-11-30 05:50 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-30 11:50 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-11-30 11:50 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-11-30 03:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 05:10 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-11-30 06:00 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 10:20 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-30 13:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 11:20 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-11-30 13:40 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-30 14:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 20:00 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 19:50 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-01 03:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 04:30 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-01 05:10 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 11:10 +0100
Re: time question, as in ntp? Curt <curty@free.fr> - 2023-12-01 18:00 +0100
Re: time question, as in ntp? <tomas@tuxteam.de> - 2023-12-01 19:50 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-01 20:30 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-01 05:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 11:50 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-12-01 12:40 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-01 16:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 20:30 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-12-01 20:50 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 23:00 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-12-01 23:40 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-02 12:20 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-02 08:50 +0100
Re: time question, as in ntp? Andy Smith <andy@strugglers.net> - 2023-12-01 08:40 +0100
Re: time question, as in ntp? "Andrew M.A. Cater" <amacater@einval.com> - 2023-12-01 19:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 22:30 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-02 03:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-02 11:50 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-11-30 15:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-30 20:10 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-30 20:20 +0100
Re: time question, as in ntp? Charles Curley <charlescurley@charlescurley.com> - 2023-11-30 21:00 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-11-30 21:30 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 03:10 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-01 04:10 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 04:40 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-01 05:20 +0100
Re: time question, as in ntp? David Wright <deblis@lionunicorn.co.uk> - 2023-12-01 06:10 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-12-01 11:50 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 12:00 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-12-01 12:30 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-12-01 14:30 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-12-01 15:40 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 19:50 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 14:30 +0100
Re: time question, as in ntp? Dan Purgert <dan@djph.net> - 2023-12-01 14:50 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 19:50 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-12-01 04:20 +0100
Re: time question, as in ntp? Charles Curley <charlescurley@charlescurley.com> - 2023-11-30 15:20 +0100
Re: time question, as in ntp? Andy Smith <andy@strugglers.net> - 2023-11-30 17:20 +0100
Re: time question, as in ntp? Greg Wooledge <greg@wooledge.org> - 2023-11-30 19:10 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-01 02:40 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-01 17:30 +0100
Re: time question, as in ntp? Andy Smith <andy@strugglers.net> - 2023-12-01 21:50 +0100
Re: time question, as in ntp? Charles Curley <charlescurley@charlescurley.com> - 2023-12-02 00:10 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-02 17:40 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-04 04:10 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-04 05:40 +0100
Re: time question, as in ntp? Max Nikulin <manikulin@gmail.com> - 2023-12-04 11:10 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-12-04 10:50 +0100
Re: time question, as in ntp? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-04 15:40 +0100
Re: time question, as in ntp? <tomas@tuxteam.de> - 2023-12-04 15:40 +0100
Re: time question, as in ntp? John Hasler <john@sugarbit.com> - 2023-12-04 16:00 +0100
Re: time question, as in ntp? Tom Dial <tddial@comcast.net> - 2023-12-05 09:40 +0100
Re: time question, as in ntp? Lee <ler762@gmail.com> - 2023-11-29 20:20 +0100
Re: time question, as in ntp? gene heskett <gheskett@shentel.net> - 2023-11-29 22:20 +0100
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
| From | John Hasler <john@sugarbit.com> |
|---|---|
| Date | 2023-12-02 03:40 +0100 |
| Message-ID | <HGo5c-atu5-7@gated-at.bofh.it> |
| In reply to | #264067 |
Gene writes: > Like I said, boring. Not boring at all. I assume that you also have a desktop or laptop on that network? If I was running it I would *definitely* be using DHCP. -- John Hasler john@sugarbit.com Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-02 11:50 +0100 |
| Message-ID | <HGvJn-ay77-11@gated-at.bofh.it> |
| In reply to | #264067 |
On 12/1/23 16:22, gene heskett wrote: > On 12/1/23 13:27, Andrew M.A. Cater wrote: >> On Fri, Dec 01, 2023 at 07:30:35AM +0000, Andy Smith wrote: >>> Hello, >>> >>> On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote: >>> >> <snip> >> >> Gene, >> >> Please do us *all* a favour to try and help you. >> >> Write us out a list of all your machines - and if a printer has an >> embedded SBC, it's a machine in this context - and the OS and versions >> they are running. >> >> List the functions you want each to have. >> >> As others have noted, it's REALLY hard to work out what you're doing. >> >> If machines and printers expect DHCP, then you're going to have to >> amend files. Do back up the files you change. >>> 1. There is nothing in Debian that ever overwrites the >>> /etc/network/interfaces file. But you aren't running Debian on >>> this machine, so we are all having difficulty helping you. >>> Because this is DEBIAN-user. > > I'm well aware of that Andy, but TBH, this list may be the deepest pool > of knowledgeable people on the planet, most of my machines are running > debian. Those that are running buster have been stuck as the switch to > python 3 with bullseye broke linuxcnc. Thats now been fixed and has > been for a while but I've had my own projects that took priority. There > will not be any spinning rust here when I do update to bookworm or trixie. > >> As ever, our collective expertise here is primarily Debian - we have no >> clue what a derived distribution may or may not do. > > There is also an overtone of NIH here. These programs are tools and one > does his (or her) best thinking well outside the box at times. > >>> 2. All you've described is a line in a file which says, "Network is >>> managed by NetworkManager". There is NO indication WHICH piece of >>> software put that line there, it really could be anything. >>> Because you aren't running Debian. Since NetworkManager can be >>> set up to run arbitrary commands, it certainly COULD be YOUR >>> setup of NetworkManager. Or something else entirely different. >>> It's nothing in Debian, though. >>> >>>>> Then you are incompatible with software you are trying to run. Your >>>>> options: >>>>> - do not allow scripts coming with klipper or its installer to touch >>>>> network configuration > > They never have, they just use it. And I've used up my patience in > explaining that and being mostly ignored. > >>>>> - setup a DHCP server in your network and provide to 3d wizards >>>>> environment they expect. >>>>> >> >> "Su and say" is not great: running third party scripts on non-Debian >> systems >> and you get to keep both pieces unless you undersand what kiauh and >> Klipper >> are doing, be careful. >> >>>> Again, Max, its your way or the hiway. I'd be willing to guess that my >>>> network experience goes back at least a decade before your first >>>> class in cs >>>> 101. /etc/hosts files worked in 1990 then as now, we just have to >>>> get the >>>> dhcp crap out of the way. And you and your insistence on using dhcp >>>> which >>>> has never given me a stable address are definitely NOT helping. >>> >>> This like some sort of farce. >>> >>> You have an operating system hard-coded to use DHCP, but you won't >>> use DHCP, so it doesn't work. You can't work out how to make it not >>> want DHCP; you won't ask the people who made it how; instead you ask >>> us completely uninvolved folks how to do it. When we tell you to >>> configure it for static networking you say you can't because it >>> wants DHCP. When we say use DHCP then, you say, "oh I see it's your >>> way or the hiway, I'll have you know I was crafting IP packets from >>> raw bean sprouts before you kids ever drew breath!" >>> >>> So would I be correct in saying that you want US to work out how to >>> do this thing in software we don't use and that's off-topic here, >>> and that's the only answer you'll accept? >>> >>> Or have I misunderstood and there is some other direction you would >>> like to go with this? >>> >>> Thanks, >>> Andy >>> >> >> It does seem to be a problem on this list that we can't always get >> clear explanations of what has *actually* been done. >> >> Andy >>> > That list of machines is long Andy, and possibly boring. > > 1. The 2nd machine I converted, affectionately known as tlm.coyote.den, > ( The Little Monster ), a 7x12 lathe running buster with a real time > kernel and linuxcnc, all uptdate. uname -a= > Linux TLM 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2 > (2023-08-08) x86_64 GNU/Linux > Running on an off-lease Dell Optiplex computer. > > 2. A 4 axis mill sold by grizzly as the G0704 running on another > off-lease Dell, named go704, using an uptodate buster, uname -a= > Linux GO704 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2 > (2023-08-08) x86_64 GNU/Linux > also using linuxcnc. > > 3. Another 4 axis gantry style mill sold as the 6040, also running > buster with a rt kernel and linuxcnc on another off-lease Dell. uname -a= > Linux sixty40 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2 > (2023-08-08) x86_64 GNU/Linux > > 4. Another lathe, a bigger Sheldon from the mid WW-II time, running on a > raspberry pi 4b, bookworm, uname -a= > Linux rpi4.coyote.den 6.1.54-rt15 #1 SMP PREEMPT_RT Wed Sep 20 20:36:44 > AEST 2023 aarch64 GNU/Linux > and linuxcnc=LinuxCNC/AXIS version 2.10.0~pre0 > > All of the above linuxcnc versions are the current master from the > linuxcnc.org's buildbot, updated several times a week as I play the > canary in a coal mine part looking for showstopper bugs. #4 above was > the first on the planet to run linuxcnc on a pi. I did it just to see > if I could. The whole shebang w/o the lathe power, draws 20 watts > including the monitor, those Dell's are power pigs at 300 watts counting > the monitors. > > #5, and currently offline being rebuilt, is a 3d printer, a creality > Ender 5 Plus, already has a bananapi-m5 running an arm64 armbian jammy, > a BTT octopus controller. Stepper/servo's on x&y. is already running > the klipper suite of tools. > > #6, a tronxy-400 3d printer with similar state and configuration except > it a corexy design. > > #7, a two trees Sapphire 5, after the 3rd controller died, is slowly > being rebuilt with the same BTT card and klipper, and is a corexy design. > > #8 is this problem child, unknown controller, some sort of a rockchip > board running armbian 64 buster and klippers suite of tools. uname -a= > Linux mkspi 5.16.20-rockchip64 #trunk SMP PREEMPT Mon Jul 25 01:58:45 > UTC 2022 aarch64 GNU/Linux. A corexy design. > > There will probably be more of #8, its doing a great job. Faster by x4 > than any of the others did stock. If I don't miss roll call first. Still > have about 5 or 6 years left in the pacemakers battery. > > Like I said, boring. > > Take care and stay well Andy. > > Cheers, Gene Heskett. And I was sidetracked, and forgot this machine, a huge tower case with an asus Z370-A II mobo, 6 core low power i5, 32gigs of dram, and 6 or 7 TB of SSD storage. Running bookworm of course. My appologies. 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
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <john@sugarbit.com> |
|---|---|
| Date | 2023-11-30 15:20 +0100 |
| Message-ID | <HFQ3v-a1lN-1@gated-at.bofh.it> |
| In reply to | #263978 |
Gene writes: > I want to put it at 192.168.71.100/24. How do I do that in > /etc/dhcpcd.conf? You don't. That file tells the client how to get an ip (among other things) from the server. The default configuration should work. You assign static ips on the server when using dhcp. But why do you want to do that? -- John Hasler john@sugarbit.com Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-11-30 20:10 +0100 |
| Message-ID | <HFUA9-a6q7-9@gated-at.bofh.it> |
| In reply to | #263991 |
On 11/30/23 09:14, John Hasler wrote:
> Gene writes:
>> I want to put it at 192.168.71.100/24. How do I do that in
>> /etc/dhcpcd.conf?
>
> You don't. That file tells the client how to get an ip (among other
> things) from the server. The default configuration should work. You
> assign static ips on the server when using dhcp. But why do you want to
> do that?
>
>
I don't want or need a dhcp-server.
What I just found is /etc/dhcp/dhclient.conf, which if you read it,
contains some examples at the bottom of it, such as:
------------------
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
---------
which looks a lot like it should work if there's no typu's. But I won't
putz with it till the present job is done around 20:00 tonight.
Thanks John.
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
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2023-11-30 20:20 +0100 |
| Message-ID | <HFUJP-a6yy-17@gated-at.bofh.it> |
| In reply to | #263997 |
On Thu, Nov 30, 2023 at 02:06:16PM -0500, gene heskett wrote:
> What I just found is /etc/dhcp/dhclient.conf, which if you read it, contains
> some examples at the bottom of it, such as:
> ------------------
> #alias {
> # interface "eth0";
> # fixed-address 192.5.5.213;
> # option subnet-mask 255.255.255.255;
> #}
>
> #lease {
> # interface "eth0";
> # fixed-address 192.33.137.200;
> # medium "link0 link1";
> # option host-name "andare.swiftmedia.com";
> # option subnet-mask 255.255.255.0;
> # option broadcast-address 192.33.137.255;
> # option routers 192.33.137.250;
> # option domain-name-servers 127.0.0.1;
> # renew 2 2000/1/12 00:00:01;
> # rebind 2 2000/1/12 00:00:01;
> # expire 2 2000/1/12 00:00:01;
> #}
> ---------
I have no idea what would happen if you uncommented these things on a
system that uses dhclient. There's a "LEASE DECLARATIONS" section in
dhclient.conf(5) that appears to discuss it, but I've never used it, and
I don't want to make statements based on an extremely brief skim of
the first paragraph.
However, now I'm even more confused. I thought your system had dhcpcd
installed and running. Why would it *also* have a configuration file
for dhclient? These are two completely different DHCP client packages.
I can't imagine why dhcpcd would read this file at all.
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2023-11-30 21:00 +0100 |
| Message-ID | <HFVmy-a72U-1@gated-at.bofh.it> |
| In reply to | #263998 |
On Thu, 30 Nov 2023 14:13:22 -0500 Greg Wooledge <greg@wooledge.org> wrote: > I thought your system had dhcpcd > installed and running. Why would it *also* have a configuration file > for dhclient? These are two completely different DHCP client > packages. I can't imagine why dhcpcd would read this file at all. dhcp*d* is the ISC DHCP server, not a client. man 8 dhcpd -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <john@sugarbit.com> |
|---|---|
| Date | 2023-11-30 21:30 +0100 |
| Message-ID | <HFVPz-a7F3-5@gated-at.bofh.it> |
| In reply to | #263999 |
dhcpcd is a DHCP client with a remarkably poorly chosen name.
DHCPCD(8) System Manager’s Manual DHCPCD(8)
NAME
dhcpcd — a DHCP client
dhcpd is a DHCP server.
--
John Hasler
john@sugarbit.com
Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-01 03:10 +0100 |
| Message-ID | <HG18B-adGt-1@gated-at.bofh.it> |
| In reply to | #263998 |
On 11/30/23 14:14, Greg Wooledge wrote:
> On Thu, Nov 30, 2023 at 02:06:16PM -0500, gene heskett wrote:
>> What I just found is /etc/dhcp/dhclient.conf, which if you read it, contains
>> some examples at the bottom of it, such as:
>> ------------------
>> #alias {
>> # interface "eth0";
>> # fixed-address 192.5.5.213;
>> # option subnet-mask 255.255.255.255;
>> #}
>>
>> #lease {
>> # interface "eth0";
>> # fixed-address 192.33.137.200;
>> # medium "link0 link1";
>> # option host-name "andare.swiftmedia.com";
>> # option subnet-mask 255.255.255.0;
>> # option broadcast-address 192.33.137.255;
>> # option routers 192.33.137.250;
>> # option domain-name-servers 127.0.0.1;
>> # renew 2 2000/1/12 00:00:01;
>> # rebind 2 2000/1/12 00:00:01;
>> # expire 2 2000/1/12 00:00:01;
>> #}
>> ---------
>
> I have no idea what would happen if you uncommented these things on a
> system that uses dhclient. There's a "LEASE DECLARATIONS" section in
> dhclient.conf(5) that appears to discuss it, but I've never used it, and
> I don't want to make statements based on an extremely brief skim of
> the first paragraph.
>
> However, now I'm even more confused. I thought your system had dhcpcd
> installed and running. Why would it *also* have a configuration file
> for dhclient? These are two completely different DHCP client packages.
> I can't imagine why dhcpcd would read this file at all.
>
> .
let me clarify: This buster machine acting like a 3d printer does NOT
have dhcpcd installed. No trace of it in /etc Only dhcp. And apparently
does have networkmangler, so at present I have no way but sneakernet
with a usb key, to get updates of any kind to it, so until I do get it a
legit address I'm stuck using nano to edit what actually IS there. The
only screen is the printers lcd screen, probably run by KlipperScreen.
Its a rockchip board, so I expect if uncovered I'd find a couple open
usb ports to plug in a keyboard and mouse, and an hdmi socket to plug a
monitor into. If I brick the network, I'll probably have to do that.
But I'm a, out of table room, and b, would have to rig it for hoisting
to gt a bigger table under it. I have a worn out back and it weighs 80 lbs.
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
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <john@sugarbit.com> |
|---|---|
| Date | 2023-12-01 04:10 +0100 |
| Message-ID | <HG24F-aeG3-1@gated-at.bofh.it> |
| In reply to | #264011 |
Gene writes:
> let me clarify: This buster machine acting like a 3d printer does NOT
> have dhcpcd installed. No trace of it in /etc Only dhcp.
I'm sure it's running dhclient. do
ls /etc/dhcp
and
ps ax | grep dhc
You don't need to do anything on that machine. Just install a dhcp
server somewhere on your network (on the router is conventional) and it
will give that machine an ip number.
--
John Hasler
john@sugarbit.com
Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-01 04:40 +0100 |
| Message-ID | <HG2xH-af8U-3@gated-at.bofh.it> |
| In reply to | #264013 |
On 11/30/23 22:07, John Hasler wrote: > Gene writes: >> let me clarify: This buster machine acting like a 3d printer does NOT >> have dhcpcd installed. No trace of it in /etc Only dhcp. > > I'm sure it's running dhclient. do > > ls /etc/dhcp > > and > > ps ax | grep dhc > > You don't need to do anything on that machine. Just install a dhcp > server somewhere on your network (on the router is conventional) and it > will give that machine an ip number. At risk of repeating myself forever, I don't need an unstable address, I don't want whatever the heck is left in the pool. Hosts files do that, dhcp doesn't. It just hands out the next number in the pool. hosts files are static. A forveer lease. 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
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <john@sugarbit.com> |
|---|---|
| Date | 2023-12-01 05:20 +0100 |
| Message-ID | <HG3aq-afVB-11@gated-at.bofh.it> |
| In reply to | #264016 |
Gene writes: > At risk of repeating myself forever, I don't need an unstable address, > I don't want whatever the heck is left in the pool. Hosts files do > that, dhcp doesn't. It just hands out the next number in the pool. > hosts files are static. A forveer lease. You're doing things the hard way, but whatever. In any case that Klipper box is not running Debian: your are on the wrong forum. -- John Hasler john@sugarbit.com Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2023-12-01 06:10 +0100 |
| Message-ID | <HG3WN-agNd-1@gated-at.bofh.it> |
| In reply to | #264016 |
On Thu 30 Nov 2023 at 22:30:12 (-0500), gene heskett wrote: > On 11/30/23 22:07, John Hasler wrote: > > Gene writes: > > > let me clarify: This buster machine acting like a 3d printer does NOT > > > have dhcpcd installed. No trace of it in /etc Only dhcp. > > > > I'm sure it's running dhclient. do > > > > ls /etc/dhcp > > > > and > > > > ps ax | grep dhc > > > > You don't need to do anything on that machine. Just install a dhcp > > server somewhere on your network (on the router is conventional) and it > > will give that machine an ip number. > > At risk of repeating myself forever, I don't need an unstable address, > I don't want whatever the heck is left in the pool. Hosts files do > that, dhcp doesn't. It just hands out the next number in the pool. > hosts files are static. A forveer lease. What happened to your intentions in: https://lists.debian.org/debian-user/2023/11/msg01083.html It's long past 20:00. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2023-12-01 11:50 +0100 |
| Message-ID | <HG9fP-akII-9@gated-at.bofh.it> |
| In reply to | #264016 |
[Multipart message — attachments visible in raw view] — view raw
On Nov 30, 2023, gene heskett wrote:
> On 11/30/23 22:07, John Hasler wrote:
> > Gene writes:
> > > let me clarify: This buster machine acting like a 3d printer does NOT
> > > have dhcpcd installed. No trace of it in /etc Only dhcp.
> >
> > I'm sure it's running dhclient. do
> >
> > ls /etc/dhcp
> >
> > and
> >
> > ps ax | grep dhc
> >
> > You don't need to do anything on that machine. Just install a dhcp
> > server somewhere on your network (on the router is conventional) and it
> > will give that machine an ip number.
>
> At risk of repeating myself forever, I don't need an unstable address, I
> don't want whatever the heck is left in the pool. Hosts files do that, dhcp
> doesn't. It just hands out the next number in the pool. hosts files are
> static. A forveer lease.
DHCP will only hand out the "next" ('unstable') address to a host that
currently has no valid lease AND does not have a reservation set on the
DHCP server. Reservations are based on host MAC address.
Any host that has a valid lease will renew that lease indefinitely, at
lease half-life (and if the DHCP server happens to be missing at
half-life, retry at 7/8ths ).
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-01 12:00 +0100 |
| Message-ID | <HG9pv-akM9-3@gated-at.bofh.it> |
| In reply to | #264026 |
On 12/1/23 05:41, Dan Purgert wrote:
> On Nov 30, 2023, gene heskett wrote:
>> On 11/30/23 22:07, John Hasler wrote:
>>> Gene writes:
>>>> let me clarify: This buster machine acting like a 3d printer does NOT
>>>> have dhcpcd installed. No trace of it in /etc Only dhcp.
>>>
>>> I'm sure it's running dhclient. do
>>>
>>> ls /etc/dhcp
>>>
>>> and
>>>
>>> ps ax | grep dhc
>>>
>>> You don't need to do anything on that machine. Just install a dhcp
>>> server somewhere on your network (on the router is conventional) and it
>>> will give that machine an ip number.
>>
>> At risk of repeating myself forever, I don't need an unstable address, I
>> don't want whatever the heck is left in the pool. Hosts files do that, dhcp
>> doesn't. It just hands out the next number in the pool. hosts files are
>> static. A forveer lease.
>
> DHCP will only hand out the "next" ('unstable') address to a host that
> currently has no valid lease AND does not have a reservation set on the
> DHCP server. Reservations are based on host MAC address.
>
> Any host that has a valid lease will renew that lease indefinitely, at
> lease half-life (and if the DHCP server happens to be missing at
> half-life, retry at 7/8ths ).
Assuming I install a dhcp SERVER on this machine, how do I edit the
client.conf on that machine to query this one?, and how to I enable this
"reservation" on this SERVER so it hands out a stable address ONLY if
the reservation matches? Point me at the docs please and I'll go away.
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
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2023-12-01 12:30 +0100 |
| Message-ID | <HG9Sy-alb1-5@gated-at.bofh.it> |
| In reply to | #264027 |
[Multipart message — attachments visible in raw view] — view raw
On Dec 01, 2023, gene heskett wrote:
> On 12/1/23 05:41, Dan Purgert wrote:
> > On Nov 30, 2023, gene heskett wrote:
> > > On 11/30/23 22:07, John Hasler wrote:
> > > > Gene writes:
> > > > > let me clarify: This buster machine acting like a 3d printer does NOT
> > > > > have dhcpcd installed. No trace of it in /etc Only dhcp.
> > > >
> > > > I'm sure it's running dhclient. do
> > > >
> > > > ls /etc/dhcp
> > > >
> > > > and
> > > >
> > > > ps ax | grep dhc
> > > >
> > > > You don't need to do anything on that machine. Just install a dhcp
> > > > server somewhere on your network (on the router is conventional) and it
> > > > will give that machine an ip number.
> > >
> > > At risk of repeating myself forever, I don't need an unstable address, I
> > > don't want whatever the heck is left in the pool. Hosts files do that, dhcp
> > > doesn't. It just hands out the next number in the pool. hosts files are
> > > static. A forveer lease.
> >
> > DHCP will only hand out the "next" ('unstable') address to a host that
> > currently has no valid lease AND does not have a reservation set on the
> > DHCP server. Reservations are based on host MAC address.
> >
> > Any host that has a valid lease will renew that lease indefinitely, at
> > lease half-life (and if the DHCP server happens to be missing at
> > half-life, retry at 7/8ths ).
>
> Assuming I install a dhcp SERVER on this machine, how do I edit the
> client.conf on that machine to query this one?, and how to I enable this
> "reservation" on this SERVER so it hands out a stable address ONLY if the
> reservation matches? Point me at the docs please and I'll go away.
You don't tell the client anything. DHCP is initiated by a broadcast
from a client looking for an IP address.
Reservation syntax depends on which DHCP server you're using. If it's
isc-dhcp-server (predecessor to kea; though I've not yet migrated to
kea), then, in the 'subnet' directive, you add a "host" directive.
The isc-dhcp-server example config file (and html manual) cover the
syntax in greater detail, but here's a short example:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
[... DNS, default gateway, etc ...]
host thePrinter {
hardware ethernet 00:12:34:56:78:9A;
fixed-address 192.168.1.120;
}
}
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2023-12-01 14:30 +0100 |
| Message-ID | <HGbKF-amjo-3@gated-at.bofh.it> |
| In reply to | #264027 |
On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote: > You claim I don't have to do anything to that printer machine, so I > installed the ICC server here. I have done zip to the dhcpd.conf which looks > as it it is fully disabled. Assuming I want a pool of 16 addresses, say from > 192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in > dhcpd.conf? > > If I'm going to have to do this, I want it done the approved way. > > I want the server to only respond to the MAC address of that printer, no > response to any other MAC that might come calling. The pool is for "anyone who comes calling". Your reserved addresses should be outside the pool.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2023-12-01 15:40 +0100 |
| Message-ID | <HGcQq-amUr-5@gated-at.bofh.it> |
| In reply to | #264031 |
[Multipart message — attachments visible in raw view] — view raw
On Dec 01, 2023, Greg Wooledge wrote:
> On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote:
> > You claim I don't have to do anything to that printer machine, so I
> > installed the ICC server here. I have done zip to the dhcpd.conf which looks
> > as it it is fully disabled. Assuming I want a pool of 16 addresses, say from
> > 192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in
> > dhcpd.conf?
> >
> > If I'm going to have to do this, I want it done the approved way.
> >
> > I want the server to only respond to the MAC address of that printer, no
> > response to any other MAC that might come calling.
>
> The pool is for "anyone who comes calling".
>
> Your reserved addresses should be outside the pool.
At one time (or I'm just conflating isc-dhcp-server with some other
dhcp server option), it was required that a host's "fixed-address" was
within the defined range ("address pool"). Looking at a manpage dated
2021 (or well at least /usr/share/man/man8/dhcpd.8.gz is dated 2021), it
doesn't specify one way or the other.
It does, however, note that if you do set a host's fixed-address that
falls in the range, it just gets skipped when a client that doesn't
match the defined host-identifier (e.g. MAC Address) is requesting an
IP.
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-01 19:50 +0100 |
| Message-ID | <HGgKm-ap85-7@gated-at.bofh.it> |
| In reply to | #264031 |
On 12/1/23 08:25, Greg Wooledge wrote: > On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote: >> You claim I don't have to do anything to that printer machine, so I >> installed the ICC server here. I have done zip to the dhcpd.conf which looks >> as it it is fully disabled. Assuming I want a pool of 16 addresses, say from >> 192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in >> dhcpd.conf? >> >> If I'm going to have to do this, I want it done the approved way. >> >> I want the server to only respond to the MAC address of that printer, no >> response to any other MAC that might come calling. > > The pool is for "anyone who comes calling". > > Your reserved addresses should be outside the pool. Good to know, thanks Greg. > . 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
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-01 14:30 +0100 |
| Message-ID | <HGbKF-amjo-5@gated-at.bofh.it> |
| In reply to | #264027 |
On 12/1/23 05:59, gene heskett wrote:
> On 12/1/23 05:41, Dan Purgert wrote:
>> On Nov 30, 2023, gene heskett wrote:
>>> On 11/30/23 22:07, John Hasler wrote:
>>>> Gene writes:
>>>>> let me clarify: This buster machine acting like a 3d printer does NOT
>>>>> have dhcpcd installed. No trace of it in /etc Only dhcp.
>>>>
>>>> I'm sure it's running dhclient. do
>>>>
>>>> ls /etc/dhcp
>>>>
>>>> and
>>>>
>>>> ps ax | grep dhc
>>>>
>>>> You don't need to do anything on that machine. Just install a dhcp
>>>> server somewhere on your network (on the router is conventional) and it
>>>> will give that machine an ip number.
>>>
>>> At risk of repeating myself forever, I don't need an unstable address, I
>>> don't want whatever the heck is left in the pool. Hosts files do
>>> that, dhcp
>>> doesn't. It just hands out the next number in the pool. hosts files are
>>> static. A forveer lease.
>>
>> DHCP will only hand out the "next" ('unstable') address to a host that
>> currently has no valid lease AND does not have a reservation set on the
>> DHCP server. Reservations are based on host MAC address.
>>
>> Any host that has a valid lease will renew that lease indefinitely, at
>> lease half-life (and if the DHCP server happens to be missing at
>> half-life, retry at 7/8ths ).
>
> Assuming I install a dhcp SERVER on this machine, how do I edit the
> client.conf on that machine to query this one?, and how to I enable this
> "reservation" on this SERVER so it hands out a stable address ONLY if
> the reservation matches? Point me at the docs please and I'll go away.
You claim I don't have to do anything to that printer machine, so I
installed the ICC server here. I have done zip to the dhcpd.conf which
looks as it it is fully disabled. Assuming I want a pool of 16
addresses, say from 192.168.71.100 to 192.168.71.115, what do I
uncomment and fill in, in dhcpd.conf?
If I'm going to have to do this, I want it done the approved way.
I want the server to only respond to the MAC address of that printer, no
response to any other MAC that might come calling.
Thanks all.
>
> Cheers, Gene Heskett.
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
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2023-12-01 14:50 +0100 |
| Message-ID | <HGc41-ampr-3@gated-at.bofh.it> |
| In reply to | #264032 |
[Multipart message — attachments visible in raw view] — view raw
On Dec 01, 2023, gene heskett wrote: > [lotsa snipping ... ] > > You claim I don't have to do anything to that printer machine, so I > installed the ICC server here. I have done zip to the dhcpd.conf which > looks as it it is fully disabled. Assuming I want a pool of 16 > addresses, say from 192.168.71.100 to 192.168.71.115, what do I > uncomment and fill in, in dhcpd.conf? Sent you a mail off-list with greater detail (hopefully it'll get through). Simple approach --> look for the stanza beginning "subnet". It should already be uncommented (as I recall), and probably setup for the "pretty standard default RFC1919 range" of 192.168.1.0/24. -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
[toc] | [prev] | [next] | [standalone]
Page 4 of 5 — ← Prev page 1 2 3 [4] 5 Next page →
Back to top | Article view | linux.debian.user
csiph-web