Re: NTP fails to sync local clock

2024-09-27 Thread Steve Keller
Many thanks to Urs and George. > In Debian 12 the default /etc/ntpsec/ntp.conf file contains the lines > > # Comment this out if you have a refclock and want it to be able to > discipline > # the clock by itself (e.g. if the system is not connected to the network). > tos minclock 4 minsane

Re: NTP fails to sync local clock

2024-09-24 Thread gene heskett
On 9/24/24 07:07, Greg Wooledge wrote: hobbit:~$ man ntpd [...] -g, --panicgate Allow the first adjustment to be big. This option may appear an unlimited number of times. This isn't mentioned in my ntpsec docs. IMO it should be the default. Thank for the advisor

Re: NTP fails to sync local clock

2024-09-24 Thread Greg Wooledge
On Tue, Sep 24, 2024 at 01:27:14 -0400, gene heskett wrote: > I personally am running ntpsec here, making this box a level 2 src, and have > redirected most of my machines to it. Nut as a client, ntpsec fails as it > cannot slam the correct time at bootup, apparently only adjust drift. So > clients

Re: NTP fails to sync local clock

2024-09-23 Thread gene heskett
On 9/23/24 13:24, Steve Keller wrote: Dan Ritter writes: Does it work without the -6 option? No, the same problem. And ntpq shows that IPv6 is also used, when -6 isn't given. But, my NTP server is used by other hosts in the network and that works fine. Does it work if you bring bac

Re: NTP fails to sync local clock

2024-09-23 Thread Urs Thuermann
Steve Keller writes: > When I call ntpdate my-ntp.my-domain manually it steps the time as > expected. But then, ntpd doesn't sync the local clock to the NTP > server, although it seems to consider that server's clock stable: > > $ ntpq -p >remote

Re: NTP fails to sync local clock - tos minclock 4 minsane 1

2024-09-23 Thread George at Clug
Apologies to all, I previously replied to the wrong email. Steve, I was not even aware of the move from NTP to NTPsec. Thanks for posting. I should [fully] read the release notes. https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#changes-to-packages-that-set

Re: NTP fails to sync local clock

2024-09-23 Thread Dan Ritter
Steve Keller wrote: > Dan Ritter writes: > > > Does it work without the -6 option? > > No, the same problem. And ntpq shows that IPv6 is also used, when -6 > isn't given. But, my NTP server is used by other hosts in the network > and that works fine. > > &

Re: NTP fails to sync local clock

2024-09-23 Thread Steve Keller
Dan Ritter writes: > Does it work without the -6 option? No, the same problem. And ntpq shows that IPv6 is also used, when -6 isn't given. But, my NTP server is used by other hosts in the network and that works fine. > Does it work if you bring back the pool servers? Yes, it d

Re: NTP fails to sync local clock

2024-09-23 Thread Dan Ritter
Steve Keller wrote: > This is on a Raspberry Pi 3 with Raspberry Pi OS Bookworm 64 Bit, > ie. Debian 12. I have uninstalled systemd-timesyncd and installed > ntpsec, then have commented out the 4 NTP servers > {0,1,2,3}.debian.pool.ntp.org, and instead added my own server with >

NTP fails to sync local clock

2024-09-23 Thread Steve Keller
This is on a Raspberry Pi 3 with Raspberry Pi OS Bookworm 64 Bit, ie. Debian 12. I have uninstalled systemd-timesyncd and installed ntpsec, then have commented out the 4 NTP servers {0,1,2,3}.debian.pool.ntp.org, and instead added my own server with server -6 my-ntp.my-domain When I call

RE: time question, as in ntp?

2023-12-06 Thread Bonno Bloksma
Hi, >> $ cat /etc/network/interfaces [...] >> # The primary network interface >> allow-hotplug ens32 >> iface ens32 inet static > Depending on what services your computer runs, you may wish to change > "allow-hotplug ens32" to "auto ens32". Thanks that one got by me when I created a new server.

Re: time question, as in ntp?

2023-12-05 Thread Tom Dial
7;m pretty sure your NTP server will be dealing UTC time; mine, running on a GPS, does, and all the the machines on the net stay in lockstep to within a few dozen microseconds most of the time. I think you have to figure out how to tell your printer driver to set its timezone to Eastern; it'

Re: time question, as in ntp?

2023-12-04 Thread John Hasler
Gene writes: > I've also setup ntpsec as a server on this machine, and have the > printers chrony synching to this machine but the chrony on the printer > is stuck in PST, exactly 4 hours behind this machine regardless of the > setting in /etc/timezone. Chrony only does UTC. chronyc tracki

Re: time question, as in ntp?

2023-12-04 Thread tomas
On Mon, Dec 04, 2023 at 09:30:14AM -0500, Stefan Monnier wrote: [...] > It's serving *the* time :-) Well put :-) Cheers -- t signature.asc Description: PGP signature

Re: time question, as in ntp?

2023-12-04 Thread Stefan Monnier
> So I put the dhcpd-server on this machine and it worked exact as Dan said it > would. Then I enabled ntpsec to serve and thats working to the whole world. > But the chrony on the printer is stuck in the PST timezone, ignoring the > contents of /etc/timezone. In Unix/Linux/Posix, time is counted

Re: time question, as in ntp?

2023-12-04 Thread Max Nikulin
On 04/12/2023 11:38, John Hasler wrote: Max Nikulin wrote: From my point of view, it should be possible to put a file with mapping of mac addresses to desired IPs and names to his dd-wrt router. I expect that dnsmasq is running or can be installed there. Dnsmasq as a DHCP server on the router s

Re: time question, as in ntp?

2023-12-04 Thread gene heskett
-cable/ CNC machines don't need accurate time.  They need precise internal synchronization but that isn't related to the system clocks.  The default NTP configuration in most Linux distributions will take care of the system clocks if they have access to the Internet. I was kidding. Howev

Re: time question, as in ntp?

2023-12-03 Thread John Hasler
Max Nikulin wrote: > From my point of view, it should be possible to put a file with > mapping of mac addresses to desired IPs and names to his dd-wrt > router. I expect that dnsmasq is running or can be installed > there. Dnsmasq as a DHCP server on the router should be better than > maintaining h

Re: time question, as in ntp?

2023-12-03 Thread Max Nikulin
need accurate time. They need precise internal synchronization but that isn't related to the system clocks. The default NTP configuration in most Linux distributions will take care of the system clocks if they have access to the Internet. I was kidding. However "access to the Internet"

Re: time question, as in ntp?

2023-12-02 Thread John Hasler
ecise internal synchronization but that isn't related to the system clocks. The default NTP configuration in most Linux distributions will take care of the system clocks if they have access to the Internet. If not run an NTP server on one machine. -- John Hasler j...@sugarbit.com Elmwood, WI USA

Re: time question, as in ntp?

2023-12-02 Thread mick.crane
On 2023-11-30 19:06, gene heskett wrote: 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 sho

Re: time question, as in ntp?

2023-12-02 Thread Max Nikulin
*, and specifically, it should be able to contact an NTP server on your network to synchronize its system clock. My guest is that a 169.254.x.y address allows to connect from other hosts that belongs to the same network segment, but the router discards outgoing packets instead of applying

Re: time question, as in ntp?

2023-12-02 Thread gene heskett
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 +, Andy Smith wrote: Hello, On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote: Gene, Please do us *all* a favour to try and help you. Write us out a list of

Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin
On 02/12/2023 02:24, gene heskett wrote: On 12/1/23 10:27, Max Nikulin wrote: so I have to repeat it. You *do* *not* have NetworkManager installed hence it can not overwrite files. What particular *evidences* do you have that namely NetworkManager overwrites /etc/network/interfaces? I am no

Re: time question, as in ntp?

2023-12-01 Thread John Hasler
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 j...@sugarbit.com Elmwood, WI USA

Re: time question, as in ntp?

2023-12-01 Thread Charles Curley
On Fri, 1 Dec 2023 23:21:05 +0700 Max Nikulin wrote: > As to a GPS receiver, it should be doable and 169.254.x.y addresses > will not be an issue any more. Be careful with cables when connecting > it however: https://www.wired.com/2012/02/neutrinos-faulty-cable/ And there is plenty of expertise

Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
etc/network at boot time. Do not edit this file in /etc/network. If you need to modify it, edit it in instead, but you do so at your own risk.") That's another thing you could talk to the OS support people about, assuming my guesswork holds up. *** Now let's talk about

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 12/1/23 14:42, Greg Wooledge wrote: On Fri, Dec 01, 2023 at 02:24:20PM -0500, gene heskett wrote: root@mkspi:/etc# nmcli -bash: nmcli: command not found I do not know the mechanism by which my addition and deletions were done during boot, I had added the correct data to put eth0 at 192.168

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 12/1/23 13:27, Andrew M.A. Cater wrote: On Fri, Dec 01, 2023 at 07:30:35AM +, Andy Smith wrote: Hello, On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote: 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 ha

Re: time question, as in ntp?

2023-12-01 Thread Andy Smith
Hello, On Fri, Dec 01, 2023 at 11:21:05PM +0700, Max Nikulin wrote: > On 30/11/2023 23:12, Andy Smith wrote: > > Unless you have a dedicated time source (e.g. GPS receiver, atomic > > decay source, …) > > A nitpick. I am puzzled by the word "decay" in this context. Electron > transition between e

Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 02:24:20PM -0500, gene heskett wrote: > > > root@mkspi:/etc# nmcli > > > -bash: nmcli: command not found > I do not know the mechanism by which my addition and deletions were done > during boot, I had added the correct data to put eth0 at 192.168.71.100 in > /e/n/i, and had

Re: time question, as in ntp?

2023-12-01 Thread John Hasler
tomas writes: > Oh, oh... my first "Internet" (not in the sense of IP, obviously!) > connection was via UUCP. Likewise. -- John Hasler ihnp4!stolaf!bungia!foundln!john j...@sugarbit.com Elmwood, WI USA

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 12/1/23 10:27, Max Nikulin wrote: On 01/12/2023 17:42, gene heskett wrote: On 11/30/23 23:18, Max Nikulin wrote: On 01/12/2023 10:24, gene heskett wrote: Then, please, explain clearly what is "networkmangler", what is "/e/n/i", and what particular evidences you have that namely "networkma

Re: time question, as in ntp?

2023-12-01 Thread tomas
On Fri, Dec 01, 2023 at 04:55:01PM -, Curt wrote: > On 2023-12-01, John Hasler wrote: > > > > BTW my network experience goes back to bang paths. I'm currently using > > both hosts files and DHCP. > > In addition to legacy use, in 2021 new and innovative UUCP uses are > growing [...] Oh, o

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 12/1/23 08:42, Dan Purgert wrote: 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

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
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

Re: time question, as in ntp?

2023-12-01 Thread Andrew M.A. Cater
On Fri, Dec 01, 2023 at 07:30:35AM +, Andy Smith wrote: > Hello, > > On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote: > 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 thi

Re: time question, as in ntp?

2023-12-01 Thread Curt
On 2023-12-01, John Hasler wrote: > > BTW my network experience goes back to bang paths. I'm currently using > both hosts files and DHCP. In addition to legacy use, in 2021 new and innovative UUCP uses are growing, especially for telecommunications in the HF band, for example, for communities

Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin
On 30/11/2023 23:12, Andy Smith wrote: Unless you have a dedicated time source (e.g. GPS receiver, atomic decay source, …) A nitpick. I am puzzled by the word "decay" in this context. Electron transition between energy states in atomic clocks is not decay. Nuclear decay is hardly related to

Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin
On 01/12/2023 17:42, gene heskett wrote: On 11/30/23 23:18, Max Nikulin wrote: On 01/12/2023 10:24, gene heskett wrote: Then, please, explain clearly what is "networkmangler", what is "/e/n/i", and what particular evidences you have that namely "networkmangler" overwrites "/e/n/i". =Network

Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
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 w

Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
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.1

Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
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

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
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

Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Dec 01, 2023, gene heskett wrote: > On 11/30/23 23:18, Max Nikulin wrote: > > [...] > > What I see in your messages are false claims, e.g. that DHCP addresses > > are unstable. DHCP servers *may* be configured to assign fixed addresses > > to particular clients. > > > My ISP does that, so my ex

Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
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 t

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
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

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 11/30/23 23:18, Max Nikulin wrote: On 01/12/2023 10:24, gene heskett wrote: If you would bother to read what I posted, you would have seen that networkmangler claimed credit for that overwritten /e/n/i file. Then, please, explain clearly what is "networkmangler", what is "/e/n/i", and wha

Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
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

Re: time question, as in ntp?

2023-12-01 Thread gene heskett
On 11/30/23 23:04, John Hasler wrote: Klipper runs on OctoPi, a customized Linux distribution. As installed it is set up to use DHCP. You can either install a DHCP server on your network and it will just work, or you can figure out how to modify OctoPi to do things your way. You seem to be ban

Re: time question, as in ntp?

2023-11-30 Thread Andy Smith
Hello, On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote: > On 11/30/23 21:37, Max Nikulin wrote: > > So to install "klipper is just a program" you run some scripts that > > overwrite /etc/network/interfaces and you blame NetworkManager and some > > other stuff instead. > If you would b

Re: time question, as in ntp?

2023-11-30 Thread David Wright
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. d

Re: time question, as in ntp?

2023-11-30 Thread Max Nikulin
On 01/12/2023 10:24, gene heskett wrote: If you would bother to read what I posted, you would have seen that networkmangler claimed credit for that overwritten /e/n/i file. Then, please, explain clearly what is "networkmangler", what is "/e/n/i", and what particular evidences you have that nam

Re: time question, as in ntp?

2023-11-30 Thread John Hasler
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 wa

Re: time question, as in ntp?

2023-11-30 Thread John Hasler
Klipper runs on OctoPi, a customized Linux distribution. As installed it is set up to use DHCP. You can either install a DHCP server on your network and it will just work, or you can figure out how to modify OctoPi to do things your way. You seem to be banging your head against a wall trying to

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
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 anythin

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/30/23 21:37, Max Nikulin wrote: On 01/12/2023 01:44, gene heskett wrote: /e/n/i waa replaced, and nothing in an ip a or ip r was changed. [...] On 11/30/23 07:31, Max Nikulin wrote: May it be that klipper-related "optimizers" add some script? The classic NIH syndrome, advertized even

Re: time question, as in ntp?

2023-11-30 Thread Greg Wooledge
On Thu, Nov 30, 2023 at 08:33:47PM -0500, gene heskett wrote: > This machine has a working ntp On Thu, Nov 30, 2023 at 09:05:17PM -0500, gene heskett wrote: > let me clarify: This buster machine acting like a 3d printer does NOT have > dhcpcd installed. No trace of it in /etc Only

Re: time question, as in ntp?

2023-11-30 Thread John Hasler
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

Re: time question, as in ntp?

2023-11-30 Thread Max Nikulin
On 01/12/2023 01:44, gene heskett wrote: /e/n/i waa replaced, and nothing in an ip a or ip r was changed. [...] On 11/30/23 07:31, Max Nikulin wrote: May it be that klipper-related "optimizers" add some script? klipper runs fine on several other bananapi-m5 here, w/o any special treatment

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
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

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/30/23 13:06, Greg Wooledge wrote: On Thu, Nov 30, 2023 at 04:12:48PM +, Andy Smith wrote: Once you've got your networking sorted out and you are setting up an NTP server, your next issue will be that one NTP server isn't enough: https://www.ntp.org/ntpfaq/ntp-s-algo

Re: time question, as in ntp?

2023-11-30 Thread John Hasler
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 j...@sugarbit.com Elmwood, WI USA

Re: time question, as in ntp?

2023-11-30 Thread Charles Curley
On Thu, 30 Nov 2023 14:13:22 -0500 Greg Wooledge 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.

Re: time question, as in ntp?

2023-11-30 Thread Greg Wooledge
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 2

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
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 se

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
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 eithe

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/30/23 07:31, Max Nikulin wrote: On 30/11/2023 17:15, gene heskett wrote: On 11/29/23 23:52, Max Nikulin wrote: On 30/11/2023 11:07, gene heskett wrote: root@mkspi:/etc# nmcli -bash: nmcli: command not found --- However it did not work, and the file was

Re: time question, as in ntp?

2023-11-30 Thread Greg Wooledge
On Thu, Nov 30, 2023 at 04:12:48PM +, Andy Smith wrote: > Once you've got your networking sorted out and you are setting up an > NTP server, your next issue will be that one NTP server isn't > enough: > > > https://www.ntp.org/ntpfaq/ntp-s-algo-real/#532-why

Re: time question, as in ntp?

2023-11-30 Thread Andy Smith
k these questions on the support venues for whatever these things are, where you will get fewer answers that are specific to Debian. Once you've got your networking sorted out and you are setting up an NTP server, your next issue will be that one NTP server isn't enough: https://w

Re: time question, as in ntp?

2023-11-30 Thread Charles Curley
On Thu, 30 Nov 2023 11:52:04 +0700 Max Nikulin wrote: > Charles suggests to enable DHCP server on your router and I support > him. A nitpick, if I may. Apparently not all commercial routers support static addressing via DHCP. I was suggesting Gene use the ISC DHCP server, which does not have to

Re: time question, as in ntp?

2023-11-30 Thread John Hasler
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

Re: time question, as in ntp?

2023-11-30 Thread Greg Wooledge
> 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 h

Re: time question, as in ntp?

2023-11-30 Thread Max Nikulin
On 30/11/2023 17:15, gene heskett wrote: On 11/29/23 23:52, Max Nikulin wrote: On 30/11/2023 11:07, gene heskett wrote: root@mkspi:/etc# nmcli -bash: nmcli: command not found --- However it did not work, and the file was replaced by one containing only lo by

Re: time question, as in ntp?

2023-11-30 Thread Greg Wooledge
On Thu, Nov 30, 2023 at 09:39:04AM +, Bonno Bloksma wrote: > I never used the network manager as that is more work for me, I have no idea > how that works even. ;-) You and me both. > -=-=-=-=-=-=- > $ cat /etc/network/interfaces > # This file describes the network interfaces available on yo

RE: time question, as in ntp?

2023-11-30 Thread Bonno Bloksma
Hi, I am oldfashioned, I have been using Linux for over 20 years when we still had to compile our own kernels to support certain hardware. :-( I have always configured the network interface on my Linux machines via /etc/network/interfaces and not via DHCP. The reason for that is quite simple,

Re: time question, as in ntp?

2023-11-30 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote: > On 11/29/23 21:40, Charles Curley wrote: > > On Wed, 29 Nov 2023 20:53:19 -0500 > > gene heskett wrote: > > > > > > A changing network is exactly what dhcp is for. With it you will > > > > not need to do anything when you add a machine. > > > > > > Does it

Re: time question, as in ntp?

2023-11-30 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote: > On 11/29/23 20:20, John Hasler wrote: > > Gene writes: > > > I've been told that /etc/network/interfaces is not the "today way" to > > > do it. > > > > It works fine. > > > > > Then [dhcp is] something else I'll have to maintain as my network > > > grows, >

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/30/23 05:32, Dan Purgert wrote: On Nov 29, 2023, gene heskett wrote: On 11/29/23 17:52, Dan Purgert wrote: On Nov 29, 2023, gene heskett wrote: On 11/29/23 14:03, Greg Wooledge wrote: On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote: 'ntpd' I think (or is it systemd-timed or

Re: time question, as in ntp?

2023-11-30 Thread Dan Purgert
On Nov 30, 2023, Max Nikulin wrote: > On 30/11/2023 05:53, Dan Purgert wrote: > > Avahi BS? APIPA ("A"utomatic "P"rivate "IP" "A"ddressing) is not > > avahi/mDNS (aka Bonjour / Zeroconf). > > > > Your DHCP client giving you an APIPA address is indicative of broken > > DHCP, and the fix is either:

Re: time question, as in ntp?

2023-11-30 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote: > On 11/29/23 17:52, Dan Purgert wrote: > > On Nov 29, 2023, gene heskett wrote: > > > On 11/29/23 14:03, Greg Wooledge wrote: > > > > On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote: > > > > > 'ntpd' I think (or is it systemd-timed or something like

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/29/23 23:52, Max Nikulin wrote: On 30/11/2023 11:07, gene heskett wrote: root@mkspi:/etc# networkctl WARNING: systemd-networkd is not running, output will be incomplete. IDX LINK TYPE   OPERATIONAL SETUP    1 lo   loopback   n/a unmanage

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/29/23 23:52, Max Nikulin wrote: On 30/11/2023 11:07, gene heskett wrote: root@mkspi:/etc# networkctl WARNING: systemd-networkd is not running, output will be incomplete. IDX LINK TYPE   OPERATIONAL SETUP    1 lo   loopback   n/a unmanage

Re: time question, as in ntp?

2023-11-30 Thread gene heskett
On 11/29/23 23:34, Charles Curley wrote: On Wed, 29 Nov 2023 23:15:16 -0500 gene heskett wrote: In what file do I place similar info to this for eth0? That is part of the ISC DHCP server's configuration. /etc/dhcp/dhcpd.conf man dhcpd.conf I thought so but wanted a confirmation, thank you

Re: time question, as in ntp?

2023-11-29 Thread Max Nikulin
On 30/11/2023 11:07, gene heskett wrote: root@mkspi:/etc# networkctl WARNING: systemd-networkd is not running, output will be incomplete. IDX LINK TYPE   OPERATIONAL SETUP   1 lo   loopback   n/a unmanaged   2 eth0 ether  

Re: time question, as in ntp?

2023-11-29 Thread Karen Lewellen
Sorry! Wrong listcomes from reading at 300 plus words per minute. On Wed, 29 Nov 2023, Karen Lewellen wrote: Chime, in elinks do the following..there may be a faster way but it works. open the browser without providing a web location as in just type elinks Hit the escape key, bringing up

Re: time question, as in ntp?

2023-11-29 Thread Karen Lewellen
Chime, in elinks do the following..there may be a faster way but it works. open the browser without providing a web location as in just type elinks Hit the escape key, bringing up the menu bar. arrow right to view arrow down until you hear toggle link numbering Hit space more than likely? Was so

Re: time question, as in ntp?

2023-11-29 Thread Charles Curley
On Wed, 29 Nov 2023 23:15:16 -0500 gene heskett wrote: > In what file do I place similar info to this for eth0? That is part of the ISC DHCP server's configuration. /etc/dhcp/dhcpd.conf man dhcpd.conf -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.c

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
On 11/29/23 21:40, Charles Curley wrote: On Wed, 29 Nov 2023 20:53:19 -0500 gene heskett wrote: A changing network is exactly what dhcp is for. With it you will not need to do anything when you add a machine. Does it always lock the address to that MAC? ISTR a time long ago when it didn't.

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
On 11/29/23 21:31, Max Nikulin wrote: On 30/11/2023 06:51, gene heskett wrote: Which is what I want to do but I've been told that /etc/network/interfaces is not the "today way" to do it. What was the context when you have been told that? If you are using NetworkManager then just change conn

Re: time question, as in ntp?

2023-11-29 Thread Max Nikulin
On 30/11/2023 05:53, Dan Purgert wrote: Avahi BS? APIPA ("A"utomatic "P"rivate "IP" "A"ddressing) is not avahi/mDNS (aka Bonjour / Zeroconf). Your DHCP client giving you an APIPA address is indicative of broken DHCP, and the fix is either: avahi-daemon (multicast name resolution and service d

Re: time question, as in ntp?

2023-11-29 Thread Charles Curley
On Wed, 29 Nov 2023 20:53:19 -0500 gene heskett wrote: > > A changing network is exactly what dhcp is for. With it you will > > not need to do anything when you add a machine. > > Does it always lock the address to that MAC? ISTR a time long ago > when it didn't. Normally DHCP does not lock a

Re: time question, as in ntp?

2023-11-29 Thread Max Nikulin
On 30/11/2023 06:51, gene heskett wrote: Which is what I want to do but I've been told that /etc/network/interfaces is not the "today way" to do it. What was the context when you have been told that? If you are using NetworkManager then just change connection properties to "manual" in the I

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
On 11/29/23 20:20, John Hasler wrote: Gene writes: I've been told that /etc/network/interfaces is not the "today way" to do it. It works fine. Then [dhcp is] something else I'll have to maintain as my network grows, A changing network is exactly what dhcp is for. With it you will not need

Re: time question, as in ntp?

2023-11-29 Thread John Hasler
Gene writes: > I've been told that /etc/network/interfaces is not the "today way" to > do it. It works fine. > Then [dhcp is] something else I'll have to maintain as my network > grows, A changing network is exactly what dhcp is for. With it you will not need to do anything when you add a machi

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
On 11/29/23 17:52, Dan Purgert wrote: On Nov 29, 2023, gene heskett wrote: On 11/29/23 14:03, Greg Wooledge wrote: On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote: 'ntpd' I think (or is it systemd-timed or something like that nowadays?) Gene's system is running some derivative of

Re: time question, as in ntp?

2023-11-29 Thread Jeffrey Walton
27;s system is running some derivative of buster (Debian 10). > > If I remember correctly, buster did not enable systemd-timed by > > default. The "ntp" package should be available [...] > > Right, I recall it being ntp (vaguely, at least up through Debian9 / > Stretc

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
igure your armbian to expect a static address - oh, and try really hard *not* to use something as old as buster, maybe? There are reasons that Debian bothers to put out newer releases :) If you want it to be on an isolated network, then put it on an isolated network. If it needs an NTP server, m

Re: time question, as in ntp?

2023-11-29 Thread gene heskett
tain as my network grows, its far easier to edit a hosts file. I had set a 30 character passwd from a random generator based on the number of centuries it would take a hacker to get thru it. Nobody has, including me... If you want it to be on an isolated network, then put it on an isolated

Re: time question, as in ntp?

2023-11-29 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote: > On 11/29/23 14:03, Greg Wooledge wrote: > > On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote: > > > 'ntpd' I think (or is it systemd-timed or something like that nowadays?) > > > > Gene's system is running some derivative of buster (Debian 10). > N

  1   2   3   4   5   6   7   8   9   >